Gallopsled / Gallopsled/pwntools
cannot Ctrl-C remote connection when network is flaky
- Dominant language
- Python
- Stars
- 13.7k
- Forks
- 1.9k
- Avg merge
- 6d 23h
- Merged PRs (30d)
- 3
Description
### Description
My WiFi is flaky. The following just happened to me:
Run script:
```python
p = remote("cs412.epfl.ch", 8004)
p.interactive()
p.close()
```
WiFi is able to provide DNS resolution, or it might be cached for me, so that passes, but the connection cannot get created, and I see looping message:
```
[d] Opening connection to cs412.epfl.ch on port 8004:
```
I want to cancel since I realize what is happening, I press `Ctrl-C`, but it does not cancel the connection creation / process, it just keeps looping (no matter how many times I press `Ctrl-C`). So, I have to kill the process.
### Request
I want to be able to Ctrl-C during connection creation.
Contributor guide
Assessment
This issue has not been assessed yet.