utiso / dorkbot Goto Github PK
View Code? Open in Web Editor NEWCommand-line tool to scan Google search results for vulnerabilities
Home Page: http://dorkbot.io
License: Other
Command-line tool to scan Google search results for vulnerabilities
Home Page: http://dorkbot.io
License: Other
I just install the script and get theses error:
Traceback (most recent call last):
File "/usr/local/bin/dorkbot", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.8/dist-packages/dorkbot/dorkbot.py", line 73, in main
index(db, blacklist, load_module("indexers", args.indexer), args, indexer_options)
File "/usr/local/lib/python3.8/dist-packages/dorkbot/dorkbot.py", line 212, in index
urls = indexer.run(options)
File "/usr/local/lib/python3.8/dist-packages/dorkbot/indexers/google_api.py", line 17, in run
results = get_results(options)
File "/usr/local/lib/python3.8/dist-packages/dorkbot/indexers/google_api.py", line 34, in get_results
items = issue_request(data)
File "/usr/local/lib/python3.8/dist-packages/dorkbot/indexers/google_api.py", line 78, in issue_request
if int(request["totalResults"]) == 0:
KeyError: 'totalResults'
Sometingchange in the google API?
Hi, I'm just unsure on how to use the correct format for the config file.
The configuration file (dorkbot.ini) can be used to prepopulate certain command-line flags.
Suppose I want to auto fill these options
-i google_api -o key=your_api_credential_here -o engine=your_engine_id_here
How do I put it in the config file?
If possible can you please a csv file support instead of using an sqlite db?
As we can then easily edit the csv file on the go to modify certain links or remove similar ones
Hello, I'm trying to run Dorkbok with the following command:
python ./dorkbot.py -i google -o engine=GoogleCSE,query="filetype:php inurl:id" -s arachni
And I get this error:
-ERROR - query must be set
Why is this error?
Great work! this looks like it has such potential.
How can I just run the commoncrawl indexer and search for something in a url?
Much like the using google by doing inurl:index.html
I see commoncrawl has a filter option and I'm guessing this is what I'm looking for.. though it asks for a domain as a required arg?? bit confused...
My ultimate goal is to simply grab a listing of sites that match a given criteria. creating a custom search on google isn't quite anonymous as I'm looking for.
Cheers and thank you!
robot:/dorkbot# ./dorkbot.py -i google -o engine=0099604576279661038117:vquegqft89g,query=filetype:php -s arachni/dorkbot#
Traceback (most recent call last):
File "./dorkbot.py", line 177, in
main()
File "./dorkbot.py", line 69, in main
index(db, args.indexer, args.indexer_options)
File "./dorkbot.py", line 129, in index
results = indexer_module.run(options)
File "/root/dorkbot/indexers/google.py", line 46, in run
return results
UnboundLocalError: local variable 'results' referenced before assignment
robot:
Hello I am getting the above error... How can I resolve :(
i find when i finish search,only display a little result.
i want to know,how can i use more and more result?
I was wondering if there is a way of searching for multiple index queries at a time.
Say i have a list of 100 popular google dorking search terms and I would like to feed all these into dorkbot at once. Is there an option to feed in a text file line by line in the -o query=
option. If not what would be the best way to acheive this? Ideally, I want to avoid manually performing 100 scans.
./dorkbot.py -i google -o engine=012345678901234567891:abc12defg3h,query="filetype:php inurl:id" -s arachni
Traceback (most recent call last):
File "./dorkbot.py", line 174, in <module>
main()
File "./dorkbot.py", line 69, in main
index(db, args.indexer, args.indexer_options)
File "./dorkbot.py", line 126, in index
results = indexer_module.run(options)
File "/root/Desktop/git/dorkbot/indexers/google.py", line 31, in run
results = get_results(phantomjs_path, options["engine"], options["query"], domain)
File "/root/Desktop/git/dorkbot/indexers/google.py", line 46, in get_results
output = subprocess.check_output(index_cmd)
File "/usr/lib/python2.7/subprocess.py", line 212, in check_output
process = Popen(stdout=PIPE, *popenargs, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 390, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1024, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Hi!
It's a common error that when trying to run this tool in a completely headless environment such as a VPS, people is getting the following errors from PhantomJS:
qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.
Traceback (most recent call last):
File "/usr/local/bin/dorkbot", line 11, in <module>
(...)
You may want to add the following to the README:
export QT_QPA_PLATFORM=offscreen
This will allow PhantomJS to run without the need to be attached to a display :D
1、when i run google,this need photomjs,but have error
PhantomJS has crashed. Please read the bug reporting guide at
http://phantomjs.org/bug-reporting.html and file a bug report.
2020-01-11T19:41:09-0500 - ERROR - Failed to execute phantomjs command
Traceback (most recent call last):
File "dorkbot.py", line 674, in
main()
File "dorkbot.py", line 69, in main
index(db, blacklist, load_module("indexers", args.indexer), args, indexer_options)
File "dorkbot.py", line 194, in index
for url in urls:
TypeError: 'bool' object is not iterable
2、when i run google-api,also have error
Traceback (most recent call last):
File "dorkbot.py", line 674, in
main()
File "dorkbot.py", line 69, in main
index(db, blacklist, load_module("indexers", args.indexer), args, indexer_options)
File "dorkbot.py", line 195, in index
if not blacklist.match(Target(url)): targets.append(url)
File "dorkbot.py", line 466, in init
self.starttime = generate_timestamp()
File "dorkbot.py", line 291, in generate_timestamp
return datetime.datetime.now().astimezone().isoformat()
ValueError: astimezone() cannot be applied to a naive datetime
how can i run this success?
Using asciicinema, it's easy to embed project demos in README files. I think this repo would be enhanced with this sort of addition. 👍
Check out Sherlock's README file for a great example.
Hello sometimes it takes 2-5 sec each dork to scan, this is fairly slow if i want to scan 100 dorks , any way to fix this ?
Hi,
Instead of having to manually add 1 URL at a time, is it possible to just have it ingest a .txt file list of bulk URLS?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.