gobuster
gobuster copied to clipboard
Connection refused when trying to use through a proxy
Firstly, thanks for creating this tool.
I am trying to use gobuster through a proxy and I am getting the following error:
gobuster dir -p 'http://192.168.122.61:3128' -u 'http://192.168.122.61/' -w /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt
===============================================================
Gobuster v3.0.1
by OJ Reeves (@TheColonial) & Christian Mehlmauer (@_FireFart_)
===============================================================
[+] Url: http://192.168.122.61/
[+] Threads: 10
[+] Wordlist: /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt
[+] Status codes: 200,204,301,302,307,401,403
[+] Proxy: http://192.168.122.61:3128
[+] User Agent: gobuster/3.0.1
[+] Timeout: 10s
===============================================================
2019/10/17 16:42:00 Starting gobuster
===============================================================
Error: error on running gobuster: Get http://192.168.122.61/0a6b3c25-426f-4143-81a0-e51b97ae998a: proxyconnect tcp: dial tcp 192.168.122.61:3128: connect: connection refused
However, using curl, on the same url, it works:
curl -x http://192.168.122.61:3128 http://192.168.122.61/0a6b3c25-426f-4143-81a0-e51b97ae998a
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /0a6b3c25-426f-4143-81a0-e51b97ae998a was not found on this server.</p>
<hr>
<address>Apache/2.2.22 (Ubuntu) Server at 192.168.122.61 Port 80</address>
</body></html>
Same problem here
could you please try this again with the latest version? I never had this problem when using gobuster via a proxy like burp
same here
can not reproduce