The cybersecurity landscape is dynamically shifting, demanding innovative strategies to combat evolving threats. Ethical hacking, also known as penetration testing, plays a crucial role in identifying vulnerabilities before malicious actors can exploit them. Scripting languages like Python are widely used by ethical hackers due to their versatility