Reg SOCKSProxy support for ZAP

35 views
Skip to first unread message

Shakthi

unread,
Jan 30, 2024, 12:53:44 PMJan 30
to ZAP Developer Group
Hi, My server to be scanned could be accessed via socks proxy like this

curl --socks5-hostname 127.0.0.1:9001  https://9.x.x.x/ --insecure

And if i use ZAP UI, i set these values as mentioned in the attachment.

Now, I am planning to add it in automation, Could someone help me how can i pass these if i use zap docker. Tried below command but not working

sudo docker run -v "${WORKSPACE}/zap":/zap/wrk/:rw -t owasp/zap2docker-stable bash -c "zap.sh -cmd -autorun /zap/wrk/s-zap-automation.yaml -config network.connection.socksProxy.host=127.0.0.1 -config network.connection.socksProxy.port=9897" 

Screenshot 2024-01-30 at 18.57.42.png

thc...@gmail.com

unread,
Jan 31, 2024, 3:51:06 AMJan 31
to zaproxy...@googlegroups.com
Hi,

This is already being answered in:
https://groups.google.com/g/zaproxy-users/c/fBJs_s6HEJQ/m/5e8UC603CgAJ

Best regards.
Reply all
Reply to author
Forward
0 new messages