Jan-Oliver Wagner wrote: > On Montag, 29. September 2008, Jan-Oliver Wagner wrote: >> I'd say you check the scripts into SVN. > I forgot to mention: please make sure the IDs don't conflict. > Document the ranges in the file openvas-oids.htm4 in case.
I assigned them numbers from 8NNNNN tree. But this as a whole is another story. I've just quickly hacked two perl scripts which can help. First one is openvas_find_dup_nasl.pl which you can find here: http://www.linux.hr/openvas/scripts/openvas_find_dup_nasl.pl You need to run it in plugins directory (with nasl files), here's the example run (no news==good news): .../plugins/$ ~/code/openvas_find_dup_nasl.pl eyeos_command_execution.nasl: probably syntax error in script_id def eyeos_command_execution.nasl: no valid script_id definition So, with this script I found out that eyeos_command_execution.nasl had broken script_id for two months which I corrected/commited: http://wald.intevation.org/plugins/scmsvn/viewcvs.php/trunk/openvas-plugins/scripts/eyeos_command_execution.nasl?root=openvas&view=log Maybe we should run it with every bigger plugins commit or when we are planning release of openvas-plugins? Another script is openvas_disp_script_id.pl which you can find here: http://www.linux.hr/openvas/scripts/openvas_disp_script_id.pl You need to run it in plugins directory (with nasl files) as well, here's the example run: /code/openvas_disp_script_id.pl 12planet_chat_server_xss.nasl: 12299 3com_nbx_voip_netset_detection.nasl: 12221 3com_switches.nasl: 10747 404_path_disclosure.nasl: 11714 4553.nasl: 11187 Script will output name and script_id. Very useful for various scriptings involving script_id and scripts itself. Hope it will help! Kost _______________________________________________ Openvas-plugins mailing list [email protected] http://lists.wald.intevation.org/mailman/listinfo/openvas-plugins
