Skip to content

Commit 6ad30d2

Browse files
committed
improved documentation
1 parent 2a1d70b commit 6ad30d2

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ To easy extracting shellcodes use shellcode.sh script contained in root project
5353

5454
> bash shellcode.sh [<options>] [<asm_filename>]
5555

56-
-e, --extract Extract shellcode from binary and print
57-
-s, --save Save shellcode into a .txt file
58-
-t, --test Inject shellcode into shellcode.c source code, ready to compile
59-
-tb, --testbuild Inject shellcode and build C program
60-
-tbr, --testbuildrun Inject shellcode, build and run C program
56+
-e, --extract Extract shellcode from binary file and print in console
57+
-s, --save Save shellcode string into a .txt file
58+
-t, --test Inject shellcode string into shellcode.c source code, ready to compile
59+
-tb, --testbuild Inject shellcode string and build shellcode.c
60+
-tbr, --testbuildrun Inject shellcode string, build shellcode.c and run program
6161

6262
Example:
6363
> bash shellcode.sh -tbr ~/ASM/HelloWorld/Helloworld.asm

shellcode.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ function printHelp {
5151
echo
5252
echo 'Usage: bash shellcode.sh [<options>] [<filename>]'
5353
echo
54-
echo ' -e, --extract Extract shellcode from binary and print'
55-
echo ' -s, --save Save shellcode into a .txt file'
56-
echo ' -t, --test Inject shellcode into shellcode.c source code, ready to compile'
57-
echo ' -tb, --testbuild Inject shellcode and build C program'
58-
echo ' -tbr, --testbuildrun Inject shellcode, build and run C program'
54+
echo ' -e, --extract Extract shellcode from binary file and print in console'
55+
echo ' -s, --save Save shellcode string into a .txt file'
56+
echo ' -t, --test Inject shellcode string into shellcode.c source code, ready to compile'
57+
echo ' -tb, --testbuild Inject shellcode string and build shellcode.c'
58+
echo ' -tbr, --testbuildrun Inject shellcode string, build shellcode.c and run program'
5959
echo
6060
echo 'Example:'
6161
echo ' > bash shellcode.sh -tbr ~/ASM/HelloWorld/Helloworld.asm'

0 commit comments

Comments
 (0)