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

pycurl failing to resolve host #18

Open
digininja opened this issue May 12, 2016 · 11 comments
Open

pycurl failing to resolve host #18

digininja opened this issue May 12, 2016 · 11 comments

Comments

@digininja
Copy link
Contributor

I've had this problem with quite a few domains, pycurl isn't ale to resolve the host I specify:

$ ./wfuzz.py --hc 404 -z file,wordlist/general/common.txt https://a.b.co.uk/FUZZ/ 
********************************************************
* Wfuzz 2.1.3 - The Web Bruteforcer                      *
********************************************************

Target: https://a.b.co.uk/FUZZ/
Total requests: 950

==================================================================
ID      Response   Lines      Word         Chars          Request
==================================================================


Fatal exception: Pycurl error 6: Could not resolve host: a.b.co.uk

None

dig and nslookup works fine, my resolve.conf is pointing at Google, ping picks up the IP correctly.

The only way I can get the app to run is to add the entry to my hosts file, then it runs without a problem.

I doubt that this is a wfuzz problem but wondering if you have seen this problem and have a solution for it, my hosts file is filling up!

@xmendez
Copy link
Owner

xmendez commented May 12, 2016

I have not seen this problem before. Can you provide an example so I can try to debug the issue?

@digininja
Copy link
Contributor Author

I'll try to find a public domain that fails, can't send the client ones
over. Oddly it wasn't failing on everything last time I checked otherwise
I'd just assume pycurl was broken.

On Thu, 12 May 2016 at 14:45 Xavi Mendez [email protected] wrote:

I have not seen this problem before. Can you provide an example so I can
try to debug the issue?


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#18 (comment)

@jstnkndy
Copy link

I've seen several instances where wfuzz crashes and exists due to an issue with a single host. For example:

Fatal exception: Pycurl error 52: Empty reply from server

Seems like more of a architectural issue where a single bad job shouldn't prevent wfuzz from continuing on in the queue.

@xmendez
Copy link
Owner

xmendez commented Jul 14, 2016

You can use -Z to continue scanning the website ignoring errors.
Are you scanning an SSL site or through a proxy?

@jstnkndy
Copy link

That works great, thanks!

@xmendez
Copy link
Owner

xmendez commented Jul 14, 2016

Cool. If it is a site that you can share it will be great to get the URL to see where the error comes from. Cheers.

@jstnkndy
Copy link

Follow me on twitter and I'll send it over. @jstnkndy

@xmendez xmendez closed this as completed Jul 14, 2016
@aaaguirrep
Copy link

Cool. If it is a site that you can share it will be great to get the URL to see where the error comes from. Cheers.

Hi, I am trying with the next command and it shows the same issue:

wfuzz --hc 404 -u http://10.10.10.168:8080/FUZZ/SuperSecureServer.py -w /tools/wordlist/node-dirbuster/lists/directory-list-2.3-big.txt

Fatal exception: Pycurl error 52: Empty reply from server

The ip address is from a Hackthebox machine.

@xmendez xmendez reopened this Mar 16, 2020
@xmendez
Copy link
Owner

xmendez commented Mar 16, 2020

@aaaguirrep is it something happening only for some paths or is it a general thing? ie. can you use -Z to not stop at errors and still use wfuzz to do the enumeration?

@aaaguirrep
Copy link

Hi @xmendez just for some paths, I have used -Z and it worked. Thanks a lot.

@CHERYLMAISELOBO
Copy link

wfuzz -c --hc 400,404,403,406 -Z -w /home/kali/Desktop/Wordlists/SecLists-master/Fuzzing/LFI/dicc.txt https://abc.com/FUZZ

/usr/lib/python3/dist-packages/wfuzz/init.py:34: UserWarning:Pycurl is not compiled against Openssl. Wfuzz might not work correctly when fuzzing SSL sites. Check Wfuzz's documentation for more information.

image

How can I resolve this issue?

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

No branches or pull requests

5 participants