Ethical Hacking

How to Make a Brute-Force Script for Password-Protected zip Files

Python has a build-in module zipfile which one can use for extracting zip files from their python code.....

Read More

Networking/Socket Programming

How To Code HTTP Client Using Sockets

If you open your web browser and navigate to http://www.example.com/page1.htm, your browser will need...

Read More

How To Transfer Files on Network Using Socket

In this tutorial we'll first create a server that listens for connection on a specific port number, since server is meant to serve,...

Read More

How to Code a TCP Server/Client

In order to make a TCP server the following process needs to be involved: Create a socket,Bind the socket Make the socket listen for...

Read More

How to Code a UDP Server/Client

While coding a UDP server we do not need to 'listen for connection' or 'accept connectionbecause UDP is a connectionless protocol....

Read More

General

How To Encrypt/Decrpt Files - Python

Encryption is the process of transforming information into a non-human readable format, the cryptograhy python library...

Read More

How to Remove Duplicates in a List

# x is a list that contains many duplicates x = [12, 2, 5, 65, 2, 9, 5, 2, 9, 12], we define another variable that'll hold the unique values...

Read More

How to List File in a Directory

Listing files in a directory can sometimes be very usuful if you'll be working with files and directories in your Python project and there....

Read More

How to Code a Number Guessing Game

we set the secret_number varaible to a randomly generated number by the randint function, This number is between 1 and 9. Then we....

Read More