Giter Site home page Giter Site logo

ghdb's Introduction

GHDB ICON

Intermezzo

A few moments ago I was mentored by Digit Oktavianto about Cyber Threat Methods, on that opportunity I was told about Google Dorking. He inspired me to create a tools that can automatically check web vulnerabilities by leveraging the Google Hacking Database from Exploit-DB. This tools also can be used as early warning system for system security based on update information from Google Hacking Database [Exploid-DB]. Once again I am very grateful about sharing experiences together.

Tools preview:

After processing using Elastic and Kibana

Methods

The techniques used in this tool are as follows:

  • Crawling Google Hacking Database from Exploit-DB
  • Using crawling results and combines with the target domain to become a search keyword
  • Crawling Google Result based on keyword using Barbarossa
  • Display results on screen or save to file

Requirements

  • Python > 3.6
  • I try this tools in Windows OS.

Installation

1.Clone and Install Requirements

git clone https://github.com/nalonal/ghdb.git
cd ghdb
pip install -r requirements.txt

2.Running Script to Create Cookie.txt File

Run the python script

python ghdb.py

create token file

3.Copy Facebook Developer Tools Token to Cookie.txt

open Facebook Developers Tools in browser and press Ctrl+i or Ctrl+Shift+i enter image description here Open file cookie.txt and paste Facebook Developers Tools Cookie to string text paste_here_without_enter

4.Create ghbdb.txt Database and Update Google Hacking Database from Exploit

Run again python script

python ghdb.py

After update cookie success then system will update GHDB and produce ghdb.txt it will take about 1-2 minute enter image description here

5.Running File

5.1 Running GHDB Dorking

Running help

python ghdb.py -h

Running GHDB but just print screen the result

ghdb.py -d <domain or list domain separate using ',' or you can use file with .txt extension>
example: ghdb.py -d example.com
example: ghdb.py -d example1.com,example2.com
example: ghdb.py -d mylistdomain.txt

Running GHDB and save the result to file

ghdb.py -d <domain or list domain separate using ',' or you can use file with .txt extension> -o <outputfile>
example: ghdb.py -d example.com -o result.txt
example: ghdb.py -d example1.com,example2.com -o result.txt
example: ghdb.py -d mylistdomain.txt -o result.txt

5.2 Running SQLi Dorking

Running help

python sqli.py -h

Running GHDB but just print screen the result

sqli.py -d <domain or list domain separate using ',' or you can use file with .txt extension>
example: sqli.py -d example.com
example: sqli.py -d example1.com,example2.com
example: sqli.py -d mylistdomain.txt

Running GHDB and save the result to file

sqli.py -d <domain or list domain separate using ',' or you can use file with .txt extension> -o <outputfile>
example: sqli.py -d example.com -o result.txt
example: sqli.py -d example1.com,example2.com -o result.txt
example: sqli.py -d mylistdomain.txt -o result.txt

Disclaimer

This script is used as an early warning system based on updating information from the Google Hacking Database [Exploit-DB]. Please use it as wisely as possible

ghdb's People

Contributors

nalonal avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

rastamanvibe ru4h

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.