Question
kenankenan3 opened this issue · 1 comments
kenankenan3 commented
Can we only use payloads created with metasploit?
Would it be a problem if we use another payload developed in C ++?
Thund3rPat commented
Hi kenan3507,
sorry for the really late answer. You can of course use payloads developed in C++.
Compile it to an executable and use pe_to_shellcode to convert it to shellcode format.
You can take a look at this section to get an idea.
Here we convert mimikatz.exe to shellcode:
avet/build/build_rc4enc_mimikatz_win64.sh
Lines 38 to 40 in 9dd9433