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