Python Code Tutorials


articles/crafting-packets-scapy.png
Crafting Dummy Packets with Scapy Using Python

Discover how to create custom dummy packets using Python's Scapy library to simulate network traffic, test firewall rules, and monitor latency. This tutorial covers practical examples for TCP, ICMP, and UDP packets, with real-world applications in network performance monitoring.

articles/tcp-proxy-in-python.png
How to Build a TCP Proxy with Python

Learn to build a TCP proxy in Python to intercept and analyze real-time data flow between client and server. Ideal for debugging, protocol analysis, and understanding network communication, this guide provides step-by-step implementation and practical examples.

articles/netcat-implementation-in-python.png
How to Build a Custom Netcat with Python

Learn how to create a custom Python-based Netcat tool for network debugging, file transfers, and remote command execution. Perfect for networking and cybersecurity enthusiasts, this guide provides hands-on code and practical examples.

articles/ai-online-code-generators.jpg
3 Best Online AI Code Generators

Explore the top 3 AI code generators—CodeConvert, ZZZ Code AI, and CodingFleet. Compare their features, pros, and cons to find the best tool for your coding needs, with CodingFleet leading for its advanced features and versatility.

articles/credit-card-validation-with-python.jpg
How to Validate Credit Card Numbers in Python

Learn to validate credit card numbers using the Luhn algorithm in Python. This tutorial covers the algorithm steps, card type detection, and handling multiple card numbers from a file.

articles/clickjacking-check-python.jpg
How to Make a Clickjacking Vulnerability Scanner with Python

Learn how to create a Python script to detect clickjacking vulnerabilities in websites. This tutorial covers the basics of clickjacking, protection methods, and provides step-by-step instructions to build a simple yet effective clickjacking vulnerability scanner.

articles/reverse-dns-lookup-python.jpg
How to Perform Reverse DNS Lookups Using Python

Learn how to perform reverse DNS lookups and find other websites hosted on the same server using Python and the ViewDNS API. Perfect for network administrators and cybersecurity professionals.

articles/checking-password-strength-in-python.jpg
How to Check Password Strength with Python

Learn how to check password strength in Python using the zxcvbn library. This guide walks you through installing zxcvbn, importing necessary libraries, and creating functions to test single and multiple passwords. You'll securely input passwords and receive feedback on their strength.

articles/breakout-game-pygame-in-python.jpg
How to Build a Breakout Game with PyGame in Python

Learn to build a classic Breakout game in Python using Pygame. This tutorial covers setting up the game window, creating the paddle, ball, and bricks, adding ball bouncing logic, updating scores, and incorporating sounds.

articles/adding-sound-effects-to-python-games.jpg
How to Add Sound Effects to your Python Game

Enhance your Python games with sound effects using Pygame. This tutorial covers installing Pygame, loading sounds, and incorporating audio feedback into games like Flappy Bird.

articles/remove-persistent-malware-in-python.jpg
How to Remove Persistent Malware in Python

Learn how to detect and remove persistent malware using Python in this step-by-step tutorial. Explore methods for automating malware removal across Windows and Linux systems by manipulating startup entries and crontab files.

articles/make-malware-persistent-in-python.jpg
How to Make Malware Persistent in Python

Learn how to achieve persistence for malware using Python, ensuring it remains active after system reboots. This tutorial guides you through implementing persistence techniques on both Windows and Linux systems, from modifying registry settings to setting up cron jobs.

articles/pacman-game-in-python.jpg
How to Make a Pacman Game with Python

Learn how to create a Pacman game using Python and Pygame with this comprehensive tutorial. Covering everything from setting up your environment, creating game characters and components, to running the game, this guide provides step-by-step instructions to build a fully functional Pacman game.

articles/exploit-command-injection-vulnerabilities-in-python.jpg
How to Exploit Command Injection Vulnerabilities in Python

Automate the detection and exploitation of OS command injection vulnerabilities using Python. This comprehensive guide covers setting up a test environment with DVWA and Metasploitable, detecting vulnerabilities, and automating tests with custom scripts.

articles/how-to-make-spyware-in-python.jpg
How to Build Spyware in Python

Create a spyware in Python in this guide. Learn to build a surveillance tool that captures live video streams via a client-server architecture, with practical insights into network communication and video handling using OpenCV.

articles/make-a-docx-metadata-extractor-in-python.jpg
How to Extract Metadata from Docx Files in Python

Learn how to extract metadata from .docx files using Python-docx, a vital skill in digital forensics for analyzing document origins and malware tactics. This guide covers installation, coding with Python, and practical metadata analysis techniques.