summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tools/sploit/sploit/rev/r2.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/sploit/sploit/rev/r2.py b/tools/sploit/sploit/rev/r2.py
index 97eeadd..bb3edb3 100644
--- a/tools/sploit/sploit/rev/r2.py
+++ b/tools/sploit/sploit/rev/r2.py
@@ -49,7 +49,9 @@ def get_locals(binary,func):
out = run_cmd(binary,cmd_locals)
out = [re.split(r':?\s+',var) for var in out]
out = {var[1]:-(int(var[0],0)-arch.wordsize) for var in out}
- return Symtbl(**out)
+ out = Symtbl(**out)
+ out.sbp = 0
+ return out
def ret_gadget(binary):
ilog(f'Searching for a ret gadget in {binary} with r2...')