Ethical Hacking Tutorials


Get Our Ethical Hacking with Python EBook

Master Ethical Hacking with Python by building 35+ Tools from scratch. Get your copy now!

Download EBook

Learn how to develop your own ethical hacking tools using Python, including password crackers, brute force scripts, information gathering tools, sniffing and much more.

How to Geolocate IP addresses in Python
How to Geolocate IP addresses in Python

Learn how you can convert an IP address into a geographic location using IPInfo service and its wrapper in Python.

How to Perform DNS Enumeration in Python
How to Perform DNS Enumeration in Python

Learn how you can extract DNS information of a domain name such as nameservers, IP addresses, email services and more using dnspython library in Python.

How to Make a Ransomware in Python
How to Make a Ransomware in Python

Learn how to build a ransomware using symmetric encryption (AES algorithm) with the help of cryptography library in Python.

How to Make a Password Generator in Python
How to Make a Password Generator in Python

Learn how to make a password generator in Python with the ability to choose the length of each character type using the built-in random, string and argparse modules.

How to Make a DHCP Listener using Scapy in Python
How to Make a DHCP Listener using Scapy in Python

Learn how you can make a DHCP listener by sniffing DHCP packets in the network using the Scapy library in Python.

How to Inject Code into HTTP Responses in the Network in Python
How to Inject Code into HTTP Responses in the Network in Python

Learn how you can inject Javascript, HTML or CSS to HTTP response packets in a spoofed network using Scapy and NetfilterQueue in Python.

How to Make a MAC Address Changer in Python
How to Make a MAC Address Changer in Python

Learn how you to make a MAC address changer in Windows and Linux using the subprocess module in Python.

How to Extract Saved WiFi Passwords in Python
How to Extract Saved WiFi Passwords in Python

Learn how you can extract Wi-Fi passwords that are saved in your machine (either Windows or Linux) using Python without installing any third-party library.

How to Extract Chrome Cookies in Python
How to Extract Chrome Cookies in Python

Learn how to extract Google Chrome browser saved cookies and decrypt them on your Windows machine in Python.

How to Make an HTTP Proxy in Python
How to Make an HTTP Proxy in Python

Learn how to use mitmproxy framework to build HTTP proxies using Python

How to Use Shodan API in Python
How to Use Shodan API in Python

Learn how to use Shodan API to make a script that searches for public vulnerable servers, IoT devices, power plants and much more using Python.

How to Extract Chrome Passwords in Python
How to Extract Chrome Passwords in Python

Learn how to extract and decrypt Google Chrome browser saved passwords using Python with the help of sqlite3 and other modules.

How to Make a SYN Flooding Attack in Python
How to Make a SYN Flooding Attack in Python

Learn how to use Scapy library in Python to perform a TCP SYN Flooding attack, which is a form of denial of service attacks.

How to Get Domain Name Information in Python
How to Get Domain Name Information in Python

Learn how to validate domain names using WHOIS, as well as getting domain name information such as domain registrar, creation date, expiration date and more in Python.

How to Build a SQL Injection Scanner in Python
How to Build a SQL Injection Scanner in Python

Learn how to write a simple Python script to detect SQL Injection vulnerability on web applications using requests and BeautifulSoup in Python.

How to Crack PDF Files in Python
How to Crack PDF Files in Python

Learn how you can use pikepdf, pdf2john and other tools to crack password protected PDF files in Python.