GithubHelp home page GithubHelp logo

volkansah / the_extractor.py Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 3.0 493 KB

The Extractor is a Python script that extracts Google dorks from the official Google Hacking Database (GHDB) XML file and saves them in a CSV file. The script only extracts dorks that contain the "inurl:" operator because they are more specific and useful for targeted web scanning.

Home Page: https://github.com/VolkanSah/The_Extractor.py

License: MIT License

Python 100.00%
black-hat-python example-codes-python hacking hacking-exploits hacking-tool hacking-tools redteam-tools ghdb google-hacking-database python

the_extractor.py's Introduction

The Extractor (GHDB) lite

The Extractor is a Python script that extracts Google dorks from the official Google Hacking Database (GHDB) and saves them in a CSV-file. The script only extracts dorks that contain the "inurl:" operator because they are more specific and useful for targeted web scanning.

Warning:

The Extractor script is intended for educational and ethical purposes only. The extracted dorks should only be used for ethical hacking and web security testing. The authors of The Extractor do not condone illegal activities and are not responsible for any misuse of the extracted dorks. Always use the extracted dorks responsibly and in accordance with the law.

This script is part of a larger collection and was created to be used with caution. Some functions have been removed to prevent any malicious attacks, but it remains a simple yet powerful script that can be used for bad sites.

Prerequisites

The script has been tested on Linux/Unix Bash-installed systems.

  • Python 3.x
  • requests module (you can install it via pip: pip install requests)
  • CSV module (built-in module in Python)
  • uuid module (built-in module in Python)

Usage

Run the script:

python extractor.py 

or

python3 extractor.py
  • The script will check if an Internet connection is available. If yes, it will download the latest GHDB XML file. If no, it will use the local file (if available) or ask if you want to create a local copy of the GHDB XML file.
  • The script will extract the dorks and save them in the specified output format (CSV by default) in the same directory as the script.

Note

  • The Extractor script only extracts dorks that contain the "inurl:" operator because they are more specific and useful for targeted web scanning.
  • The Extractor (Nemesis Version) is now included in PoisonIvory (see version below)
              .__                      .__                          
______   ____ |__| __________   ____   |__| __  _____________ ___.__.
\____ \ /  _ \|  |/  ___/  _ \ /    \  |  \  \/ /  _ \_  __ <   |  |
|  |_> >  <_> )  |\___ (  <_> )   |  \ |  |\   (  <_> )  | \/\___  |
|   __/ \____/|__/____  >____/|___|  / |__| \_/ \____/|__|   / ____|
|__|  nemesis v.2.5.23 \/           \/   © 2008-2023 Volkan Sah   \/   

Disclaimer

The authors of The Extractor do not condone illegal activities and are not responsible for any misuse of the extracted dorks. Always use the extracted dorks responsibly and in accordance with the law.

Copyright

License

This project is licensed under the MIT - see the LICENSE file for details.

the_extractor.py's People

Contributors

volkansah avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 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.