LFI (Local File Inclusion) scanning and exploitation tool that detects file inclusion vulnerabilities and leverages them for RCE and file reading.
kadimus {flag-scan} {flag-parameter} {flag-command} {flag-data} {flag-cookie} {flag-user-agent} {flag-proxy} -u {url} ๐ flag-scan ๐ flag-parameter ๐ flag-command ๐ flag-data ๐ flag-cookie ๐ flag-user-agent ๐ flag-proxy ๐ url kadimus {flag-scan} {flag-parameter} {flag-command} {flag-data} {flag-cookie} {flag-user-agent} {flag-proxy} -u {url} Sandbox: execFile · Timeout: 120s
web.lfi.scan web.lfi.exploit web.lfi.rce web.lfi.read-file | Name | Type | Required | Default | Description | Aliases |
|---|---|---|---|---|---|
url | string | Yes | - | Target URL with injection parameter | -u, --url |
flag-parameter | string | No | - | Parameter name to test | -p, --parameter |
flag-command | string | No | - | Command to execute via LFI | -C, --command |
flag-scan | boolean | No | - | Scan mode - discover possible LFI parameters | -s, --scan |
flag-data | string | No | - | POST data string | -d, --data |
flag-cookie | string | No | - | HTTP Cookie header | --cookie |
flag-user-agent | string | No | - | Custom User-Agent | -A, --user-agent |
flag-proxy | string | No | - | HTTP proxy | --proxy |
| Type | Description | MIME | Schema | Trust |
|---|---|---|---|---|
web.lfi.output | LFI exploitation output | text/plain | - | verified |
web.lfi.shell | Remote shell access | text/plain | - | verified |
Inputs
web.target.url Target URL with file parameter
Outputs
web.lfi.output Read file content or command output
network_traffic Produces
web.lfi.outputConsumes
web.target.url| Resource | Value |
|---|---|
| CPU | low |
| Memory | 32 MB |
| Network | low |
| Disk I/O | low |
Basic LFI scan
kadimus -u "http://example.com/page.php?file=test" Execute command via LFI
kadimus -u "http://example.com/page.php?file=test" -C "id" Scan for LFI parameters
kadimus -u "http://example.com/page.php?file=test" -s Kadimus is a C-based tool for detecting and exploiting Local File Inclusion (LFI) vulnerabilities. It supports file reading, remote command execution via log poisoning and /proc/self/environ techniques, and automated scanning.
# Basic scan
kadimus -u "http://target.com/page.php?file=test"
# Execute command via LFI
kadimus -u "http://target.com/page.php?file=test" -C "whoami"
# POST request
kadimus -u "http://target.com/page.php" -d "file=test" -C "id"