summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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