Absinthe XML Load Problems
As I mentioned in my Blind SQL Haxoring post, I use Absinthe from time-to-time to assist me, even if I have whipped up my own perl script. I only recent added Oracle support, so Absinthe still came in handy.
One of the nice features of Absinthe was that it could restart a scan if some sort of exception or error occured, which comes in handy when you get such an exception after spending 4 hours enumerating 200 tables. Even better, it allows you to save the data to an xml file (with quite a nice stylesheet, I might add). It also allows you to load the data back in from the xml file, but this functionality has never worked for me and I was always frustrated by it. I usually got some sort of system.xml.xmlreader: root element missing exception. It seemed like something of an xml formatting error, but I could never track it down.
Well tonight, I finally decided to stop whining and actually do something about it. Seeing as how I don’t have enough HDD space left on my Windows partition for Visual Studio, I jumped over to Linux and downloaded the Absinthe Source. After some battles with figuring out how mono worked (never used it before) and trying to compile the project by hand until remembering it uses nant to build (much easier!), I dug into the source and employed my uber-debugging skills to the world of C#. It took a while, but I finally came across the cause of the problem and now you can see my first-ever patch to the open-source world.
7 Comments so far
Leave a comment
is the patch still available ? the bugtracker seems to be down
By hoernchenon 02.04.07 9:21 pm
I’ll check if I still have the patch somewhere - I should.
By Damonon 02.04.07 11:02 pm
Is there other link to download the patch?
By Billyon 02.18.07 1:49 am
Having the same problem. Anyone have this patch?
By FRANKYon 02.24.07 11:14 pm
It doesn’t look like I still have the patch, but the Wayback Machine reminded me of what the issues were:
1. The xsd is missing an attribute element (string) for the parameter element.
This caused the xml to not validate.
2. The InputStream is not properly initialized once the xml is validated.
(oops!)
There was also a minor issue where the target URL was getting set to the
useragent. This appeared to be due to a minor typo.
By Damonon 02.28.07 1:27 pm
I found the patch on a random USB drive, w00t! You can grab it here.
By Damonon 03.18.07 3:11 pm
It does not run. I don’t know how compile it with mono or nant in window. Can you put directly the windows executable?
Thanks a lot.
By Yikon 03.22.07 8:59 am
Leave a comment
Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>