Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gnebbia/shellcoder

Create shellcode from executable or assembly code
https://github.com/gnebbia/shellcoder

exploit exploitation perl shellcode

Last synced: about 1 month ago
JSON representation

Create shellcode from executable or assembly code

Awesome Lists containing this project

README

        

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.