-
Notifications
You must be signed in to change notification settings - Fork 178
/
clang-query-macos_meterpreter.sh
22 lines (20 loc) · 1.4 KB
/
clang-query-macos_meterpreter.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
WIN_INCLUDE="/Users/vladimir/dev/anti-av/hkclnr/avcleaner"
CLANG_PATH="/usr/local/Cellar/llvm/9.0.1"#"/usr/lib/clang/8.0.1/"
clang-query "$1" -- -D "_WIN64" -D "_UNICODE" -D "UNICODE" -D "_WINSOCK_DEPRECATED_NO_WARNINGS"\
"-I" "$CLANG_PATH/include" \
"-I" "$CLANG_PATH" \
"-I" "$WIN_INCLUDE/Include/msvc-14.15.26726-include"\
"-I" "$WIN_INCLUDE/Include/10.0.17134.0/ucrt" \
"-I" "$WIN_INCLUDE/Include/10.0.17134.0/shared" \
"-I" "$WIN_INCLUDE/Include/10.0.17134.0/um" \
"-I" "$WIN_INCLUDE/Include/10.0.17134.0/winrt" \
"-I" "/Users/vladimir/vmshare-work/tmp/metasploit-payloads/c/meterpreter/source/metsrv" \
"-I" "/Users/vladimir/vmshare-work/tmp/metasploit-payloads/c/meterpreter/source/common" \
"-I" "/Users/vladimir/vmshare-work/tmp/metasploit-payloads/c/meterpreter/source/extensions/kiwi/mimikatz/mimikatz/modules/" \
"-I" "/Users/vladimir/vmshare-work/tmp/metasploit-payloads/c/meterpreter/source/extensions/kiwi/mimikatz/mimikatz/" \
"-I" "/Users/vladimir/vmshare-work/tmp/metasploit-payloads/c/meterpreter/source/extensions/kiwi/mimikatz/inc" \
"-fdeprecated-macro" \
"-w" \
"-fdebug-compilation-dir"\
"-fno-use-cxa-atexit" "-fms-extensions" "-fms-compatibility" \
"-fms-compatibility-version=19.15.26726" "-std=c++14" "-fdelayed-template-parsing" "-fobjc-runtime=gcc" "-fcxx-exceptions" "-fexceptions" "-fseh-exceptions" "-fdiagnostics-show-option" "-fcolor-diagnostics" "-x" "c++"