Skip to content

Commit

Permalink
removed the double quotes around the temp filename of the gdbscript (#…
Browse files Browse the repository at this point in the history
…1465)

removed the double quotes around the temp filename of the gdbscript as this broke the gdbscript functionality.

The doublequotes would be considered part of the filename and it would fail to read the file..

Tested this fix on Kali.
  • Loading branch information
Vigeant authored Apr 1, 2020
1 parent 415f11b commit a7678f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pwnlib/gdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@ def findexe():

tmp.write(gdbscript)
tmp.close()
cmd += ' -x "%s"' % (tmp.name)
cmd += ' -x %s' % (tmp.name)

log.info('running in new terminal: %s' % cmd)

Expand Down

0 comments on commit a7678f7

Please sign in to comment.