Sploitus

Exploit for Ghostlink_lite

githubexploit Β· 2026-08-08

Exploit Code

README151 lines
## https://sploitus.com/exploit?id=00FB1824-9216-5488-85C9-0572F4EFE1AC
# GHOSTLINK // Enterprise Cyber Command Center & Defensive Scanner

[![Python Version](https://img.shields.io/badge/Python-3.9%2B-blue.svg)](https://www.python.org/)
[![Flask Web GUI](https://img.shields.io/badge/Web_GUI-Flask-00f2ff.svg)](https://flask.palletsprojects.com/)
[![License](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
[![Security Status](https://img.shields.io/badge/Defensive-Security_Assessor-red.svg)](#legal--ethical-disclaimer)

**GHOSTLINK** is a lightweight, high-performance network security scanner and interactive cyber command center. It provides network asset discovery, port risk analysis, CVE advisory leads, Exploit-DB public metadata correlation, automated hardening script generation (PowerShell & Bash), and executive-grade PDF security reports.

Designed for home networks, IT administrators, and security analystsβ€”available both as a standalone **CLI terminal tool** and a **Web GUI Command Center**.

---

## πŸš€ Key Features

- πŸ“‘ **Subnet & CIDR Asset Discovery**: Fast multi-threaded ping sweeps and TCP port probing (supports IP addresses like `192.168.1.1` or CIDRs like `192.168.1.0/24`).
- πŸ” **Service Banner & Fingerprinting**: Identifies common listening services (SSH, FTP, HTTP, SMB, RDP, VNC, Redis, MySQL, MSSQL) and flags high-risk network ports.
- πŸ›‘οΈ **CVE Advisory & Exploit-DB Index Correlation**: Maps reachable services against public CVE advisory leads and cross-references public Exploit-DB metadata without downloading PoC files.
- πŸ“œ **Automated Hardening Script Generator**: Generates copy-paste ready PowerShell and Bash scripts tailored to block exposed ports and secure host services.
- πŸ“Š **Executive PDF Report Exporter**: Generates dark-themed, publication-ready PDF security reports with risk scoring and audit trails.
- πŸ–₯️ **Dual Modes (CLI & Web GUI)**:
  - **CLI Mode**: Terminal interface using standard output or enhanced Rich terminal formatting.
  - **Web GUI Mode**: Tactical cyberpunk-styled desktop interface with interactive canvas network topology, real-time radar telemetry, and terminal logging streams.
- πŸ” **100% Offline & Private**: Zero external API keys or cloud dependencies required. Runs purely on your local machine.

---

## πŸ› οΈ Project Structure

```text
ghostlink/
β”œβ”€β”€ ghostlink_lite.py       # Core scanner engine & CLI interface
β”œβ”€β”€ ghostlink_gui/          # Tactical Web GUI application
β”‚   β”œβ”€β”€ app.py              # Flask server backend & local API
β”‚   β”œβ”€β”€ pdf_report.py       # ReportLab PDF report generation engine
β”‚   β”œβ”€β”€ templates/          # Web Command Center HTML templates
β”‚   β”œβ”€β”€ static/             # Cyberpunk styling & JS topology canvas
β”‚   └── requirements.txt    # GUI dependencies
β”œβ”€β”€ requirements.txt        # Top-level Python requirements
β”œβ”€β”€ .env.example            # Environment variables template
β”œβ”€β”€ .gitignore              # Git ignore rules
β”œβ”€β”€ run.bat                 # Windows interactive launcher
β”œβ”€β”€ run_cli.bat / .sh       # CLI mode launchers (Windows & Linux/macOS)
β”œβ”€β”€ run_gui.bat / .sh       # GUI mode launchers (Windows & Linux/macOS)
β”œβ”€β”€ LICENSE                 # MIT License
β”œβ”€β”€ SECURITY.md             # Security policy & disclaimer
└── README.md               # Documentation
```

---

## ⚑ Quick Start

### 1. Clone the Repository
```bash
git clone https://github.com/rudhrachevli/Ghostlink_lite.git
cd Ghostlink_lite
```

### 2. Install Dependencies
```bash
pip install -r requirements.txt
```

---

## πŸ–₯️ Usage

### Option A: Launch Interactive Menu (Windows)
Double-click `run.bat` or run:
```cmd
run.bat
```

---

### Option B: Web GUI Command Center
Launch the Web GUI server and open your desktop browser interface:

**Windows**:
```cmd
run_gui.bat
```

**Linux / macOS**:
```bash
chmod +x run_gui.sh
./run_gui.sh
```

**Or directly with Python**:
```bash
python ghostlink_gui/app.py
```
> The GUI automatically opens on `http://127.0.0.1:5002`.

---

### Option C: Terminal CLI Mode

**Interactive Terminal Menu**:
```bash
python ghostlink_lite.py
```

**Quick Command Line Scan**:
```bash
# Scan a network CIDR subnet
python ghostlink_lite.py scan 192.168.1.0/24

# Deep scan a specific host IP
python ghostlink_lite.py check 192.168.1.1

# Save scan output to JSON
python ghostlink_lite.py scan 192.168.1.0/24 -o network_report.json
```

---

## πŸ›‘οΈ Security Hardening & Remediation

When a host exposes risky ports (e.g. SMB port 445, Telnet port 23, RDP port 3389, VNC port 5900), GHOSTLINK automatically generates custom defensive hardening commands for:

- **Windows PowerShell**: Disables legacy protocols (SMBv1), restricts inbound firewall rules, and enforces Remote Desktop Network Level Authentication (NLA).
- **Linux Bash**: Configures `ufw` firewall rules and stops insecure systemd sockets (e.g., Telnet, VNC).

---

## πŸ“„ PDF Security Report

Export comprehensive, executive-grade PDF assessment reports directly from the Web GUI. Reports include:
- Overall Network Security Score (0-100)
- Host inventory & OS fingerprinting table
- Per-host risk severity breakdown (Critical, High, Medium, Low)
- Safe verification steps and protection guidance
- CVE & Exploit-DB correlation tables

---

## ⚠️ Legal & Ethical Disclaimer

**GHOSTLINK is created exclusively for legal, defensive security assessment.**

> Always ensure you have explicit, written authorization before scanning any network, subnet, or host system. Scanning targets without permission may violate computer security laws and regulations. The developers assume no liability for misuse or damage caused by this software.

---

## πŸ“ License

This project is licensed under the [MIT License](LICENSE).