-
Notifications
You must be signed in to change notification settings - Fork 259
Closed
Labels
Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.Inconsistencies or issues which will cause an issue or problem for users or implementors.
Description
Proxify version:
v0.0.16
Current Behavior:
-hp flag does not seem to work. Traffic is not forwarded to upstream proxy.
"main" proxify instance:
❯ go build ; ./proxify -http-proxy http://127.0.0.1:9999 -vv
_ ___
___ _______ __ __ (_) _/_ __
/ _ \/ __/ _ \\ \ // / _/ // /
/ .__/_/ \___/_\_\/_/_/ \_, /
/_/ /___/
projectdiscovery.io
[INF] Current proxify version v0.0.16 (latest)
[INF] HTTP Proxy Listening on 127.0.0.1:8888
[INF] Socks5 Proxy Listening on 127.0.0.1:10080
[INF] Saving proxify logs to proxify_logs.jsonl
[INF] Saving proxify logs (raw) to proxify_logs
[INF] Using upstream HTTP proxies: ["http://127.0.0.1:9999"]
GET http://www.facebook.com/ HTTP/1.1
Accept: */*
Accept-Encoding:
Connection: close
User-Agent: curl/8.7.1
GET http://www.facebook.com/ HTTP/1.1
Accept: */*
Accept-Encoding:
Connection: close
User-Agent: curl/8.7.1
HTTP/1.1 301 Moved Permanently
Connection: close
Content-Type: text/plain
Date: Wed, 10 Sep 2025 06:47:33 GMT
Location: https://www.facebook.com/
Server: proxygen-bolt
Content-Length: 0
"upstream" proxify instance (receives no traffic):
❯ ./proxify -ha 127.0.0.1:9999 -sa 127.0.0.1:10090 -vv -sr proxify_logs_upstream -o proxify_logs_upstream.jsonl
_ ___
___ _______ __ __ (_) _/_ __
/ _ \/ __/ _ \\ \ // / _/ // /
/ .__/_/ \___/_\_\/_/_/ \_, /
/_/ /___/
projectdiscovery.io
[INF] Current proxify version v0.0.16 (latest)
[INF] HTTP Proxy Listening on 127.0.0.1:9999
[INF] Socks5 Proxy Listening on 127.0.0.1:10090
[INF] Saving proxify logs to proxify_logs_upstream.jsonl
[INF] Saving proxify logs (raw) to proxify_logs_upstream
- Ctrl+C pressed in Terminal
Expected Behavior:
"upstream" proxy receives traffic. I can confirm it is working in v0.0.8.
"main" proxify instance:
❯ go build ; ./proxify -http-proxy http://127.0.0.1:9999 -vv
_ ___
___ _______ __ __ (_) _/_ __
/ _ \/ __/ _ \\ \ // / _/ // /
/ .__/_/ \___/_\_\/_/_/ \_, /
/_/ /___/ v0.0.8
projectdiscovery.io
[INF] HTTP Proxy Listening on 127.0.0.1:8888
[INF] Socks5 Proxy Listening on 127.0.0.1:10080
[INF] Saving proxify traffic to logs
[INF] Using upstream HTTP proxies: ["http://127.0.0.1:9999"]
2025/09/10 15:49:32 [001] INFO: Got request / www.facebook.com GET http://www.facebook.com/
GET http://www.facebook.com/ HTTP/1.1
Accept: */*
Proxy-Connection: Keep-Alive
User-Agent: curl/8.7.1
2025/09/10 15:49:32 [001] INFO: Sending request GET http://www.facebook.com/
2025/09/10 15:49:32 [001] INFO: Received response 301 Moved Permanently
HTTP/1.1 301 Moved Permanently
Connection: keep-alive
Content-Type: text/plain
Date: Wed, 10 Sep 2025 06:49:32 GMT
Location: https://www.facebook.com/
Server: proxygen-bolt
Content-Length: 0
2025/09/10 15:49:32 [001] INFO: Copying response to client 301 Moved Permanently [301]
2025/09/10 15:49:32 [001] INFO: Copied 0 bytes to client error=<nil>
"upstream" proxify instance:
❯ ./proxify -ha 127.0.0.1:9999 -sa 127.0.0.1:10090 -vv
_ ___
___ _______ __ __ (_) _/_ __
/ _ \/ __/ _ \\ \ // / _/ // /
/ .__/_/ \___/_\_\/_/_/ \_, /
/_/ /___/ v0.0.8
projectdiscovery.io
[INF] HTTP Proxy Listening on 127.0.0.1:9999
[INF] Socks5 Proxy Listening on 127.0.0.1:10090
[INF] Saving proxify traffic to logs
2025/09/10 15:49:32 [001] INFO: Got request / www.facebook.com GET http://www.facebook.com/
GET http://www.facebook.com/ HTTP/1.1
Accept: */*
Accept-Encoding: gzip
User-Agent: curl/8.7.1
2025/09/10 15:49:32 [001] INFO: Sending request GET http://www.facebook.com/
2025/09/10 15:49:32 [001] INFO: Received response 301 Moved Permanently
HTTP/1.1 301 Moved Permanently
Connection: keep-alive
Content-Type: text/plain
Date: Wed, 10 Sep 2025 06:49:32 GMT
Location: https://www.facebook.com/
Server: proxygen-bolt
Content-Length: 0
2025/09/10 15:49:32 [001] INFO: Copying response to client 301 Moved Permanently [301]
2025/09/10 15:49:32 [001] INFO: Copied 0 bytes to client error=<nil>
Steps To Reproduce:
- Run
./proxify -http-proxy http://127.0.0.1:9999 -vv - Run some upstream proxy (another proxify instance, burp suite proxy, etc.)
- Send some traffic
- Verify that the upstream proxy is not receiving traffic
Anything else:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.Inconsistencies or issues which will cause an issue or problem for users or implementors.