Abdou Rockikz's Articles


articles/text-summarization-using-huggingface-transformers_ldqyycI.PNG
How to Perform Text Summarization using Transformers in Python

Learn how to use Huggingface transformers and PyTorch libraries to summarize long text, using pipeline API and T5 transformer model in Python.

articles/barcode-reader-in-python.png
How to Make a Barcode Reader in Python

Learn how to make a barcode scanner that decodes barcodes and draw them in the image using pyzbar and OpenCV libraries in Python

articles/chrome-password-extractor.PNG
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.

articles/pdf-image-extractor-using-python.PNG
How to Extract Images from PDF in Python

Learn how to extract and save images from PDF files in Python using PyMuPDF and Pillow libraries.

articles/pdf-link-extractor-using-python.PNG
How to Extract All PDF Links in Python

Learn how you can extract links and URLs from PDF files with Python using pikepdf and PyMuPDF libraries.

articles/get-google-page-ranking-in-python.png
How to Get Google Page Ranking in Python

Learn how to use Google Custom Search Engine API to get the keyword position ranking of a specific page in Python.

articles/make-a-tcp-syn-flood-attack-in-python-using-scapy.PNG
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.

articles/extracting-youtube-comments-in-python.PNG
How to Extract YouTube Comments in Python

Learn how you can monitor network traffic in the browser to write a Python script that extracts YouTube comments using requests library in Python.

articles/get-geolocation-in-python.PNG
How to Get Geolocation in Python

Learn how to use GeoPy library to geocode physical addresses into latitude and longitude and vice versa; getting latitude and longitude from addresses, towns, cities and more in Python.

articles/get-domain-information-in-python.PNG
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.

articles/make-url-shortener-in-python.PNG
How to Make a URL Shortener in Python

Learn how to use Bitly and Cuttly APIs to shorten long URLs programmatically using requests library in Python.

articles/using-regular-expressions-in-python.PNG
How to Use Regular Expressions in Python

Learn how to use Python's built-in re module to use several string matching techniques using functions like match, search, finditer and sub.

articles/working-with-json-files-in-python.PNG
How to Work with JSON Files in Python

Learn how to save (serialize) and load (deserialize) JSON files in Python using the built-in json module.

articles/skin-cancer-detection-using-tensorflow2-in-python.jpg
Skin Cancer Detection using TensorFlow in Python

Learn how to use transfer learning to build a model that is able to classify benign and malignant (melanoma) skin diseases in Python using TensorFlow 2.

articles/sql-injection-vulnerability-scanner-in-python.PNG
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.

articles/using-mongodb-in-python.PNG
How to Use MongoDB Database in Python

Learn how to connect to a MongoDB database, list databases, collections, insert data into collections, fetching data from collections and more in Python using pymongo driver module.

articles/gender-recognition-by-voice.png
How to Perform Voice Gender Recognition using TensorFlow in Python

Learn how to build a deep learning model that is able to detect and recognize your gender just by your voice tone using Tensorflow framework in Python.

articles/connect-to-remote-mysql-database-in-python.PNG
How to Connect to a Remote MySQL Database in Python

Learn how to configure your MySQL server to be able to accept remote connections from Python

articles/using-mysql-connector-in-python.PNG
How to Use MySQL Database in Python

Learn how to connect to a MySQL database, create tables, insert and fetch data in Python using MySQL connector.

articles/translate-text-in-python.PNG
How to Translate Text in Python

Learn how to do text translation using Google Translate API with Googletrans wrapper library to translate text into more than 100 languages using Python.

articles/cracking-pdf-passwords-in-python.PNG
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.

articles/using-google-drive-api-in-python.PNG
How to Use Google Drive API in Python

Learn how you can use Google Drive API to list files, search for specific files or file types, download and upload files from/to Google Drive in Python.

articles/blurring-faces-using-opencv-in-python.jpg
How to Blur Faces in Images using OpenCV in Python

