GithubHelp home page GithubHelp logo

ktzgraph / getdorkedfiles Goto Github PK

View Code? Open in Web Editor NEW

This project forked from b3n-j4m1n/getdorkedfiles

0.0 0.0 0.0 12 KB

Google dork specified file(s) in specified website and optionally download the results.

Python 100.00%

getdorkedfiles's Introduction

GetDorkedFiles

Google dork specified file(s) in specified website and optionally download the results.

It uses three techniques to evade the CAPTCHA (which work better than expected but aren't perfect), use in moderation or with a proxy.

https://en.wikipedia.org/wiki/Google_hacking

Usage

# python3 GetDorkedFiles.py
python3 GetDorkedFiles.py [-h] [-v] [-s SITE] [-f FILES] [-u URL-LIST]

Google dork specified file(s) in specified website and optionally download the
results.

documents - csv,doc,docx,pdf,ppt,xls,xlsx
sensitive - 7z,apk,bak,bat,bin,conf,dat,db,db2,db3,gz,htaccess,inf,ini,ipa,key,
            license,log,pem,ps1,ps2,rar,sh,sql,tar,tgz,vbs,xml,zip


optional arguments:
-h, --help            show this help message and exit
-v, --verbose         increase output verbosity
-s, --site            site in which to search for files, e.g. microsoft.com
-f, --files           filetype(s), accepts a comma-delimited list
-u, --url-list        instead of Google dorking, specify the absolute path of a
                      file containing a list of file urls to download
# python3 GetDorkedFiles.py -s github.com -f doc,xls
[*] looking in search results 0 - 100
[*] attempting to evade CAPTCHA...
[*] looking in search results 100 - 200
[*] 30 files found, list saved in /root/GetDorkedFiles/github.com-20190225200528/github.com-20190225200528.list
[?] download files (y/n)? [warning: file size not considered, check url list and re-run with -u option, else download everything]: y
[+] downloading - http://alloyteam.github.com/DevelopmentCodes.doc
[+] downloading - http://yannik520.github.com/liyanqing.doc
[+] downloading - http://tchalvak.github.com/n/english/Humn2201Ronalds_Rv2.doc
[+] downloading - https://github.com/qreal/qreal/wiki/ConstraintsEditor_description.doc
[+] downloading - https://github.com/qreal/qreal/wiki/matveev.doc
[+] downloading - https://github.com/qreal/qreal/wiki/bryksin.doc
[+] downloading - https://github.com/Esenin/qreal/wiki/matveev.doc
[+] downloading - https://github.com/qreal/qreal/wiki/Takun_diploma.doc
[+] downloading - http://elainehu.github.com/demo/Notes/photoshop_notes.doc
[+] downloading - https://github.com/qreal/qreal/wiki/naidionysheva.doc
[-] 404 not found - https://github.com/OpenCyclone/model/wiki/template_data.doc
[+] downloading - https://github.com/vkaliteevsky/qreal/wiki/simonova.doc
[+] downloading - https://github.com/qreal/qreal/wiki/bakalov.doc
[-] 404 not found - https://github.com/OpenCyclone/model/wiki/template_algorithm.doc
***snip***
#

TODO

  • include Bing results
  • read a list of domains from a file
  • add an argument for Google TLD e.g. google.com.au, google.com.sg, etc.
  • add more "normal" searches inbetween dorks

getdorkedfiles's People

Contributors

b3n-j4m1n avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.