| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
GhostScan is a multi-threaded security scanning tool written in Go. It detects common web vulnerabilities including LFI, Open Redirect (OR), SQL Injection (SQLi), Cross-Site Scripting (XSS), and CRLF Injection — all from a single, self-contained binary with zero runtime dependencies (except Chrome for XSS/OR).
| Scanner | Type | Detection Method | Threaded |
|---|---|---|---|
| LFI | Local File Inclusion | HTTP 200 + body regex match | ✅ 0–10 workers |
| OR | Open Redirect | Chrome headless (chromedp) URL check | ✅ 2 workers, 3-context pool |
| SQLi | SQL Injection | Time-based (response ≥ 10 s) | ✅ 0–10 workers |
| XSS | Cross-Site Scripting | Chrome headless alert capture | ✅ 2 workers, 3-context pool |
| CRLF | CRLF Injection | HTTP header + body regex match | ✅ 1–10 workers |
| OS | Architecture | Binary |
|---|---|---|
| Linux | amd64 | ghostscan |
| Linux | arm64 | ghostscan |
| macOS | amd64 | ghostscan |
| macOS | arm64 (Apple Silicon) | ghostscan |
| Windows | amd64 | ghostscan.exe |
| Windows | arm64 | ghostscan.exe |
Download the latest release from the GitHub Releases page.
Available archives:
| Platform | Archive |
|---|---|
| Linux amd64 | ghostscan_v2.1.2_linux_amd64.zip |
| Linux arm64 | ghostscan_v2.1.2_linux_arm64.zip |
| macOS amd64 | ghostscan_v2.1.2_darwin_amd64.zip |
| macOS arm64 | ghostscan_v2.1.2_darwin_arm64.zip |
| Windows amd64 | ghostscan_v2.1.2_windows_amd64.zip |
| Windows arm64 | ghostscan_v2.1.2_windows_arm64.zip |
Extract and run:
# Linux / macOS
unzip ghostscan_v2.1.2_linux_amd64.zip
chmod +x ghostscan
./ghostscan
# Windows (PowerShell)
Expand-Archive ghostscan_v2.1.2_windows_amd64.zip .
.\ghostscan.exeVerify the download integrity using the checksums file:
# Linux / macOS sha256sum -c ghostscan_v2.1.2_checksums.txt # Windows (PowerShell) Get-Content ghostscan_v2.1.2_checksums.txt | ForEach-Object { $hash, $file = $_ -split ' ', 2 $actual = (Get-FileHash $file.Trim() -Algorithm SHA256).Hash.ToLower() if ($actual -eq $hash.Replace('sha256:','')) { "OK: $file" } else { "MISMATCH: $file" } }
go install -v github.com/hackthacker/ghostscan@latestRequires Go 1.22 or later.
The LFI, SQLi, and CRLF scanners use standard Go HTTP client requests. However, the XSS and OR scanners require a headless browser at runtime.
# Update apt packages
sudo apt update
# Install Chromium (headless mode support)
sudo apt install -y chromium ____ _ _ ____
/ ___| |__ ___ ___| |_/ ___| ___ __ _ _ __
| | _| '_ \ / _ \/ __| __\___ \ / __/ _ \| '_ \
| |_| | | | | (_) \__ \ |_ ___) | (_| (_| | | | |
\____|_| |_|\___/|___/\__|____/ \___\__,_|_| |_|
────────────────────────────────────────────────────────────────────────
┌────────────────────────────────────────────────────────────────────────┐
│1] LFi Scanner │
│2] OR Scanner │
│3] SQLi Scanner │
│4] XSS Scanner │
│5] CRLF Scanner │
│6] tool Update │
│7] Exit │
└────────────────────────────────────────────────────────────────────────┘
────────────────────────────────────────────────────────────────────────
Created by hackthacker | github.com/hackthacker
────────────────────────────────────────────────────────────────────────
Select an option by entering the corresponding number:
────────────────────────────────────────────────────────────────────────
Each scanner follows the same interactive flow:
Detects Local File Inclusion by sending payloads appended to the URL and matching the response body against regex patterns.
Example flow:
[?] Enter the path to the input file containing the URLs (or press Enter to input a single URL): [?] Enter a single URL to scan: http://example.com/page.php?file= [?] Use default LFI payloads? (Y/n): [?] Enter the success criteria patterns (comma-separated, press Enter for 'root:x:0:'): [?] Enter the number of concurrent threads (0-10, press Enter for 5): 5 → Scanning URL: http://example.com/page.php?file= [→] Scanning with payload: /etc/passwd [✓] Vulnerable: http://example.com/page.php?file=%2Fetc%2Fpasswd - Response Time: 1.23 seconds [→] Scanning with payload: /etc/shadow [✗] Not Vulnerable: http://example.com/page.php?file=%2Fetc%2Fshadow - Response Time: 0.45 seconds ┌──────────────────────────────────┐ │→ Scanning finished. │ │• Total found: 1 │ │• Total scanned: 2 │ │• Time taken: 2 seconds │ └──────────────────────────────────┘
Detects Open Redirect vulnerabilities using headless Chrome.
Detects blind SQL injection by measuring HTTP response latency.
Payload type menu:
[?] Select SQL injection payload type: 1) Generic 2) Mysql 3) Mssql 4) Oracle 5) Postgresql 6) Xor 7) Custom file [?] Enter choice (1-7):
Detects reflected XSS by injecting payloads via headless Chrome and catching JavaScript alert() calls.
Detects CRLF injection by analysing response headers and body using regex patterns.
All configuration is interactive — there are no config files or environment variables.
| Prompt | Scanner | Default |
|---|---|---|
| URL list file or single URL | All | — |
| Default payloads? (Y/n) | LFI, OR, XSS | Y (embedded) |
| SQL injection type | SQLi | — |
| Cookie header | SQLi | (none) |
| Success criteria regex | LFI | root:x:0: |
| Timeout per page (seconds) | XSS | 0.5 |
| Thread count (0–10) | LFI, SQLi | 5 |
| Thread count (1–10) | CRLF | 5 |
| Generate HTML report? (y/n) | All | — |
| Report filename | All | varies |
After each scan you can optionally generate a self-contained HTML report:
Reports are saved to your current working directory.
Guidelines:
MIT © 2025 hackthacker
| Back | FazBrowse Home | New Git URL |