summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authordusoleil <howcansocksbereal@gmail.com>2022-03-11 11:21:34 -0500
committerdusoleil <howcansocksbereal@gmail.com>2022-03-13 23:27:30 -0400
commitae2b8e94ec5da005fd28233971a7b31256cdcf61 (patch)
treebe99b12c8496216686c6b26aaf373eb96fe40293 /tools
parent84aae4be53028e543fa9b00f1bc53d6c2420cc51 (diff)
downloadlib-des-gnux-ae2b8e94ec5da005fd28233971a7b31256cdcf61.tar.gz
lib-des-gnux-ae2b8e94ec5da005fd28233971a7b31256cdcf61.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>
Diffstat (limited to 'tools')
-rw-r--r--tools/sploit/sploit/rev/r2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/sploit/sploit/rev/r2.py b/tools/sploit/sploit/rev/r2.py
index 6fde112..af0fe24 100644
--- a/tools/sploit/sploit/rev/r2.py
+++ b/tools/sploit/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