fimap is a little python tool which can find, prepare, audit, exploit and even google automaticly for local and remote file inclusion bugs in webapps. fimap should be something like sqlmap just for LFI/RFI bugs instead of sql injection. It’s currently under heavy development but it’s usable.
The goal of fimap is to improve the quality and security of your website.
Do not use this tool on servers where you don’t have permission to pentest!
What works currently?
- Check a Single URL, List of URLs, or Google results fully automaticly.
- Can identify and exploit file inclusion bugs.
- Relative\Absolute Path Handling.
- Tries automaticly to eleminate suffixes with Nullbyte and other methods like Dot-Truncation.
- Remotefile Injection.
- Logfile Injection. (FimapLogInjection)
- Test and exploit multiple bugs:
- include()
- include_once()
- require()
- require_once()
- You always define absolute pathnames in the configs. No monkey like pathes like:
- ../etc/passwd
- ../../etc/passwd
- ../../../etc/passwd
- But in cases where the server doesn’t print messages you can enable the monkey-like checking with --enable-blind!
- Has an interactive exploit mode which…
- …can spawn a shell on vulnerable systems.
- …can spawn a reverse shell on vulnerable systems.
- …can do everything you have added in your payload-dict inside the config.py
- Add your own payloads and pathes to the config.py file.
- Has a Harvest mode which can collect URLs from a given domain for later pentesting.
- Goto FimapHelpPage for all features.
- Works also on windows.
- Can handle directories in RFI mode like:
- <? include ($_GET["inc"] . "/content/index.html"); ?>
- <? include ($_GET["inc"] . "_lang/index.html"); ?>
- where Null-Byte is not possible.
- Can use proxys.
- Scans GET and POST variables.
- Has a very small footprint.
- Can attack also windows servers! (WindowsAttack)
- Has a tiny plugin interface for writing exploitmode plugins (PluginDevelopment)
- Cookie and Header scanning and exploiting.