How vulnace/dark-embargo-htb-exploit works
This repository is a standalone Python exploit for the HTB Dark Embargo target, not the target web application. Its principal workflow is to connect to the target, optionally pin Apache workers, leak address bases, trigger the session/OOM state, send a forged-value spray, then retrieve command output. The README documents the vulnerability chain and target behavior; the source excerpt shows the exploit stages and HTTP helpers, but omitted code limits evidence for some internal calls.
Main entry points: dark_embargo_htb.py Exploit CLI
Components 12
HTTP Transport
- Target Connection
dark_embargo_htb.py - HTTP Requests
dark_embargo_htb.py - Proof Retrieval
dark_embargo_htb.py
Exploit Stages
- Exploit CLI
dark_embargo_htb.py - Worker Saturation
dark_embargo_htb.py - Address Leak
dark_embargo_htb.py - UAF Arming
dark_embargo_htb.py - Forged Spray
dark_embargo_htb.py
Command Execution
- PHP Vulnerability Chain
- Injected Command
dark_embargo_htb.py
Other components
- Operator
- Apache mod_php
Connections 17
- Operator → Exploit CLI: configures
dark_embargo_htb.py - Exploit CLI → Target Connection: creates
dark_embargo_htb.py - Target Connection → HTTP Requests: sends requests
dark_embargo_htb.py - HTTP Requests → Apache mod_php: targets
README.md - Exploit CLI → Worker Saturation: runs
README.md - Worker Saturation → Apache mod_php: pins workers
README.md - Exploit CLI → Address Leak: runs
dark_embargo_htb.py - Address Leak → HTTP Requests: posts payloads
dark_embargo_htb.py - Exploit CLI → UAF Arming: runs
README.md - UAF Arming → HTTP Requests: posts multipart
dark_embargo_htb.py - Exploit CLI → Forged Spray: runs
README.md - Forged Spray → HTTP Requests: posts spray
dark_embargo_htb.py - HTTP Requests → PHP Vulnerability Chain: triggers
README.md - PHP Vulnerability Chain → Injected Command: calls destructor
README.md - Injected Command → Apache mod_php: runs as www-data
README.md - Exploit CLI → Proof Retrieval: requests proof
dark_embargo_htb.py - Proof Retrieval → HTTP Requests: fetches output
dark_embargo_htb.py