[Nikto-discuss] Encoding in xml output

Erik Stephens erik at edgeos.com
Sat Mar 27 00:30:43 UTC 2010


Seeing some upper ascii characters in the xml output.  I think it is
up to nikto to specify the encoding in its output.  Instead of this:

  <?xml version="1.0" ?>

Should it be something like this?

  <?xml version="1.0" encoding="foo" ?>

Assuming I'm correct and a patch will get in eventually, what should
we assume the encoding is?  ISO-8859-1 or UTF-8?  In the output I've
seen, it looks like ISO-8859-1.  Looks like we can edit
templates/xml_start.tmpl and hard-code the encoding there until it
gets patched.  Is that a decent workaround?

Hopefully it's a simple patch.  I'd offer up one but I don't know
enough about the nikto source and perl in general.  I'm a python guy,
which means I can't touch perl code - I might see something I like ;)

Thx,
Erik


More information about the Nikto-discuss mailing list