Gallopsled / pwntools

CTF framework and exploit development library
http://pwntools.com
Other
11.74k stars 1.67k forks source link

Fix readline omitting a trailing \n #2349

Closed peace-maker closed 5 months ago

peace-maker commented 5 months ago

This is a regression from #2129 which was based on a bogus test which mixed input and readline calls.

Only input (and raw_input) are documented to strip the newline, but readline itself should include it.

Fixes #2342