Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add basic blacklist functionality #58

Merged
merged 3 commits into from
Jul 1, 2024
Merged

Conversation

xXxsomebodyoncetoldmexXx
Copy link
Contributor

Example usecase
./suo5 -t 'https://example.com/suo5.aspx' -l '127.0.0.1:1080' -B 'polling.oastify.com,portswigger.net'

[INFO] 06-17 16:38 starting tunnel at 0.0.0.0:1080

[Tunnel Info]
Target:  http://example.com/suo5.aspx
Proxy:   socks5://0.0.0.0:1080
Mode:    half

[INFO] 06-17 16:38 creating a test connection to the remote target
[INFO] 06-17 16:38 start connection to 127.0.0.1:0
[DBUG] 06-17 16:38 recv dial response from server: length: 7
[INFO] 06-17 16:38 successfully connected to 127.0.0.1:0
[DBUG] 06-17 16:38 recv socks5 reply: 0
[DBUG] 06-17 16:38 local conn closed, 127.0.0.1:0
[INFO] 06-17 16:38 congratulations! everything works fine
[DBUG] 06-17 16:38 remote readwriter closed, 127.0.0.1:0
[INFO] 06-17 16:38 connection closed, 127.0.0.1:0
[SUCC] 06-17 16:38 drop connecction to polling.oastify.com:443
[SUCC] 06-17 16:38 drop connecction to polling.oastify.com:443
[SUCC] 06-17 16:39 drop connecction to portswigger.net:443

ctrl/handler.go Outdated Show resolved Hide resolved
@zema1
Copy link
Owner

zema1 commented Jun 30, 2024

抱歉这些天一直没有评论,这个功能挺好的,可以在再改一下我合了

@xXxsomebodyoncetoldmexXx
Copy link
Contributor Author

Hi, i change a bit so that it match the project coding style, now the syntax is like this
./suo5 -d --nh -t 'http://192.168.30.28/suo5.aspx' -l '0.0.0.0:1080' -E "google.com" -E "stackoverflow" -E "amazon.com"

image

@zema1 zema1 merged commit a953e42 into zema1:main Jul 1, 2024
1 check passed
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