gnebbia / shellcoder

Create shellcode from executable or assembly code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

shellcoder

shellcoder is a perl application which creates c source shellcodes starting from assembly sources or executables, it can create both windows and gnu/linux shellcodes and is compatible with both 32 and 64 bit.

Installation of shellcoder

In order to install shellcoder, few dependencies are required, once we have access to a cpan (or cpanm) we do:

$> cd path/to/shellcoder

Now we first install cpanminus, I report the command to do it on Debian based GNU/Linux distros:

$> sudo apt install cpanminus

$> cpanm --installdeps .

Usage Examples

Let's see some usage examples:

Extracting Shellcode from Linux 64 bit Assembly

$> perl shellcoder.pl --os linux-64 --asm-source example.asm

This will generate a C source file containing the assembly file relative shellcode.

Show Help

$> perl shellcoder.pl --help

This will show a help message, where possible options are shown.

About

Create shellcode from executable or assembly code

License:GNU General Public License v3.0


Languages

Language:Perl 96.0%Language:Makefile 4.0%