Blurring and anonymizing faces in images and videos after performing face detection using OpenCV library in Python.

articles/text-to-speech-in-python.PNG
How to Convert Text to Speech in Python

Learn how you to perform speech synthesis by converting text to speech both online and offline using gTTS and pyttsx3 libraries in Python.

articles/download-and-upload-files-in-ftp-server-using-python.PNG
How to Download and Upload Files in FTP Server using Python

Learn how to use Python's built-in ftplib module to download and upload files in a FTP server using RETR and STOR commands respectively.

articles/reading-emails-in-python.PNG
How to Read Emails in Python

Learn how you can use IMAP protocol to extract, parse and read emails from outlook, gmail and other email providers as well as downloading attachments using imaplib module in Python.

articles/using-github-apis.PNG
How to Use Github API in Python

Using Github Application Programming Interface v3 to search for repositories, users, making a commit, deleting a file, and more in Python using requests and PyGithub libraries.

articles/extracting-forms-in-webpages-and-submitting-them-in-python.PNG
How to Extract and Submit Web Forms from a URL using Python

Learn how you can scrape forms from web pages, as well as filling and submitting them using requests html and beautiful soup in Python.

articles/listing-files-and-directories-in-ftp-server-using-python.PNG
How to List all Files and Directories in FTP Server using Python

Listing all files and directories in an FTP server using LIST, NLST and MLSD FTP commands in Python using the built-in ftplib module.

articles/text-classification-using-tensorflow-in-python.PNG
How to Perform Text Classification in Python using Tensorflow 2 and Keras

Building deep learning models (using embedding and recurrent layers) for different text classification problems such as sentiment analysis or 20 news group classification using Tensorflow and Keras in Python

articles/use-custom-search-engine-in-python.PNG
How to Use Google Custom Search Engine API in Python

Learning how to create your own Google Custom Search Engine and use its Application Programming Interface (API) in Python.

articles/zip-file-password-cracker-in-python.png
How to Brute Force ZIP File Passwords in Python

Learn how to brute force zip file passwords using dictionary attack in Python using the built-in zipfile module.

articles/image-metadata-extractor-in-python.png
How to Extract Image Metadata in Python

Learn how you can extract image metadata such as GPS info, camera make, model and much more using Exchangeable Image file Format (EXIF) in Python with Pillow library.

articles/wifi-scanner-in-python-using-scapy.jpg
How to Build a WiFi Scanner in Python using Scapy

Building a Wi-Fi scanner in Python using Scapy that finds and displays available nearby wireless networks and their MAC address, dBm signal, channel and encryption type.

articles/brute-force-ftp-servers-in-python.PNG
How to Brute Force FTP Servers in Python

Learning how to crack FTP servers using dictionary attack (brute-forcing with a wordlist) with the help of ftplib module in Python.

articles/record-and-play-audio-in-python.PNG
How to Play and Record Audio in Python

Learn how to play and record sound files using different libraries such as playsound, Pydub and PyAudio in Python.

articles/using-threads-in-python.PNG
How to Use Threads for IO Tasks in Python

Using different methods such as thread pool executor or threading module to create and handle threads for speeding up I/O bound tasks in Python.

articles/css-and-script-files-extractor-in-python.PNG
How to Extract Script and CSS Files from Web Pages in Python

Building a tool to extract all Javascript and CSS files from a web page in Python using requests and BeautifulSoup.

articles/object-detection-yolo-with-pytorch-and-opencv-in-python.jpg
How to Perform YOLO Object Detection using OpenCV and PyTorch in Python

Using the state-of-the-art YOLOv3 object detection for real-time object detection, recognition and localization in Python using OpenCV and PyTorch.

articles/torrent-downloader-in-python.PNG
How to Download Torrent Files in Python

Using Python wrapper for qBittorrent Web API to automatically download, pause and handle torrent files in Python.

articles/stock-prediction-with-python-using-tensorflow2-and-keras.jpg
How to Predict Stock Prices in Python using TensorFlow 2 and Keras

