Skip to content

Add --socks argument for scanning via SOCKS5 proxy#347

Merged
jtesta merged 2 commits into
jtesta:masterfrom
sectroyer:master
Jun 20, 2026
Merged

Add --socks argument for scanning via SOCKS5 proxy#347
jtesta merged 2 commits into
jtesta:masterfrom
sectroyer:master

Conversation

@sectroyer

Copy link
Copy Markdown
Contributor

Implement SOCKS5 proxy support without external dependencies:

  • Add socks_proxy field to AuditConf
  • Add --socks host:port CLI argument with input validation
  • Implement SOCKS5 handshake (no-auth, domain-name addressing) in SSH_Socket._connect_via_socks5()

@jtesta

jtesta commented Jun 13, 2026

Copy link
Copy Markdown
Owner

This isn't a feature that a human has requested.

@jtesta jtesta closed this Jun 13, 2026
@sectroyer

sectroyer commented Jun 13, 2026

Copy link
Copy Markdown
Contributor Author

This extremely useful feature for pentesters. I don't get why you wouldn't want to have it in the tool? I could understand that you don't like the patch itself but why bombard the idea itself ?

@jtesta jtesta reopened this Jun 14, 2026
sectroyer and others added 2 commits June 19, 2026 19:13
Implement SOCKS5 proxy support without external dependencies:
- Add socks_proxy field to AuditConf
- Add --socks host:port CLI argument with input validation
- Implement SOCKS5 handshake (no-auth, domain-name addressing) in
  SSH_Socket._connect_via_socks5()

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Michał Majchrowicz <sectroyer@gmail.com>
@sectroyer

Copy link
Copy Markdown
Contributor Author

I hope it's now ok? I have added also some tests if you think they are useless we can drop them.

@jtesta jtesta merged commit f369689 into jtesta:master Jun 20, 2026
jtesta added a commit that referenced this pull request Jun 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants