Skip to content

Commit

Permalink
bump 1.3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
david942j committed Apr 4, 2017
1 parent 075ca49 commit decd967
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 17 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
one_gadget (1.3.6)
one_gadget (1.3.7)
elftools (~> 0.2)

GEM
Expand Down
31 changes: 16 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion lib/one_gadget/version.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module OneGadget
# Current gem version.
VERSION = '1.3.6'.freeze
VERSION = '1.3.7'.freeze
end

0 comments on commit decd967

Please sign in to comment.