Welcome to the fimap project!
fimap is a little python tool which can find, prepare, audit, exploit and even google automatically for local and remote file inclusion bugs in webapps. fimap should be something like sqlmap just for LFI/RFI bugs instead of sql injection.
Originally, this tool was created by this very awesome fellow but there hasn't been a lot of movement on the project since porting to github.
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.
-
Test and exploit multiple bugs:
-
include()
-
include_once()
-
require()
-
require_once()
-
You always define absolute pathnames in the configs. No monkey like redundant pathes like:
-
../etc/passwd
-
../../etc/passwd
-
../../../etc/passwd
-
Has a Blind Mode (--enable-blind) for cases when the server has disabled error messages.
-
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.
-
Works also on windows.
-
Can handle directories in RFI mode like:
-
-
-
where Null-Byte is not possible.
-
Can use proxys.
-
Scans and exploits GET, POST and Cookies.
-
Has a very small footprint. (No senseless bruteforcing of pathes - unless you need it.)
-
Can attack also windows servers!
-
Has a tiny plugin interface for writing exploitmode plugins
-
Non Interactive Exploiting
What doesn't work yet?
- Other languages than PHP (even if engine is ready for others as well.)
Is there a How To?
- Check out this post by HR from Kaotic Creations which explains fimap really good :) It's a tutorial for windows but I think unix heads should understand it as well.
Credits
-
Main Developer: Iman Karim
-
Trusted Plugins:
-
Metasploit binding by Xavier Garcia
-
Weevily Injector by Darren "Infodox" Martyn from http://insecurety.net/
-
AES Reverse Shell by Darren "Infodox" Martyn from http://insecurety.net/
-
Additional thanks goes out to:
-
Peteris Krumins for xgoogle python module.
-
Pentestmonkey for php-reverse-shell.
-
Crummy for BeautifulSoup.
-
Zeth0 from commandline.org.uk for ssh.py.
-
Also thanks to:
-
The Python Project
-
The Eclipse Project
-
The Netbeans Project