shellex: C-shellcode to hex converter
shellex
C-shellcode to hex converter.
A handy tool for paste & execute shellcodes in gdb, windbg, radare2, ollydbg, x64dbg, immunity debugger & 010 editors.
Are you having problems converting C-shellcodes to HEX (maybe c-comments+ASCII mixed?)
Here is shellex. If the shellcode can be compiled in a C compiler shellex can convert it.
Just execute shellex, paste the shellcode c-string, and press ENTER.
To end use Control+Z(Windows)/Control+D(Linux)
Converting c-shellcode-multi-line-hex+mixed_ascii (pay attention in the mixed part \x68//sh\x68/bin\x89):
shellex output:
Converting c-shellcode-multi-line-with-comments:
shellex output:
Do you need the shellex output as a new c-shellcode-string? just use -h parameter, for example converting the shellex output:
Download
git clone https://github.com/David-Reguera-Garcia-Dreg/shellex.git
Use
Copyright (c) 2020 David Reguera Garcia aka Dreg