diff --git a/Gemfile.lock b/Gemfile.lock index 47a368f9..149e30fd 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - one_gadget (1.3.6) + one_gadget (1.3.7) elftools (~> 0.2) GEM diff --git a/README.md b/README.md index f180cadc..2da87227 100644 --- a/README.md +++ b/README.md @@ -42,34 +42,35 @@ one_gadget # -r, --[no-]raw Output gadgets offset only, split with one space. # -s, --script exploit-script Run exploit script with all possible gadgets. # The script will be run as 'exploit-script $offset'. +# --version Current gem version. one_gadget -b 60131540dadc6796cab33388349e6e4e68692053 # 0x4526a execve("/bin/sh", rsp+0x30, environ) # constraints: # [rsp+0x30] == NULL -# +# +# 0xcc543 execve("/bin/sh", rcx, r12) +# constraints: +# [rcx] == NULL || rcx == NULL +# [r12] == NULL || r12 == NULL +# +# 0xcc618 execve("/bin/sh", rax, r12) +# constraints: +# [rax] == NULL || rax == NULL +# [r12] == NULL || r12 == NULL +# # 0xef6c4 execve("/bin/sh", rsp+0x50, environ) # constraints: # [rsp+0x50] == NULL -# +# # 0xf0567 execve("/bin/sh", rsp+0x70, environ) # constraints: # [rsp+0x70] == NULL -# -# 0xcc543 execve("/bin/sh", rcx, r12) -# constraints: -# rcx == NULL || [rcx] == NULL -# r12 == NULL || [r12] == NULL -# -# 0xcc618 execve("/bin/sh", rax, r12) -# constraints: -# rax == NULL || [rax] == NULL -# r12 == NULL || [r12] == NULL -# +# # 0xf5b10 execve("/bin/sh", rcx, [rbp-0xf8]) # constraints: -# [rbp-0xf8] == NULL || [[rbp-0xf8]] == NULL -# rcx == NULL || [rcx] == NULL +# [rcx] == NULL || rcx == NULL +# [[rbp-0xf8]] == NULL || [rbp-0xf8] == NULL one_gadget /lib/i386-linux-gnu/libc.so.6 # 0x3ac69 execve("/bin/sh", esp+0x34, environ) diff --git a/lib/one_gadget/version.rb b/lib/one_gadget/version.rb index 7dffb485..3ec9dcbe 100644 --- a/lib/one_gadget/version.rb +++ b/lib/one_gadget/version.rb @@ -1,4 +1,4 @@ module OneGadget # Current gem version. - VERSION = '1.3.6'.freeze + VERSION = '1.3.7'.freeze end