MadHat Unspecific wrote: > Just randomly choosing a plugin to rewrite, here is what I came up with.
Thanks for your contribution! > Nothing here was taking from the Tenable plugin. I left the ID blank > as I didn't know if it should be a new ID or use the Tenable > subversion_detect ID (not what I would expect). I did some basic > testing, but please let me know if this does not work. Just send script with blank ID and I'll take it and put in 8NNNN contributions tree. Next time when you contribute script, please specify which version of GPL (GPL v2 or later or something else). As other said, it seems your subversion detection is already implemented in find_service2.nasl. I just checked that service detection in find_service2.nasl and it seems it doesn't work in all cases as well as your script. I tried against my friend's SVN and this is what that SVN spits out: $ nc svn.rot13.org 3690 ( success ( 2 2 ( ) ( edit-pipeline svndiff1 absent-entries commit-revprops depth log-revprops partial-replay ) ) ) So, I changed line to (in find_service2.nasl): if (r=~ '^\\( success \\( [0-9] [0-9] \\(.*\\) \\(.*') Is there anyone who is willing to test against their Subversion installations? Thanks in advance, Kost _______________________________________________ Openvas-plugins mailing list [email protected] http://lists.wald.intevation.org/mailman/listinfo/openvas-plugins
