A training course for BambooFox
Assembly C Makefile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
0_execve_binsh modify 0_execve_binsh Jul 19, 2015
1_execve_binsh_nullfree
2_open_read_write
3_open_read_write_position_independent
4_alphanumeric_shellcode
5_call_pop_trick
.gitignore
README.md

README.md

x86_shellcode_tutorial

A training course for BambooFox
Here is the slide & the record of the course ( both in Chinese )

Building

0_execve_binsh ~ 3_open_read_write_position_independent

All the building process can be classify as the following commands:

Assemble the .s file into the .bin file (executable)

make bin

View the machine code (shellcode)

make shellcode

Compile the .c file and test the machine code ( shellcode )

make cbin && ./[filename].out

4_alphanumeric_shellcode

There's no bin target in the 4_alphanumeric_shellcode's makefile
it can only view shellcode or compile the .c file and test the shellcode

5_call_pop_trick

Assemble orw.s into orw.bin

make orw

Assemble shell.s into shell.bin

make shell

View orw.s's machine code ( shellcode )

make orw_shellcode

View shell.s's machine code ( shellcode )

make shell_shellcode

Compile orw.c and test the machine code ( shellcode )

make corw && ./orw.out

Compile shell.c and test the machine code ( shellcode )

make cshell && ./shell.out

You can clean the *.bin, *.o, *.out... by using make clean