Showing posts with label Fimap. Show all posts
Showing posts with label Fimap. Show all posts

Tuesday, 26 March 2013

Dorking with Fimap in BackTrack 5 R3

fimap_bigger

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.

Quick News for SVN and upcoming versions



  • Bing searching module implemented in SVN! Currently broken :-O

  • SSH-Logfiles can now be scanned and exploited through SSH username!

  • You can now define which target to exploit and execute shell commands without the interactive exploit interface! (FimapNonInteractiveExec)

  • New experimental fallback plugin which you can try when just /etc/passwd (or any other only-readable file was found. (FimapPhpInfoExploit)

  • New fallback plugin for windows victims! (FimapFindFirstFileExploit)


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 redundant pathes like:

    • ../etc/passwd

    • ../../etc/passwd

    • ../../../etc/passwd



  • Has a Blind Mode (--enable-blind) for cases when the server has disabled error messages. BlindMode

  • 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 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! (WindowsAttack)

  • Has a tiny plugin interface for writing exploitmode plugins (PluginDevelopment)


  • Non Interactive Exploiting (FimapNonInteractiveExec)


what doesn't work yet?



  • Other languages than PHP (even if engine is ready for others as well.)


VIDEO :