Predicting different stock prices using Long Short-Term Memory Recurrent Neural Network in Python using TensorFlow 2 and Keras.

articles/monitoring-directory-size-in-python.PNG
How to Get the Size of Directories in Python

Calculating the size of a directory in bytes in Python and plotting a pie using matplotlib to see which subdirectory takes most size.

articles/using-proxies-in-python.PNG
How to Use Proxies to Rotate IP Addresses in Python

Learn how to perform web scraping at scale by preventing websites to ban your ip address while scraping them using different proxy methods in Python.

articles/html-table-extractor-in-python.png
How to Convert HTML Tables into CSV Files in Python

Extracting HTML tables using requests and beautiful soup and then saving it as CSV file or any other format in Python.

articles/random-data-generation-in-python-using-random-module.PNG
How to Generate Random Data in Python

Generating random integers, floating point numbers, strings and bytes using random, os and secrets built-in modules in Python.

articles/hashing-functions-in-python-using-hashlib_YTbljC1.PNG
How to Use Hashing Algorithms in Python using hashlib

Using different hashing algorithms such as SHA-2, SHA-3 and BLAKE2 in Python using hashlib built-in module for data integrity.

articles/handling-files-in-python-using-os-module.jpg
How to Handle Files in Python

Learn how to work with files in Python using os and shutil modules including creating, renaming, moving, removing files and directories, listing all current files and directories and more.

articles/email-harvester-in-python.PNG
How to Make an Email Extractor in Python

Building a Python tool to automatically extract email addresses in any web page using requests-html library and regular expressions in Python.

articles/convert-python-files-to-executables.png
How to Convert Python Files into Executables

Using PyInstaller package to bundle Python applications and all its dependencies into a single stand-alone executables.

articles/sending-emails-using-python.PNG
How to Send Emails in Python

Learn how to use Python's standard library smtplib and email modules to connect to any SMTP server and send emails in Python automatically.

articles/ipaddress-module-in-python.PNG
How to Manipulate IP Addresses in Python using ipaddress Module

Using ipaddress standard Python library to manipulate IPv4 and IPv6 addresses, networks, subnets and more.

articles/xss-vulnerability-scanner-python.PNG
How to Build a XSS Vulnerability Scanner in Python

Building a Python script that detects XSS vulnerability in web pages using requests and BeautifulSoup.

articles/execute-shell-commands-in-python-using-paramiko.PNG
How to Execute Shell Commands in a Remote Machine in Python

Learning how you can execute shell commands and scripts on a remote machine in Python using paramiko library.

articles/ssh-bruteforce.PNG
How to Brute-Force SSH Servers in Python

Writing a Python script to brute-force SSH credentials on a SSH server using paramiko library in Python.

articles/automate-server-management-veesp-python.PNG
How to Automate your VPS or Dedicated Server Management in Python

Learning how you can automate routine tasks and manage servers on your Veesp Virtual Private Servers or dedicated servers in Python using Web APIs and requests library.

articles/python-object-serialization.PNG
How to Use Pickle for Object Serialization in Python

Using Python standard library pickle module to save (pickle) and load (unpickle) any type of object in Python.

articles/steganography-python.PNG
How to Use Steganography to Hide Secret Data in Images in Python

Learning how to hide secret data in images using Steganography least significant bit technique in Python.

articles/kmeans-image-segmentation-opencv-python.png
How to Use K-Means Clustering for Image Segmentation using OpenCV in Python

Using K-Means Clustering unsupervised machine learning algorithm to segment different parts of an image using OpenCV in Python.

articles/pdf-table-extractor-python.png
How to Extract PDF Tables in Python

Learning how to extract PDF Tables in Python using camelot library and export them into several formats such as CSV, excel, Pandas data frame and HTML.

articles/contour-detection-opencv-python_BTghyzf.PNG
How to Detect Contours in Images using OpenCV in Python

