
Python exploit for CVE-2014-6271 (Shellshock) that injects malicious HTTP headers into CGI scripts to execute arbitrary commands via Bash environment variable injection.
A clean, efficient, and interactive Python implementation designed to test for the Shellshock vulnerability (CVE-2014-6271) via HTTP environment variable injection.
Shellshock (CVE-2014-6271) is a critical security vulnerability in the Bash shell that allows attackers to execute arbitrary commands by trailing them at the end of function definitions stored in environment variables.
This script targets web servers using CGI (Common Gateway Interface) scripts. When a server passes HTTP headers (like User-Agent) to a Bash-based CGI script, this tool injects a malicious payload to hijack the execution flow and run system commands.
echo headers to ensure command output is visible.colorama for a clear, professional interface.git clone https://github.com/im2nerd/CVE-2014-6271
pip install requests colorama
WARNING: This tool is intended for educational purposes and authorized ethical hacking/penetration testing only. Attacking targets without prior explicit consent is illegal and punishable by law. The author assumes no liability for any misuse or damage caused by this program.