Updated Jul 14, 2026

Vulnerabilities

Probe LFI, RFI, and path traversal on candidate URLs

Automate Local/Remote File Inclusion and directory traversal checks.

Agent

overview

What fdsploit does

You have candidate endpoints where a parameter may read a path. Point fdsploit at --url (or --file for a list), set --verb and --params for POST, and let it walk inclusion and traversal payloads up to --depth.

Confirm with --keyword in the response body. Encode with --b64 or -e, append --tchar (%00 or ?) when the app forces an extension, and pass --cmd when you need to check PHP command execution through a vulnerable include.

Reach for nuclei when you want broad template coverage. Use sqlmap for SQL injection. fdsploit stays on file inclusion and traversal; the managed node writes a folder and a file of confirmed findings.

source github.com/chrispetrou/FDsploit

use cases

Where fdsploit fits

Automate LFI and directory traversal testing

Run fdsploit against a candidate URL so it works through inclusion and traversal payloads automatically and reports which paths it can read.

Bypass filters with encoding and null bytes

Apply base64 or URL encoding and a termination character so payloads slip past naive input filters and extension-appending logic.

Confirm a hit with a keyword

Search responses for a known string so a successful inclusion is confirmed by content rather than guessed from status codes.

Probe file inclusion for command execution

Use the command option to test whether a vulnerable PHP function turns file inclusion into remote command execution.

reference

fdsploit inputs and flags

13 inputs
NameTypeFlagDescription
urlSTRING--urlTarget URL to test.
target-urlsFILE--fileFile containing URLs to test.
paramSTRING--paramsPOST parameters to use (param1:value1,param2:value2,...).
request-typeSTRING--verbRequest type, GET or POST (default GET).
depthSTRING--depthMaximum traversal depth for the payload (default 5).
keywordSTRING--keywordSearch for a keyword in the response to confirm success.
cmd-to-executeSTRING--cmdTest for command execution through vulnerable PHP functions.
termination-characterSTRING--tcharTermination character ('%00' or '?') to defeat extension appending.

Showing key inputs. fdsploit exposes 13 inputs in total.

Full flag reference (13 inputs)
NameTypeFlagDescription
urlSTRING--urlTarget URL to test.
depthSTRING--depthMaximum traversal depth for the payload (default 5).
paramSTRING--paramsPOST parameters to use, as param1:value1,param2:value2 (POST requests only).
keywordSTRING--keywordKeyword to search for in the response to confirm a hit (default none).
payloadSTRING--payloadPayload file of paths to look for.
b64-encodeBOOLEAN--b64Base64-encode the payload (default false).
url-encodeSTRING-eURL-encode the payload (default false).
user-agentSTRING--useragentUse a random user-agent (default FDsploit_1.2_agent).
target-urlsFILE--fileFile containing URLs to test.
request-typeSTRING--verbRequest type, GET or POST (default GET).
cmd-to-executeSTRING--cmdCommand to test for execution through vulnerable PHP functions (default none).
specify-cookieSTRING--cookieSession cookie to send with each request (default none).
termination-characterSTRING--tcharTermination character ('%00' or '?') to defeat extension appending (default none).

example

Run fdsploit

fdsploit · command
# automated LFI/traversal test, confirm the hit with a keywordFDsploit.py --url "http://example.com/index.php?page=home" --depth 6 --keyword "root:x:" --tchar '%00'
sample output
[i] Analysing url: http://example.com/index.php?page=home[i] Testing LFI/traversal payloads (max depth: 6) ...[+] LFI found -> page=../../../../../../etc/passwd%00[+] Keyword 'root:x:' matched in responseroot:x:0:0:root:/root:/bin/bashdaemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologinwww-data:x:33:33:www-data:/var/www:/usr/sbin/nologin[i] Results saved to output/example.com/

guidance

Choosing fdsploit

Run fdsploit after discovery and parameter mining surface inclusion candidates. Prefer nuclei for broad vuln templates; use sqlmap for SQLi; keep fdsploit for LFI, RFI, and traversal depth.

tplmap

Server-side template injection automation. Same exploit-class step, different injection family.

commix

Command-injection discovery and exploitation. Overlaps only where fdsploit probes PHP command execution via --cmd.

nuclei

Broad template coverage across many issue types. fdsploit goes deeper on inclusion and traversal specifically.

faq

fdsploit questions

Yes. It walks traversal payloads at increasing --depth alongside Local and Remote File Inclusion tests, then reports paths it can read.

Run fdsploit yourself

A list of candidate URLs feeds fdsploit, which tests file-inclusion and traversal payloads and writes the confirmed findings as output.

Facts on this page come from the live Trickest tool library.