Katana v1.5.3 releases: Python Tool For google Hacking

Katana

Katana-ds

Katana-ds (ds for dork_scanner) is a simple python tool that automates Google Hacking/Dorking and supports Tor
It becomes more powerful in combination with GHDB

Changelog v1.5.3

  • No need to set the TLD in google Mode
  • No need to set the TLD in Scada Mode
  • More Scada Results (after adding More dorks)
  • Partially solved the HTTP Errors
  • Proxy Mode will display 100 proxy server each time

Install

git clone https://github.com/adnane-X-tebbaa/Katana.git
cd Katana
python3 pip install -r requirments
python3 katana-ds.py

Usage

python3 katana-ds.py -h (for help)

Options :
-g :for google mode
-s :for scada mode
-t :for tor mode

 

Google Mode :

Google mode gives you 2 inputs the “Dork” and the “TLD” (Top Level Domain) that gives you the ability to search in specific countries.

e.g : com for Usa / co.ma for Morocco / be for Belgium

For more please see the included TLDs.txt file.

 

Scada Mode :

Scada mode search in google for online PLCs this actually uses multiple requests so your ip will be blocked by Google so changing the TLD will solve the problem and the script provides inputs for that.

-!> this is just an example actually it shows a lot of results

Katana

 

Example of Allen-Bradley PLC dashboard found using Scada Mode

 

Tor Mode :

Tor mode gives you 1 input which is the search query but before you should have tor proxy running on port 9050 this time there is no ip blocking the script search in 3 tor search engines Phobos, Tor66 and Tordex (more will be added)

-!> this is just an example actually it shows a lot of results

What if :

  • The script print ‘HTTP Error 429 too many requests’ :
    change the TLD
  • The script print ‘urllib.error.URLError Errno 1104’ :
    chek if the TLD is true
  • Changing the TLD doesn’t work : (2 solutions)
    1-change your ip by disconnecting and reconnecting again or use a good vpn 2-Delete the .google-cookie file in Katana Directory
  • Tor mode show ‘Failed to establish a new connection’ :
    make sure that tor proxy up and running on port 9050

Proxy Mode :

Proxy mode find proxy servers and print them it will print 25 Different Proxy server Each time

Copyright (c) 2020 adnane-x-tebbaa
Source: https://github.com/adnane-X-tebbaa/