Skip to content

Latest commit

Β 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“‘ CAM HUNTER β€” Advanced DVR / NVR / XVR Security Testing Framework

Cam Hunter is an elite, modular, and asynchronous penetration testing framework engineered to identify, verify, and exploit critical vulnerabilities on video surveillance infrastructure (IP cameras, DVR/NVR/XVR recorders) and network storage ecosystems (NAS).

Equipped with 61 dynamically loaded modules, it acts as a comprehensive, localized threat-assessment suite featuring both an interactive CLI console and a hardware-accelerated dark theme desktop application. cli


πŸ› οΈ Project Layout & Component Blueprint

The repository follows a clean, decoupled structure where scripts are automatically mapped by the core loader engine without hardcoded structural dependencies.

dvr-exploit-framework/
β”‚
β”œβ”€β”€ core/
β”‚   β”œβ”€β”€ __init__.py
β”‚   β”œβ”€β”€ base.py             # Abstract parent object for module standardization
β”‚   └── loader.py           # Recursive dynamic python script mapper engine
β”‚
β”œβ”€β”€ modules/                # Massive 61-modules exploit dictionary sorted by OEM/Vendor
β”‚   β”œβ”€β”€ amcrest/            β”œβ”€β”€ dlink/              β”œβ”€β”€ lorex/              β”œβ”€β”€ synology/
β”‚   β”œβ”€β”€ axis/               β”œβ”€β”€ foscam/             β”œβ”€β”€ netgear/            β”œβ”€β”€ trendnet/
β”‚   β”œβ”€β”€ bosch/              β”œβ”€β”€ grandstream/        β”œβ”€β”€ panasonic/          β”œβ”€β”€ tplink/
β”‚   β”œβ”€β”€ brickcom/           β”œβ”€β”€ hikvision/          β”œβ”€β”€ recon/              β”œβ”€β”€ uniview/
β”‚   β”œβ”€β”€ cve_2018_9995_gen/  β”œβ”€β”€ linksys/            β”œβ”€β”€ reolink/            └── xiongmai/
β”‚   └── lsc/                └── samsung/            └── vivotek/
β”‚
β”œβ”€β”€ reports/                # Central reporting engine outputs
β”‚   β”œβ”€β”€ dashboard.html      # Interactive web dashboard with metrics telemetry
β”‚   └── vulnerabilities.txt # Centralized structural text logging ledger
β”‚
β”œβ”€β”€ main.py                 # Core CLI console shell (TAB history, shortcuts, loops)
β”œβ”€β”€ gui_main.py             # PySide6 Cyberpunk Dark Theme Graphical Application Interface
β”œβ”€β”€ Makefile                # Automation workflow task short-bindings
β”œβ”€β”€ docker-compose.yml      # Multi-layer orchestration file
β”œβ”€β”€ Dockerfile              # Isolated sandbox build configuration
└── requirements.txt        # Host python environment package index

πŸš€ Installation & Workspace Initialization

Option 1: Native Deployment (Host Machine)

Ensure you are using Python 3.10 or superior. Isolating the repository setup within a dedicated Python virtual environment is highly recommended:

# Clone the repository
git clone https://github.com
cd cam-hunter

# Setup the virtual environment and install packages via the Makefile utility
make install

# Scenario A: Fire up the interactive Power-User CLI shell
make run

# Scenario B: Launch the PySide6 Cyberpunk Graphical Interface
make gui

Note: Windows users can activate support for input line-tracking and history memory blocks by running pip install pyreadline3 manually inside the active workspace environment.

Option 2: Isolated Container Deployment (Docker / Docker-Compose)

To audit target machines safely inside an isolated system sandbox while preserving your operational HTML logs files on your host terminal computer:

# Build the operational container image layers
docker-compose build

# Spin up the framework console in full interactive TTY mode
docker-compose run cam-hunter

πŸ’‘ Command-Line Interface (CLI) & GUI Operational Manual

Cam Hunter includes advanced Power-User Shortcuts, Smart Auto-Completion via the [TAB] key, and Real-Time Dynamic Filtering inside the graphical application view.

πŸ“‹ Supported System Instructions Matrix

Explicit Input Command Power Shortcut / Alias Context Scope & Behavioral Guidelines
help h Renders the complete, localized advanced shortcuts reference panel.
show modules lm [List Modules] Enumerate all 61 dynamically loaded audit assets.
show options lo / options [List Options] Review mandatory context parameters for the loaded module.
search <keyword> None Filter the internal modules registry instantly by vendor brand name or CVE ID.
use <module_path> None Initialize a target script vector (Supports predictive TAB-completion paths).
set <KEY>=<value> None Bind data values to variables (Accepts spaces, words, or standard operational = format).
run / exploit x [Execute] Fire the active module's asynchronous network payload loops.
vulnscan <IP> vs <IP> [Global Scan] Consecutively cycle ALL scanner scripts against a target host IP.
back None Unload active context layers and return to the generic root framework prompt level.
exit None Terminate runtime safely and write shell inputs persistently into .cam_hunter_history.

🎯 Practical Auditing Scenarios (Step-by-Step Workflow)

Phase 1: Local Network Asset Hunting

Find active video surveillance systems on your target local network segment in under 3 seconds using the fast asynchronous TCP thread scanner:

