Update ragg2.md

This commit is contained in:
filinpavel 2014-10-15 22:54:30 -04:00
parent f5a65a3173
commit 3f7258a496

View File

@ -9,6 +9,33 @@ It is used to creates tiny binaries (1KB) or shellcodes in binary or hexpairs fr
Help Text
-------
```
ragg2 [options] [file|-]
-a [x86|arm] select architecture
-b [32|64] register size
-k [os] operating system's kernel (linux,bsd,osx,w32)
-f [format] output format (raw, pe, elf, mach0)
-F output native format (osx=mach0, linux=elf, ..)
-o [file] output file
-O use default output file (filename without extension or a.out)
-I [path] add include path
-L list all plugins (shellcodes and encoders)
-i [shellcode] include shellcode plugin, uses options. see -L
-e [encoder] use specific encoder. see -L
-B [hexpairs] append some hexpair bytes
-c [k=v] set configuration options
-C [file] append contents of file
-d [off:dword] patch dword (4 bytes) at given offset
-D [off:qword] patch qword (8 bytes) at given offset
-w [off:hex] patch hexpairs at given offset
-p [padding] add padding after compilation (padding=n10s32)
ntas : begin nop, trap, 'a', sequence
NTAS : same as above, but at beginning
-s show assembler
-r show raw bytes instead of hexpairs
-x execute
-v show version
-h show this help
```