merrychap / shellen

:cherry_blossom: Interactive shellcoding environment to easily craft shellcodes
MIT License
888 stars 97 forks source link

Feature: Support for various disassembly encoding #4

Closed dobin closed 6 years ago

dobin commented 6 years ago

Trying to decode what i have encoded fails:

L:dsm:x86_32 > asm

[+] Changed to asm (assembly) mode

Lmov edx, eax; xor eax, eax;
   [+] Bytes count: 4
       Raw bytes:  "\x89\xc2\x31\xc0"
       Hex string: "89c231c0"

L:asm:x86_32 > dsm

[+] Changed to dsm (disassembly) mode

L:dsm:x86_32 > "\x89\xc2\x31\xc0"

[-] Invalid command.

L:dsm:x86_32 > \x89\xc2\x31\xc0

[-] Invalid command.

L:dsm:x86_32 > "89c231c0"

[-] Invalid command.

Edit: Just to make sure, i'm aware that 89c231c0 is the "correct" input.

merrychap commented 6 years ago

Yeah, I will definitely add that feature :) Thanks for your note!

merrychap commented 6 years ago

Added c: