Gallopsled / Gallopsled/pwntools
Repeated Error Messages if Python not installed on SSH host
- Dominant language
- Python
- Stars
- 13.7k
- Forks
- 1.9k
- Avg merge
- 6d 23h
- Merged PRs (30d)
- 3
Description
We spam the error message multiple times.
The simplest solution to this is likely to only attempt to fill `_platform_info` once via `_init_remote_platform_info` (e.g. `_platform_info['attempted']=True`)
Perhaps setting a dummy key will prevent this from being displayed so many times.
```
>>> s=ssh('root', 'device')
[x] Connecting to localhost on port 11022
[+] Connecting to localhost on port 11022: Done
[ERROR] python is not installed on the remote system 'localhost'
[ERROR] python is not installed on the remote system 'localhost'
[ERROR] python is not installed on the remote system 'localhost'
[ERROR] python is not installed on the remote system 'localhost'
[ERROR] python is not installed on the remote system 'localhost'
[ERROR] python is not installed on the remote system 'localhost'
[!] Only Linux is supported for ASLR checks.
[ERROR] python is not installed on the remote system 'localhost'
[ERROR] python is not installed on the remote system 'localhost'
[ERROR] python is not installed on the remote system 'localhost'
[*] root@localhost:
Distro Unknown Unknown
OS: Unknown
Arch: Unknown
Version: 0.0.0
ASLR: Disabled
Note: Susceptible to ASLR ulimit trick (CVE-2016-3672)
```
Contributor guide
Assessment
This issue has not been assessed yet.