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
:( examples # python2 ./ssh_forward.py
[+] Trying to bind to 0.0.0.0 on port 1337: OK
[+] Waiting: Got connection from 127.0.0.1 on port 56711
Traceback (most recent call last):
File "./ssh_forward.py", line 9, in <module>
listen(1337).wait_for_connection() <> ssh('root', '127.0.0.1', ' ').connect_remote('google.com', 80)
File "/root/pwntools/pwnlib/tubes/ssh.py", line 274, in __init__
h = log.waitfor('Connecting to %s on port %d' % (host, port), log_level = self.log_level)
TypeError: %d format: a number is required, not str
script below
:( examples #
4 """
5
6 from pwn import *
7
8 while True:
9 listen(1337).wait_for_connection() <> ssh('root', '127.0.0.1', password).connect_remote('google.com', 80)
10
11 # now point your browser (or curl(1)) to http://localhost:1337
The text was updated successfully, but these errors were encountered:
Some context: Idolf was showing off some of pwnlibs' features and we got the above error. It is due to him passing the password where a port number was expected. So not a bug.
script below
The text was updated successfully, but these errors were encountered: