From 3f7258a49611765ff41638dc14ecd1ee391e01e1 Mon Sep 17 00:00:00 2001 From: filinpavel Date: Wed, 15 Oct 2014 22:54:30 -0400 Subject: [PATCH] Update ragg2.md --- tools/ragg2.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/tools/ragg2.md b/tools/ragg2.md index d73513e..93dc965 100644 --- a/tools/ragg2.md +++ b/tools/ragg2.md @@ -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 + ```