-
Notifications
You must be signed in to change notification settings - Fork 495
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
[-] ERROR with dork: #10
Comments
Hi @MelissaMV Could you provide me the python version ( |
@opsdisk Sure here are the details: Kali Linux Python 2.7.14 (Note: I asterisk out the site name) root@kali:~/Desktop/pagodo# python pagodo.py -d http://********.co.tt -g google_dorks.txt -l 50 -s -e 30.0 -j 1.1 [] Initiation timestamp: 20171229_211706 [*] Search ( 2 / 100 ) for Google dork [ intitle:index.of finances.xls site:http://********.co.tt ] and waiting 62.7753368763 seconds between searches ...and the errors continues until it reaches the full 50 dorks. |
Hi @MelissaMV - sorry it took a while to get back. Try without the http:// prepended to the domain. So just the domain |
@opsdisk thx for your response - i tried what you said without the "http://" but I'm getting the same error, so I guess Google is detecting it as a bot. Is there a way around this? |
Hmmm...what version of the
It looks like the latest is print("1")
for url in google.search(query, start=0, stop=self.search_max, num=100, pause=pause_time, extra_params={'filter': '0'}, user_agent=google.get_random_user_agent()):
self.links.append(url)
print("2")
# Since google.search method retreives URLs in batches of 100, ensure the file list only contains the requested amount
if len(self.links) > self.search_max:
self.links = self.links[:-(len(self.links) - self.search_max)]
print("3")
print("[*] Results: " + str(len(self.links)) + " sites found for Google dork: " + dork)
print("4")
for foundDork in self.links:
print(foundDork)
print("5")
self.total_dorks += len(self.links)
print("6")
# Only save links with valid results to an output file
if self.save_links and (self.links):
f = open(self.log_file, 'a')
f.write('#: ' + dork + "\n")
for link in self.links:
f.write(link + "\n")
f.write("=" * 50 + "\n")
f.close
print("7") |
Just pushed up some new code. Let me know if it is still giving you issues. |
yup got the same "ERROR with dork" on every dork in my list including your "google_dorks.txt list and i'm using google 2.0.1...well i guess if its working on your side and not my side its prolly my Kali Linux has some screwed up configuration somewhere lol but thx anywayz for trying to help me :) Do you know any script that can open dorks in a file in multiple x tabs in firefox or googlechrome?? I mean you can just load a dork file in a script, run the script and it will open a browser that will search for all the dorks in different tabs. May be that doesn't make sense but i was just wondering lol |
I get the same error as @MelissaMV. |
@MelissaMV @thesilas Can you put some print statements between the lines as suggested by #10 (comment) Trying to figure out where it's failing. |
@opsdisk I just added the statements as you suggested and got the following output:
I added the "netflix" test dork because I manually verified that it returns a result.
|
@thesilas thanks for that info...looks like it's something with googlesearch.search function. Couple of things:
That should return some urls.
@MelissaMV if you pass a domain to |
@opsdisk thanks for the instructions. It turns out that I didn't install the requirements using
after I did so I didnt get the error anymore and the tool works. So for me the issue could be closed. @MelissaMV did you too run pagodo without first installing the requirements? @opsdisk I made a pull request with an updated version of the readme that includes a short section regarding the installation because I think that other people might too miss installing the requirements and could end up facing the same error as I did. |
I'm getting the same error and when print(x) is used i get 503 service unavaible.. the same thing that happens on doork project.. google is banning our requests i think \o/ would be cool if it was possible to request pages with diferent headers like v3n0m does |
@marciks after some request I too get 503. not sure yet what a good -e delay value is. I just tried with 65 but after some successfull request I get the 503 error again. Then you have to wait a while or switch to another public source IP. @opsdisk do you use the default values or can you recommend other values that prevent the google detection? |
@marciks What HTTP headers are you specifying? Do you mean the User-Agent? I implemented this in my metagoofil fork (https://github.com/opsdisk/metagoofil/blob/master/metagoofil.py#L173) and just realized (thanks to you) I hadn't implemented it in this one. If that's the case, please create an issue and I'll add it in. @thesilas to answer your question, the defaults (jitter and delay) have worked for me in the past. It took almost 2 days to completely run it my first time through. It's definitely not a quick kill script. Maybe switching up the User-Agent like I suggested above would help. |
Closing this issue. |
I'm getting this error with each dork after every query is that normal?
[-] ERROR with dork: about.php?cartID=
The text was updated successfully, but these errors were encountered: