This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author hoang nguyen
Recipients hoang nguyen
Date 2019-07-21.09:17:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1563700628.04.0.824275375582.issue37640@roundup.psfhosted.org>
In-reply-to
Content
```
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.7/site-packages/Pwn/Pwn.py", line 209, in io
    self.con.interact()
  File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/telnetlib.py", line 553, in interact
    sys.stdout.write(text.decode('ascii'))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 41: ordinal not in range(128)
```
crash detail

set up a netcat server:
```
cat /dev/urandom | nc -l 127.0.0.1 8888
```

test.py
```
import telnetlib

tn = telnetlib.Telnet('127.0.0.1', 8888)
tn.interact()
```
History
Date User Action Args
2019-07-21 09:17:08hoang nguyensetrecipients: + hoang nguyen
2019-07-21 09:17:08hoang nguyensetmessageid: <1563700628.04.0.824275375582.issue37640@roundup.psfhosted.org>
2019-07-21 09:17:07hoang nguyenlinkissue37640 messages
2019-07-21 09:17:07hoang nguyencreate