diff options
author | dusoleil <howcansocksbereal@gmail.com> | 2022-03-11 11:21:34 -0500 |
---|---|---|
committer | dusoleil <howcansocksbereal@gmail.com> | 2022-03-13 23:27:30 -0400 |
commit | 19fc4694e7f825b1fee0cce05c4a34f3ae717679 (patch) | |
tree | 79ae8bac127bfbd5ff6fa63140b732336773d408 | |
parent | 5cec6f91cb03e568fe30f06b429a178279a518bb (diff) | |
download | sploit-19fc4694e7f825b1fee0cce05c4a34f3ae717679.tar.gz sploit-19fc4694e7f825b1fee0cce05c4a34f3ae717679.zip |
sploit: typo fix in rev.r2
accidentally left the argument as "elf" instead of "binary" and had the
arguments in the wrong order
Signed-off-by: dusoleil <howcansocksbereal@gmail.com>
-rw-r--r-- | sploit/rev/r2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sploit/rev/r2.py b/sploit/rev/r2.py index 6fde112..af0fe24 100644 --- a/sploit/rev/r2.py +++ b/sploit/rev/r2.py @@ -62,7 +62,7 @@ def rop_gadget(binary,gad): return out def rop_gadget_exact(binary,gad): - gads = rop_gadget(gad,elf) + gads = rop_gadget(binary,gad) for g in gads: if g.asm[:-1].replace('; ',';') == gad: return g |