feat: add first working revshell

This commit is contained in:
2026-06-25 17:24:05 +01:00
parent def7c788f4
commit 0a9a2e6a35
2 changed files with 118 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
cmake_minimum_required(VERSION 3.15)
project(wh0revshell CXX)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
add_executable(wh0revshell "src/wh0revshell.cpp")
# Explicitly link Windows socket library
target_link_libraries(wh0revshell PRIVATE ws2_32)
# Force Static Linking
if(MSVC)
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
endif()