You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python 3.7.3 (default, Dec 20 2019, 18:57:59)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.13.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: from pwn import *
In [2]: pause()
[*] Paused (press enter to continue)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-2-7822ce9e65ea> in <module>
----> 1 pause()
/usr/local/lib/python3.7/dist-packages/pwnlib/ui.py in pause(n)
281 else:
282 log.info('Paused (press enter to continue)')
--> 283 raw_input('')
284 elif isinstance(n, six.integer_types):
285 with log.waitfor("Waiting") as l:
/usr/local/lib/python3.7/dist-packages/pwnlib/term/readline.py in raw_input(prompt, float)
434 bottom of the screen when `term.term_mode` is enabled.
435 """
--> 436 return readline(None, prompt, float)
437
438 def str_input(prompt='', float=True):
/usr/local/lib/python3.7/dist-packages/pwnlib/term/readline.py in readline(_size, prompt, float, priority)
380 if not term_mode:
381 six.print_(prompt, end='', flush=True)
--> 382 return sys.stdin.readline(_size).rstrip('\n')
383 show_suggestions = False
384 eof = False
TypeError: 'NoneType' object cannot be interpreted as an integer
it's easy to fix, just modify pwnlib.term.readline.raw_input:
it's easy to fix, just modify
pwnlib.term.readline.raw_input
:to
The text was updated successfully, but these errors were encountered: