kurobeats / fimap

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.
GNU General Public License v2.0
521 stars 99 forks source link

msf_bindings crash problem.. #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm using linuxmint fimap v.09_svn version i problem 

msfconsole > load xmlrpc Pass=abc123 ServerType=Web  <  No problems here.

--------------------------------------------

Plugin is the problem begins.

Traceback (most recent call last):
  File "./fimap.py", line 335, in <module>
    list_results()
  File "./fimap.py", line 183, in list_results
    c.start()
  File "/home/john/fimap/src/codeinjector.py", line 219, in start
    plugman.broadcast_callback(attack, haxhelper)
  File "/home/john/fimap/src/plugininterface.py", line 72, in broadcast_callback
    p.plugin_callback_handler(attack, haxhelper)
  File "/home/john/fimap/src/plugins/msf/msf.py", line 136, in plugin_callback_handler
    if not self.msf_menu_unix(msfObj,self.lhost,self.lport,haxhelper): 
  File "/home/john/fimap/src/plugins/msf/msf.py", line 77, in msf_menu_unix
    msfObj.createPayload()
  File "/home/john/fimap/src/plugins/msf/pymetasploit/MetasploitWrapper.py", line 82, in createPayload
    msfP.msfLoadPayload()
  File "/home/john/fimap/src/plugins/msf/pymetasploit/MetasploitPayload.py", line 70, in msfLoadPayload
    process=Popen(msfpayload,stdout=PIPE,stderr=PIPE,stdin=None)
  File "/usr/lib/python2.6/subprocess.py", line 633, in __init__
    errread, errwrite)
  File "/usr/lib/python2.6/subprocess.py", line 1139, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

What should I do? 

thanks 

Original issue reported on code.google.com by timeisfl...@gmail.com on 13 Jul 2010 at 12:25

GoogleCodeExporter commented 9 years ago
I solved the problem: D

msfpayload=['msfpayload'] 
changed  >
msfpayload=['/home/john/m3t3/msfpayload']

must be defined if the array msfpayload

Regards..

Original comment by timeisfl...@gmail.com on 13 Jul 2010 at 12:38

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by fimap....@gmail.com on 14 Jul 2010 at 3:13

GoogleCodeExporter commented 9 years ago
I am glad you solved it :)

However I will let Xavier Garcia know about this problem since he is the dev of 
the Metasploit Binding.

Thank you for reporting!
-imax.

Original comment by fimap....@gmail.com on 14 Jul 2010 at 3:28