SSH/SFTP Checker
How the SSH checker works
Brief: multithreaded SSH checker that tries credentials from a list, logs successes and failures, and gathers basic info (permissions, SFTP file list).
Workflow
- Reads lines in
host:port:username:passwordformat from a user-selected file. - Uses a worker queue and many threads to attempt SSH connections via
paramiko. - On success: records
host:username:password, retrieves permissions (viaid)
and attempts SFTP listing; writes extended info to logs.
- If initial credentials fail, attempts a set of standard creds (e.g.
- Maintains counters for total/processed/good/bad, runs a periodic progress monitor, and saves logs under
- Input validation, per-line error handling, and thread-safe logging are included.
- Default SSH port used is
22.
root:root) before marking as bad.
logs_SSH/.