<div class="gmail_quote">On Mon, Jul 13, 2009 at 6:02 PM, David Lodge <span dir="ltr"><<a href="mailto:dave@cirt.net" target="_blank">dave@cirt.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Mon, 13 Jul 2009 22:41:30 +0100, Sammy Sossa <<a href="mailto:sammy.sossa20@gmail.com" target="_blank">sammy.sossa20@gmail.com</a>><br>
wrote:<br>
<div>> How do I go about making Nikto run my User-defined tests only? Do I just<br>
> delete the db files from plugin directory, and keep my udb files?<br>
<br>
</div>There's no current support for doing this, I could add it as a tuning<br>
option for Nikto 2.1.0 if required (as it would be quite easy). Possibly<br>
the easiest way would be to edit the db_ files and replace them with your<br>
tests. Deleting them will cause nikto to bring up errors.<br>
</blockquote></div><br><br>I was going to suggest options "-T 0123456789abcx" which should exclude ("x") every test class. You would then put your tests in the user database with a type of "d" or something, and they should be the only ones run... however, it doesn't work. Many tests still seem to run.<br>
<br>I filed ticket #84 for this.. <br> <a href="http://trac2.assembla.com/Nikto_2/ticket/84" target="_blank">http://trac2.assembla.com/Nikto_2/ticket/84</a><br><br>Then I tried creating the user tests with a type of "d" and ran "-T d" which should only run class "d" tests, but that didn't work either. So the whole tuning include/exclude thing needs to be vetted to see what I screwed up there :-)<br>
<br clear="all">
<br>-Sullo<br><br><br>-- <br><br><a href="http://www.cirt.net" target="_blank">http://www.cirt.net</a> | <a href="http://www.osvdb.org/" target="_blank">http://www.osvdb.org/</a><br>