BARCHA

command module
v0.0.0-...-282c1fa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2025 License: MIT Imports: 15 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Barcha Logo

🚀 Barcha

Go Reference

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! 🎉

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL