[Openvas-commits] r3129 - in trunk/winslad: . testplugin
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Fri Apr 17 21:22:37 CEST 2009
Author: doj
Date: 2009-04-17 21:22:37 +0200 (Fri, 17 Apr 2009)
New Revision: 3129
Modified:
trunk/winslad/TODO.txt
trunk/winslad/client.cpp
trunk/winslad/config.h
trunk/winslad/debug.h
trunk/winslad/main.cpp
trunk/winslad/struct.h
trunk/winslad/testplugin/dir.cpp
trunk/winslad/xml.cpp
Log:
copyright transfered to Greenbone
Modified: trunk/winslad/TODO.txt
===================================================================
--- trunk/winslad/TODO.txt 2009-04-17 16:35:24 UTC (rev 3128)
+++ trunk/winslad/TODO.txt 2009-04-17 19:22:37 UTC (rev 3129)
@@ -3,3 +3,13 @@
+ create slad user and password
+ create c:\winslad and files
+ optionally install FreeSSHD
+ ~ install patched freesshd.ini which authorizes slad user and uses restricted shell
+
+- add timestamps to plugin output, also do on UN*X SLAD
+START <pluginname>: <zeitstempel>
+<Ergebnisse>
+END <pluginname>: <zeitstempel>
+
+- cross compile
+ + http://www.profv.de/mingw_cross_env/
+ + http://wiki.njh.eu/Cross_Compiling_for_Win32
Modified: trunk/winslad/client.cpp
===================================================================
--- trunk/winslad/client.cpp 2009-04-17 16:35:24 UTC (rev 3128)
+++ trunk/winslad/client.cpp 2009-04-17 19:22:37 UTC (rev 3129)
@@ -4,8 +4,8 @@
local security checks for later evaluation by OpenVAS.
Authors: Dirk Jagdmann <d.jagdmann at dn-systems.de>
- Copyright (C) 2009 DN-Systems Enterprise Internet Solutions GmbH
- Hornemannstr. 11-13, 31137 Hildesheim, Germany
+ Copyright (C) 2009 Greenbone Networks GmbH http://greenbone.net/
+ Neuer Graben 17, 49074 Osnabrück, Germany
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 or later,
@@ -124,7 +124,7 @@
*/
static std::string plugin2filename(const std::string& p)
{
- std::string fn;
+ std::string fn; fn.reserve(p.size());
foreach(p, c)
{
if(*c == ':')
@@ -143,7 +143,7 @@
*/
static std::string filename2plugin(const std::string& fn)
{
- std::string p;
+ std::string p; p.reserve(fn.size());
foreach(fn, c)
{
if(*c == '$')
@@ -167,7 +167,7 @@
while(resultpath.size()>=2 && resultpath[resultpath.size()-1] == '\\')
resultpath.erase(resultpath.size()-1);
- // check if is is a meaningfull path
+ // check if it is a sane path
if(resultpath.size()<2) return -1;
const doj::filesInDir_t fid=doj::filesInDir(resultpath);
@@ -216,7 +216,7 @@
return 1;
}
- // List plugins
+ // list plugins
if (config->arg == "plugins")
{
return show_plugins (config);
Modified: trunk/winslad/config.h
===================================================================
--- trunk/winslad/config.h 2009-04-17 16:35:24 UTC (rev 3128)
+++ trunk/winslad/config.h 2009-04-17 19:22:37 UTC (rev 3129)
@@ -4,8 +4,8 @@
local security checks for later evaluation by OpenVAS.
Authors: Dirk Jagdmann <d.jagdmann at dn-systems.de>
- Copyright (C) 2009 DN-Systems Enterprise Internet Solutions GmbH
- Hornemannstr. 11-13, 31137 Hildesheim, Germany
+ Copyright (C) 2009 Greenbone Networks GmbH http://greenbone.net/
+ Neuer Graben 17, 49074 Osnabrück, Germany
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 or later,
Modified: trunk/winslad/debug.h
===================================================================
--- trunk/winslad/debug.h 2009-04-17 16:35:24 UTC (rev 3128)
+++ trunk/winslad/debug.h 2009-04-17 19:22:37 UTC (rev 3129)
@@ -4,8 +4,8 @@
local security checks for later evaluation by OpenVAS.
Authors: Dirk Jagdmann <d.jagdmann at dn-systems.de>
- Copyright (C) 2009 DN-Systems Enterprise Internet Solutions GmbH
- Hornemannstr. 11-13, 31137 Hildesheim, Germany
+ Copyright (C) 2009 Greenbone Networks GmbH http://greenbone.net/
+ Neuer Graben 17, 49074 Osnabrück, Germany
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 or later,
Modified: trunk/winslad/main.cpp
===================================================================
--- trunk/winslad/main.cpp 2009-04-17 16:35:24 UTC (rev 3128)
+++ trunk/winslad/main.cpp 2009-04-17 19:22:37 UTC (rev 3129)
@@ -1,39 +1,16 @@
-/* Microsoft Windows SLAD Version 1.0
-
- Description: Windows Security Local Audit Daemon/Distributor runs
- local security checks for later evaluation by OpenVAS.
- Authors: Dirk Jagdmann <d.jagdmann at dn-systems.de>
-
- Copyright (C) 2009 DN-Systems Enterprise Internet Solutions GmbH
- Hornemannstr. 11-13, 31137 Hildesheim, Germany
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License version 2 or later,
- as published by the Free Software Foundation
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-*/
-
/**
* @mainpage
* @section Readme From readme.txt
* @verbinclude readme.txt
- *
+ *
* @section License License
* @verbatim
Description: Windows Security Local Audit Daemon/Distributor runs
local security checks for later evaluation by OpenVAS.
Authors: Dirk Jagdmann <d.jagdmann at dn-systems.de>
- Copyright (C) 2009 DN-Systems Enterprise Internet Solutions GmbH
- Hornemannstr. 11-13, 31137 Hildesheim, Germany
+ Copyright (C) 2009 Greenbone Networks GmbH http://greenbone.net/
+ Neuer Graben 17, 49074 Osnabrück, Germany
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 or later,
@@ -48,7 +25,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
@endverbatim
- *
+ *
*/
#include <sys/types.h>
Modified: trunk/winslad/struct.h
===================================================================
--- trunk/winslad/struct.h 2009-04-17 16:35:24 UTC (rev 3128)
+++ trunk/winslad/struct.h 2009-04-17 19:22:37 UTC (rev 3129)
@@ -4,8 +4,8 @@
local security checks for later evaluation by OpenVAS.
Authors: Dirk Jagdmann <d.jagdmann at dn-systems.de>
- Copyright (C) 2009 DN-Systems Enterprise Internet Solutions GmbH
- Hornemannstr. 11-13, 31137 Hildesheim, Germany
+ Copyright (C) 2009 Greenbone Networks GmbH http://greenbone.net/
+ Neuer Graben 17, 49074 Osnabrück, Germany
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 or later,
Modified: trunk/winslad/testplugin/dir.cpp
===================================================================
--- trunk/winslad/testplugin/dir.cpp 2009-04-17 16:35:24 UTC (rev 3128)
+++ trunk/winslad/testplugin/dir.cpp 2009-04-17 19:22:37 UTC (rev 3129)
@@ -3,8 +3,8 @@
Description: test plugin for WinSLAD listing directory contents
Authors: Dirk Jagdmann <d.jagdmann at dn-systems.de>
- Copyright (C) 2009 DN-Systems Enterprise Internet Solutions GmbH
- Hornemannstr. 11-13, 31137 Hildesheim, Germany
+ Copyright (C) 2009 Greenbone Networks GmbH http://greenbone.net/
+ Neuer Graben 17, 49074 Osnabrück, Germany
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 or later,
Modified: trunk/winslad/xml.cpp
===================================================================
--- trunk/winslad/xml.cpp 2009-04-17 16:35:24 UTC (rev 3128)
+++ trunk/winslad/xml.cpp 2009-04-17 19:22:37 UTC (rev 3129)
@@ -4,8 +4,8 @@
local security checks for later evaluation by OpenVAS.
Authors: Dirk Jagdmann <d.jagdmann at dn-systems.de>
- Copyright (C) 2009 DN-Systems Enterprise Internet Solutions GmbH
- Hornemannstr. 11-13, 31137 Hildesheim, Germany
+ Copyright (C) 2009 Greenbone Networks GmbH http://greenbone.net/
+ Neuer Graben 17, 49074 Osnabrück, Germany
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 or later,
More information about the Openvas-commits
mailing list