Skip to content
/ Barcha Public

Barcha is your Swiss‑Army knife for SQL Injection reconnaissance 🔍. Written in Go, it automates: Shodan enumeration of SSL hosts 🕵️‍♂️ Liveness & redirect checks (ignores bad certs) 🔄 Automated Ghauri tests for each host 🛡️ SQLite logging of every scan 🔖

License

Notifications You must be signed in to change notification settings

S1N6H/Barcha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Barcha Logo

🚀 Barcha

Go Reference
License: MIT

Barcha is your Swiss‑Army knife for SQL Injection reconnaissance 🔍. Written in Go, it automates:

  • Shodan enumeration of SSL hosts 🕵️‍♂️
  • Liveness & redirect checks (ignores bad certs) 🔄
  • Automated Ghauri tests for each host 🛡️
  • SQLite logging of every scan 🔖

🌟 Features

  • 📡 Shodan Dork: hostname:"*.example.com" -403 -503 -http.title:"Invalid URL" -302 -404

  • 🖧 Reverse DNS: IP → hostname, skips amazonaws NAT addresses

  • 🔀 Redirect Handling: Follows HTTP ↔ HTTPS transparently

  • 🔐 TLS Flexibility: Ignores expired/self‑signed certs

  • 🛠️ Ghauri Integration: ghauri -u --random-agent --confirm --force-ssl --level=3 --dbs --dump --batch

  • 📊 History: Logs into barcha_history.db

📸 Screenshots

Barcha Scan Preview 1
Figure 1. Per‑host SQLi testing via Ghauri.

Barcha Ghauri Integration
Figure 2. Live host detection & redirect checks.

📋 Requirements

  • Go 1.18+
  • Ghauri installed & on PATH
  • A Shodan API key in SHODAN_API_KEY

⚡ Installation

go install github.com/S1N6H/Barcha@latest

🏃 Usage Export your Shodan key

export SHODAN_API_KEY="YOUR_SHODAN_API_KEY" Run Barcha

./barcha

Enter your target domain when prompted (e.g. example.com)

Watch it go! 🎉

About

Barcha is your Swiss‑Army knife for SQL Injection reconnaissance 🔍. Written in Go, it automates: Shodan enumeration of SSL hosts 🕵️‍♂️ Liveness & redirect checks (ignores bad certs) 🔄 Automated Ghauri tests for each host 🛡️ SQLite logging of every scan 🔖

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages