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

xml error #75

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
On which URL this error occures? (Important!)
any

Which version of fimap you are using? (You can see that in the very first
line)
.09

On what operating system?
ubuntu 12.10

Please provide any additional information below.
i get this when ever i try to use fimap

fimap v.09 (For the Swarm)
:: Automatic LFI/RFI scanner and exploiter
:: by Iman Karim (fimap.dev@gmail.com)

Traceback (most recent call last):
  File "fimap.py", line 399, in <module>
    xmlsettings = language.XML2Config(config)
  File "/home/emada/sectools/fimap_alpha_v09/baseClass.py", line 80, in __init__
    self.__init_xmlresult()
  File "/home/emada/sectools/fimap_alpha_v09/baseClass.py", line 85, in __init_xmlresult
    self.XML_Result = xml.dom.minidom.parse(xmlfile)
  File "/usr/lib/python2.7/xml/dom/minidom.py", line 1920, in parse
    return expatbuilder.parse(file)
  File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 924, in parse
    result = builder.parseFile(fp)
  File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 211, in parseFile
    parser.Parse("", True)
xml.parsers.expat.ExpatError: no element found: line 1, column 0

Original issue reported on code.google.com by emada.ad...@gmail.com on 19 Jan 2013 at 7:13

GoogleCodeExporter commented 9 years ago
could it have something to do with the fact that i had to touch 
fimap_result.xml making it a blank file?

Original comment by emada.ad...@gmail.com on 20 Jan 2013 at 5:56

GoogleCodeExporter commented 9 years ago
Try rm -rf fimap_result.xml (if it is an empty file) so it can create a new 
one. It does not seem to parse blank files too well. It will automatically 
create a new .xml.

If that fails, let us know :)

Original comment by the.info...@gmail.com on 26 Jan 2013 at 11:01

GoogleCodeExporter commented 9 years ago
Just to add, it wont make the XML until you have some results in it :) You must 
scan first.

Original comment by the.info...@gmail.com on 26 Jan 2013 at 11:06