Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2022-46196 — Python exploit for CVE-2022-46196 targeting unauthenticated command injection in Cacti <=1.2.22. Automates version detection and reverse shell delivery via remote_agent.php. | Kitploit
Tools/GitHubGitHub/dpgg101/cve-2022-46196
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingCommand and ControlRed Teaming
GitHubdpgg101/cve-2022-46196

CVE-2022-46196

Python exploit for CVE-2022-46196 targeting unauthenticated command injection in Cacti <=1.2.22. Automates version detection and reverse shell delivery via remote_agent.php.

View Repository
193 years agoNot yet reviewed
Share

CVE-2022-46196

Description

This Python code exploits an unauthenticated command injection vulnerability in Cacti versions up to and including 1.2.22. It uses argparse to parse arguments from the command line, requests to get the HTML content of a target Cacti instance, and BeautifulSoup to extract the version number of Cacti from the HTML content. If the version is <= 1.2.22, the code proceeds with the exploit.

The exploit involves sending a payload to the remote_agent.php file of the Cacti instance, with the payload being a Bash command that opens a reverse shell to a specified listening IP and port. The code iterates through a range of host IDs to send the payload to, and once successful, opens a reverse shell on the specified IP and port.

This code should only be used for ethical purposes, such as security research or penetration testing.

Usage

To run the code, use the following command:

python exploit.py --url <URL of Cacti's instance> --lhost <Listening IP> --lport <Listening Port>

Where:

  • URL of Cacti's instance is the URL of the target Cacti instance.
  • Listening IP is the IP address on which the reverse shell should listen.
  • Listening Port is the port on which the reverse shell should listen.

Required Python Libraries/Modules

The code requires the following Python libraries/modules:

argparse
requests
BeautifulSoup4
re
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    933
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    551
  • 3

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    354
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    351
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    332
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    289

Explore all tools

Browse our collection of tools

View all tools →