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

'open()' warning timeout error..? #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
root@Saustin-Server:~/fimap/fimap_alpha_v01/lulwut/fimap/src# python
fimap.py -u http://192.168.1.8/hi/index.php?page=
fimap v.01 by Iman Karim - Automatic LFI/RFI scanner and exploiter.
SingleScan is testing URL: 'http://192.168.1.8/hi/index.php?page='
[OUT] Parsing URL 'http://192.168.1.8/hi/index.php?page='...
[INFO] Fiddling around with URL...
[WARN] Failed to do request to (http://192.168.1.8/hi/index.php?page=LfdpM2Bj)
[WARN] open() got an unexpected keyword argument 'timeout'
Target URL isn't affected by any file inclusion bug :(

Need I explain anymore? My internet's connected, trust me!

Original issue reported on code.google.com by skank...@gmail.com on 4 Sep 2009 at 10:53

GoogleCodeExporter commented 9 years ago
Are you sure that you use python 2.6?
I think that the timeout argument is available since python 2.6.

However, I will fix it so that it works without the timeout argument too.
Thank you very much.
imax.

Original comment by fimap....@gmail.com on 5 Sep 2009 at 5:17

GoogleCodeExporter commented 9 years ago
Fixed now in SVN version. fimap should work now under python 2.5.
If you want, try the SVN version or wait for the next (.02) package.
imax.

Original comment by fimap....@gmail.com on 5 Sep 2009 at 6:11

GoogleCodeExporter commented 9 years ago
newest bug of fimap

========= CONGRATULATIONS! =========
You have just found a bug!
If you are cool, send the following stacktrace to the bugtracker on
http://fimap.googlecode.com/
Please also provide the URL where fimap crashed.
Push enter to see the stacktrace...
cut here %<--------------------------------------------------------------
Exception: no element found: line 1, column 0
Traceback (most recent call last):
  File "./fimap.py", line 300, in <module>
    g.startGoogleScan()
  File "/home/wishnu/fimap/src/googleScan.py", line 76, in startGoogleScan
    single = singleScan(self.config)
  File "/home/wishnu/fimap/src/baseClass.py", line 80, in __init__
    self.__init_xmlresult()
  File "/home/wishnu/fimap/src/baseClass.py", line 85, in __init_xmlresult
    self.XML_Result = xml.dom.minidom.parse(xmlfile)
  File "/usr/lib/python2.6/xml/dom/minidom.py", line 1918, in parse
    return expatbuilder.parse(file)
  File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 924, in parse
    result = builder.parseFile(fp)
  File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 211, in parseFile
    parser.Parse("", True)
xml.parsers.expat.ExpatError: no element found: line 1, column 0
wishnu@server:~/fimap/src$ svn update
At revision 149.

Original comment by wishnusa...@gmail.com on 10 Jan 2010 at 5:24

GoogleCodeExporter commented 9 years ago
Hi wishnusakti,

It looks like your XML file is strange.
Can you try to backup and delete the ~/fimap_results.xml file and restart it?
And is it possible that you have started multiple instances of fimap?

And if this is still an issue please open a new bug. Thanks!
-imax.

Original comment by fimap....@gmail.com on 10 Jan 2010 at 10:07