Exploitation Tools

Exploiting CVE-2023-49103: A Python Script for Rapid phpinfo() Detection

PoC for the CVE-2023-49103

Overview

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.

Requirements

  • Python 3.x
  • requests
  • urllib3
  • colorama
  • alive-progress
  • concurrent.futures (part of the standard library in Python 3)

Installation

  1. Ensure you have Python 3 installed on your system.
  2. Clone this repository or download the script.
  3. Install the required Python packages:
 pip install requests urllib3 colorama alive-progress

Usage

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.

Tamil S

Tamil has a great interest in the fields of Cyber Security, OSINT, and CTF projects. Currently, he is deeply involved in researching and publishing various security tools with Kali Linux Tutorials, which is quite fascinating.

Recent Posts

AutoExif – Simplifying Image Metadata Editing With Bash

AutoExif is a powerful Bash script designed to streamline the process of editing image metadata…

2 days ago

SimpleImager V4.3 : A Step-by-Step Guide To Efficient System Imaging

SimpleImager V4.3, your go-to tool for streamlined system imaging and data acquisition. Designed to simplify…

2 days ago

MetaOSINT – Revolutionizing OSINT Investigations With Top Tools And Resources

MetaOSINT enables open source intelligence ("OSINT") practitioners to jumpstart their investigations by quickly identifying relevant,…

2 days ago

ThreatPinch Lookup – Enhancing Cybersecurity Investigations Through Automated Tooltips

ThreatPinch Lookup creates informational tooltips when hovering oven an item of interest on any website.…

2 days ago

Oh Shint! Navigating The Depths Of Cyber-Intelligence With Donvito

Myself and any other potential contributors to this website are NOT in any way affiliated…

2 days ago

M.E.A.T. – Pioneering Mobile Forensics With The Mobile Evidence Acquisition Toolkit

The Mobile Evidence Acquisition Toolkit designed by BlackStone Discovery. Developed to enhance digital forensics, this…

3 days ago