PoC for the CVE-2023-49103
This Python script is designed to efficiently process a large list of URLs to check for the presence of phpinfo()
output. It uses multi-threading to handle a large number of URLs concurrently, significantly speeding up the process. The script also features a real-time progress bar to visually track the progress.
requests
urllib3
colorama
alive-progress
concurrent.futures
(part of the standard library in Python 3) pip install requests urllib3 colorama alive-progress
To use the script, you need a text file containing a list of URLs to check. Each URL should be on a new line.
Prepare your URL list: Create a text file (e.g., urls.txt) with each URL on a new line.
Run the script: Use the script with the following command, replacing input_file.txt with your file of URLs and output_file.txt with the desired output file name:
python exploit.py -t input_file.txt -o output_file.txt
View Results: The script will process each URL and output the results to the specified output file. URLs with valid phpinfo() output are logged in this file.
Contributions Feel free to fork this repository or submit pull requests with improvements.
Introduction to the Model Context Protocol (MCP) The Model Context Protocol (MCP) is an open…
While file extensions in Linux are optional and often misleading, the file command helps decode what a…
The touch command is one of the quickest ways to create new empty files or update timestamps…
Handling large numbers of files is routine for Linux users, and that’s where the find command shines.…
Managing files and directories is foundational for Linux workflows, and the mv (“move”) command makes it easy…
Creating directories is one of the earliest skills you'll use on a Linux system. The mkdir (make…