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-2017-12637_SAP-NetWeaver-URL-Traversal — Proof-of-concept LFI Scanner: Automated detection of /etc/passwd exposures via directory traversal and regex matching. | Kitploit
Tools/GitHubGitHub/abrewer251/cve-2017-12637_sap-netweaver-url-traversal
ReconnaissanceVulnerability ScannersExploitationWeb Application ExploitationInformation GatheringPenetration Testing
GitHubabrewer251/cve-2017-12637_sap-netweaver-url-traversal

CVE-2017-12637_SAP-NetWeaver-URL-Traversal

Share

Proof-of-concept LFI Scanner: Automated detection of /etc/passwd exposures via directory traversal and regex matching.

View Repository
321 year agoNot yet reviewed

CVE-2017-12637_SAP-NetWeaver-URL-Traversal

Proof-of-concept LFI Scanner: Automated detection of /etc/passwd exposures via directory traversal and regex matching.

# LFI Scanner

A lightweight Python proof-of-concept to scan target hosts for Local File Inclusion (LFI) vulnerabilities by attempting to retrieve `/etc/passwd` and detecting its presence with a regex check. :contentReference[oaicite:0]{index=0}

## Features

- **Batch scanning** of hostnames or host:port targets from an input file  
- **Directory traversal payload** to reach `/etc/passwd`  
- **Regex detection** of the `root` entry to confirm LFI  
- **Progress bar** powered by `tqdm` for real-time feedback  
- **Structured reporting**: outputs findings and previews to a results file  

## Prerequisites

- Python 3.6 or newer  
- [`tqdm`](https://pypi.org/project/tqdm/) (`pip install tqdm`)  
- `curl` CLI available in your PATH  

## Installation

```bash
git clone https://github.com/yourusername/lfi-scanner.git
cd lfi-scanner
pip install tqdm

Usage

python poc.py <input_file> [-o OUTPUT_FILE]
  • <input_file>: Path to a file containing one target per line (hostname or hostname:port).
  • -o, --output: (Optional) Path to write results (default: results.txt).

Example

Given targets.txt:

example.com
192.168.0.1:8443

Run the scanner:

python poc.py targets.txt -o scan_results.txt

You’ll see output like:

[+] https://example.com:443/... → /etc/passwd FOUND
[-] https://192.168.0.1:8443/... → Response received, no match

And scan_results.txt will contain a summary and previews.

Script Breakdown

  • poc.py:

    • Uses argparse to parse --input and --output.
    • Iterates targets and constructs the URL with a deep traversal payload.
    • Calls curl --insecure -s for each target.
    • Searches for root:.*?:0:0: to confirm /etc/passwd exposure.
    • Prints status per host and writes detailed results to the output file.

Disclaimer

Use this tool responsibly and only on assets you own or have explicit permission to test. Unauthorized scanning may violate laws and terms of service.

License

Released under the MIT License.

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.

    1.1k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    603
  • 3

    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.

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

    321
  • 5

    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.

    301
  • 6

    redforge

    cybersecurity91/redforge

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

    263

Explore all tools

Browse our collection of tools

View all tools →