cam-hunter(none) > use recon/subnet_tcp_sweeper
cam-hunter(recon/subnet_tcp_sweeper) > set SUBNET 192.168.1.0/24
cam-hunter(recon/subnet_tcp_sweeper) > x
...
[+] Discovery phase completed! Live surveillance assets found:
  192.168.1.45       | 81         | Alternative Web/DVR Management (e.g., CVE-2018-9995)
...
cam-hunter(recon/subnet_tcp_sweeper) > back

Phase 2: Mass Vulnerability Profiling

Pass the discovered host target to the global pipeline scan to analyze its exposure profile against the entire exploit dictionary:

cam-hunter(none) > vs 192.168.1.45
[!] TRIGGERING GLOBAL AUTOMATED VULNERABILITY CYCLES AGAINST 192.168.1.45 [!]
---------------------------------------------------------
[*] Running verification script: cve_2018_9995_generic/device_rsp_scan...
  [VULNERABLE] -> Target is VULNERABLE to CVE-2018-9995. Leaked 2 user records.
...
[+] GLOBAL CYCLES TERMINATED. Total vulnerabilities flagged: 1

Phase 3: Exploitation and Credential Harvesting

Instantly fire the attack module payload to dump raw user passwords, update database logs, and auto-refresh the visual reporting matrix:

cam-hunter(none) > use cve_2018_9995_generic/device_rsp_attack
cam-hunter(cve_2018_9995_generic/device_rsp_attack) > set TARGET=192.168.1.45
cam-hunter(cve_2018_9995_generic/device_rsp_attack) > set PORT 81
cam-hunter(cve_2018_9995_generic/device_rsp_attack) > x
[*] Executing automated offensive loops cve_2018_9995_generic/device_rsp_attack tracking host 192.168.1.45...
  [Execution payload returned result] {'success': True, 'details': 'Credentials dumped successfully!\n  -> User: admin | Pass: supervisor123 (RoleID: 1)'}
[+] Finding logged. HTML Dashboard refreshed inside 'reports/dashboard.html'
cam-hunter(cve_2018_9995_generic/device_rsp_attack) > exit

Open your local browser to reports/dashboard.html to review your live operational metrics metrics pane.


gui

🎨 Graphical User Interface (GUI) Workspace

For operators who prefer a visual orchestration terminal over the standard CLI shell, Cam Hunter embeds a hardware-accelerated Cyberpunk Dark Theme Desktop Application powered by PySide6 (Qt for Python).

The GUI ties directly into the core asynchronous routing engine without modifying any of the 61 underlying testing scripts.

🌟 Key Graphical Features

  • Non-Blocking Runtime Threading (QThreads): Long-running network tasks, scans, and asynchronous exploit loops run safely in the background. The window layout never freezes or crashes during active network queries.
  • Real-Time Dynamic Module Filtering: Includes an integrated, instant search bar at the top of the sidebar. Typing keywords (e.g., dahua, cve, scan) dynamically updates the list widget in real time to isolate target vectors instantly.
  • Fluid Input Matrix Generation: Selecting any module from the repository auto-generates the target options data table dynamically based on that specific script's internal variable needs (TARGET, PORT, CMD).

πŸ“Ÿ Launching the GUI App

Ensure you have installed the desktop framework components (pip install PySide6), then run the shortcut trigger directly via your terminal terminal workspace:

make gui

πŸ–ΌοΈ Interface Blueprint Layout

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  🎯 REPOSITORY MODULES               β”‚  πŸš€ ACTIVE PAYLOAD: axis/cve_2023_21406β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ πŸ” Search module (e.g., dahua)...   β”‚  [Variable Key]    [Configured Value]  β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€  TARGET            192.168.1.50         β”‚
β”‚ πŸ“ axis/                             β”‚  PORT              80                   β”‚
β”‚    β”œβ”€β”€ cve_2023_21406_attack         β”‚                                        β”‚
β”‚    └── cve_2023_21406_scan           β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ πŸ“ bosch/                            β”‚  πŸš€ FIRE OFFENSIVE EXPLOIT LOOP        β”‚
β”‚ πŸ“ dahua/                            β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ ... [61 modules indexed]             β”‚  πŸ“Ÿ LIVE SYSTEM OPERATIONAL LOGS       β”‚
β”‚                                      β”‚  [+] Loaded workspace parameters...    β”‚
β”‚                                      β”‚  [*] Connection loop initialized...    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

⚠️ Legal Disclaimer

LISTEN UP: This framework is provided strictly for educational research, defensive threat modeling, and authorized penetration testing operations against owned hardware assets.

The developers do not give a single damn about what you use this tool for, how you use it, or what public targets you fire it at.

If you decide to do stupid things, break networks you do not own, hijack private camera video feeds, or violate international data privacy laws, that is entirely on you. You are an adult responsible for your own actions. The author completely disclaims all legal liability for malicious behavior, legal prosecution, network damage, or data loss caused by misuse of this software. Use it responsibly or face the consequences on your own.


πŸ“„ License

MIT License

Copyright (c) 2026 Cam Hunter Developers

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

An elite, asynchronous security auditing and penetration testing framework for video surveillance infrastructure (DVR/NVR/XVR) and NAS devices. Features a dynamic modular engine with loaded exploits, a power-user interactive CLI with TAB auto-completion, and a hardware-accelerated PySide6 dark-theme GUI layout.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages