[Openvas-commits] r5657 - in trunk/openvas-plugins: . scripts

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Oct 20 22:38:34 CEST 2009


Author: kost
Date: 2009-10-20 22:38:31 +0200 (Tue, 20 Oct 2009)
New Revision: 5657

Modified:
   trunk/openvas-plugins/ChangeLog
   trunk/openvas-plugins/scripts/remote-web-w3af.nasl
Log:
better filename generation



Modified: trunk/openvas-plugins/ChangeLog
===================================================================
--- trunk/openvas-plugins/ChangeLog	2009-10-20 20:32:14 UTC (rev 5656)
+++ trunk/openvas-plugins/ChangeLog	2009-10-20 20:38:31 UTC (rev 5657)
@@ -1,5 +1,9 @@
 2009-10-20  Vlatko Kosturjak <kost at linux.hr>
 
+	* scripts/remote-web-w3af.nasl: better filename generation
+
+2009-10-20  Vlatko Kosturjak <kost at linux.hr>
+
 	* scripts/remote-web-w3af.nasl:
 	Few improvements: try to recognize if vulnerability found,
 	so raise importance

Modified: trunk/openvas-plugins/scripts/remote-web-w3af.nasl
===================================================================
--- trunk/openvas-plugins/scripts/remote-web-w3af.nasl	2009-10-20 20:32:14 UTC (rev 5656)
+++ trunk/openvas-plugins/scripts/remote-web-w3af.nasl	2009-10-20 20:38:31 UTC (rev 5657)
@@ -80,7 +80,7 @@
 useprofile=script_get_preference("Profile");
 if (!useprofile) useprofile = "full_audit";
 
-genfilename = get_tmp_dir() + "openvas-w3af-" + port + get_host_ip();
+genfilename = get_tmp_dir() + "openvas-w3af-" + get_host_ip() + "-" + port;
 cmdfilename = genfilename + ".cmd";
 repfilename = genfilename + ".rep";
 httpfilename = genfilename + ".http";



More information about the Openvas-commits mailing list