Skip to content

Conversation

@hamoshwani
Copy link

@hamoshwani hamoshwani commented Dec 7, 2025

Summary

Adds --proxy argument to enable scanning through HTTP, HTTPS, and SOCKS5 proxies. All HTTP requests (POST and HEAD) now route through the specified proxy.

Changes

  • Added --proxy command-line argument
  • Updated send_payload(), resolve_redirects(), and check_vulnerability() functions to accept and use proxy configuration
  • Proxy configuration is displayed in scan information output when enabled
  • Updated README with proxy usage examples and documentation

Usage

HTTP/HTTPS proxy

python3 scanner.py -u https://example.com --proxy http://proxy.example.com:8080

SOCKS5 proxy

python3 scanner.py -l hosts.txt --proxy socks5://127.0.0.1:1080

Technical Details

  • Proxy URL is parsed into a dictionary format expected by the requests library
  • Both http and https keys are set to the same proxy URL for compatibility
  • Proxy is applied to all HTTP requests including redirect resolution

@NirajKumarsharma8102702596
Copy link

NirajKumarsharma8102702596 commented Dec 8, 2025

hii
i am niraj kumar
please help any program leval increse

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