Learning how to detect contours in images for image segmentation, shape analysis and object detection and recognition using OpenCV in Python.

articles/optical-character-recognition-python.PNG
How to Recognize Optical Characters in Images in Python

Using Tesseract OCR library and pytesseract wrapper for optical character recognition (OCR) to convert text in images into digital text in Python.

articles/shape-detector.PNG
How to Detect Shapes in Images in Python using OpenCV

Detecting shapes, lines and circles in images using Hough Transform technique with OpenCV in Python. Hough transform is a popular feature extraction technique to detect any shape within an image.

articles/speech_recognition_JrJ6qTa.PNG
How to Convert Speech to Text in Python

Learning how to use Speech Recognition Python library for performing speech recognition to convert audio speech to text in Python.

articles/edge-detector.PNG
How to Perform Edge Detection in Python using OpenCV

Learning how to apply edge detection in computer vision applications using canny edge detector algorithm with OpenCV in Python.

articles/subdomain_scanner.png
How to Make a Subdomain Scanner in Python

Learning how to build a Python script to scan for subdomains of a given domain using requests library.

articles/link-extractor.png
How to Extract All Website Links in Python

Building a crawler to extract all website internal and external links using requests, requests_html and beautiful soup in Python.

articles/transfer-learning-flower-type-classification.png
How to Use Transfer Learning for Image Classification using TensorFlow in Python

Learn what is transfer learning and how to use pre trained MobileNet model for better performance to classify flowers using TensorFlow in Python.

articles/compress-files.PNG
How to Compress and Decompress Files in Python

Learn how to compress and decompress files, folders and symbolic links in Python using gzip compression in tarfile built-in module.

articles/download-images.PNG
How to Download All Images from a Web Page in Python

Learn how to extract and download images from a single web page in Python using requests and BeautifulSoup libraries.

articles/file-encryption.PNG
How to Encrypt and Decrypt Files in Python

Encrypting and decrypting files in Python using symmetric encryption scheme with cryptography library.

articles/reverse_shell.jpg
How to Create a Reverse Shell in Python

Building a reverse shell in Python using sockets that can execute remote shell commands and send the results back to the server.

articles/text-generator.jpg
How to Build a Text Generator using TensorFlow 2 and Keras in Python

Building a deep learning model to generate human readable text using Recurrent Neural Networks (RNNs) and LSTM with TensorFlow and Keras frameworks in Python.

articles/file_downloader.PNG
How to Download Files in Python

Downloading files from the Internet over HTTP in Python using requests library and tqdm to print nice progress bars.

articles/weather_extractor.jpg
How to Extract Weather Data from Google in Python

Scraping Google weather search page to extract useful information such as current weather, temperature, next days' weather and much more in Python using requests and Beautiful Soup.

articles/generate_and_read_qrcode.jpg
How to Generate and Read QR Code in Python

Learning how you can generate and read QR Code in Python using qrcode and OpenCV libraries.

articles/extract-youtube-videos-data-in-python.jpg
How to Extract YouTube Data in Python

Scraping YouTube videos and extracting useful video information such as title, total views, publish date, video duration, tags, likes and dislikes and more in Python using requests_html and Beautiful Soup libraries.

articles/image_classification.jpg
How to Make an Image Classifier in Python using Tensorflow 2 and Keras

Building and training a model that classifies CIFAR-10 dataset images that were loaded using Tensorflow Datasets which consists of airplanes, dogs, cats and other 7 objects using Tensorflow 2 and Keras libraries in Python.

articles/wikipedia-python.jpg
How to Extract Wikipedia Data in Python

Extracting data and searching in Wikipedia, getting article summaries, links, images and more using Wikipedia library in Python.

articles/screen-recorder.jpg
How to Make a Screen Recorder in Python

Using pyautogui and OpenCV to record display screen video and save it to a file in Python.

articles/python_task_manager_editable.jpg
How to Make a Process Monitor in Python

Monitoring Operating System processes in Python using psutil library and making a similar program of Windows Task Manager or Linux top utility.

