[Nikto-discuss] Specifying HTTP Headers for Test Requests

Sullo csullo at gmail.com
Mon Aug 6 21:45:50 CDT 2012


On Sun, Aug 5, 2012 at 2:40 PM, Terrence O'Connor <
terrence.oconnor at gmail.com> wrote:

> If there a way to specify custom HTTP Headers for requests that are sent
> out using the framework?
>
>
It depends on what you need to do. If it's a static cookie, you can set
that in nikto.conf. If it's for a specific test, a header can be set
directly in db_tests. If it's just a header to go on *every* request--the
simple answer is that no, there's no easy way to do that.

However, it wouldn't be much work to hardcode it into nikto_core.plugin, in
the netfech() subroutine. If you let me know exactly what you need to do I
might be able to better help.

Regards,
Sullo




> _______________________________________________
> Nikto-discuss mailing list
> Nikto-discuss at attrition.org
> https://attrition.org/mailman/listinfo/nikto-discuss
>
>


-- 

http://www.cirt.net     |      http://richsec.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://attrition.org/pipermail/nikto-discuss/attachments/20120806/930acd91/attachment.html>


More information about the Nikto-discuss mailing list