From ae2b8e94ec5da005fd28233971a7b31256cdcf61 Mon Sep 17 00:00:00 2001 From: dusoleil Date: Fri, 11 Mar 2022 11:21:34 -0500 Subject: 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 --- tools/sploit/sploit/rev/r2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3