articles/face-detection.jpg
Face Detection using OpenCV in Python

Performing face detection using both Haar Cascades and Single Shot MultiBox Detector methods with OpenCV's dnn module in Python.

articles/control-keyboard-with-python.jpg
How to Control your Keyboard in Python

Learn how to take full control of your keyboard with keyboard python module. Hooking global events, registering hotkeys, simulating key presses and much more.

articles/http_requests_JVjpej9.PNG
How to Sniff HTTP Packets in the Network using Scapy in Python

Sniffing and printing HTTP packet information, such as the url and raw data ( passwords, search queries, etc. ) in case the method is POST.

articles/python-control-mouse.jpg
How to Control your Mouse in Python

Controlling computer mouse in python. Hooking events, registering hotkeys, simulating mouse movements and click, and much more.

articles/sys-info.jpg
How to Get Hardware and System Information in Python

Extracting and Fetching all system and hardware information such as os details, CPU and GPU information, disk and network usage in Python using platform, psutil and gputil libraries.

articles/transfer-files-python_ORB9NNo.jpg
How to Transfer Files in the Network using Sockets in Python

Writing a server and client Python scripts that receives and sends files in the network using sockets module in Python.

articles/spam_classifier_g2mt4wa.png
How to Build a Spam Classifier using Keras in Python

Classifying emails (spam or not spam) with GloVe embedding vectors and RNN/LSTM units using Keras in Python.

articles/chatbot-python.jpg
How to Make Facebook Messenger Bot in Python

Making a facebook messenger chat bot in python using fbchat library, you can make customized auto messages and bots, get user information, and much more handy tools.

articles/disconnected_from_wifi.jpg
How to Disconnect Devices from Wi-Fi using Scapy in Python

Forcing devices to disconnect from a network by sending deauthentication frames continuously using Scapy library in Python, this is called deauthentication attack.

articles/server-2160321_1920_1.jpg
How to Make a DNS Spoof attack using Scapy in Python

Writing a DNS spoofer script in Python using Scapy library to successfully change DNS cache of a target machine in the same network.

articles/phone-1582893_1920.jpg
How to Create Fake Access Points using Scapy in Python

Creating fake access points and fooling nearby devices by sending valid beacon frames to the air using scapy in python.

articles/port_scanner_d1XNRUN.PNG
How to Make a Port Scanner in Python

Learn how to write a port scanner in Python using sockets, starting with a simple port scanner and then diving deeper to a threaded version of a port scanner that is reliable for use.

articles/keylogging-thepythoncode.jpg
How to Write a Keylogger in Python from Scratch

Writing and implementing a keylogger from scratch that records key strokes from keyboard and send them to email using Python and keyboard library.

articles/you_are_under_attack2.PNG
How to Detect ARP Spoof Attack using Scapy in Python

Writing a simple Python script using Scapy that identifies and detects an ARP spoof attack in the network.

articles/speech-recognition.jpg
How to Make a Speech Emotion Recognizer Using Python And Scikit-learn

Building a Speech Emotion Recognition system that detects emotion from human speech tone using Scikit-learn library in Python

articles/top_libraries_for_every_python_programmer_QoQraND.png
Top 9 Python Libraries For Data Scientists and Machine Learning Engineers

Top python libraries and modules that every data scientist and machine learning engineer must know, learn and master.

articles/arp_spoof1.PNG
How to Build an ARP Spoofer in Python using Scapy

Building and creating an ARP Spoof script in Python using Scapy to be able to be a man in the middle to monitor, intercept and modify packets in the network.

articles/building-network-scanner-using-scapy_njzubmS.PNG
How to Make a Network Scanner using Scapy in Python

Building a simple network scanner using ARP requests and monitor the network using Scapy library in Python.

articles/scapy_logo.png
Getting Started With Scapy: Python Network Manipulation Tool

Scapy is a powerful Python-based interactive packet manipulation program and library.