We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63d885e commit 8ee99a5Copy full SHA for 8ee99a5
pwnlib/tubes/remote.py
@@ -40,7 +40,7 @@ class remote(sock):
40
>>> r = remote('127.0.0.1', 1)
41
Traceback (most recent call last):
42
...
43
- PwnlibException: Could not connect to 127.0.0.1 on port 1
+ ConnectionRefusedError: [Errno 111] Connection refused
44
45
You can also use :meth:`.remote.fromsocket` to wrap an existing socket.
46
0 commit comments