2626dd47daad110c63a82c0560b134e2364eeac3
bernd FreeWVS zeigt jetzt Ergebni...

bernd authored 15 years ago

modules/freewvs/include/freewvs.php  1) <?php
Bernd Wurst Added license tags for CC0,...

Bernd Wurst authored 12 years ago

modules/webapps/include/freewvs.php  2) /*
modules/webapps/include/freewvs.php  3) This file belongs to the Webinterface of schokokeks.org Hosting
modules/webapps/include/freewvs.php  4) 
Bernd Wurst Copyright year update

Bernd Wurst authored 6 years ago

modules/webapps/include/freewvs.php  5) Written 2008-2018 by schokokeks.org Hosting, namely
Bernd Wurst Added license tags for CC0,...

Bernd Wurst authored 12 years ago

modules/webapps/include/freewvs.php  6)   Bernd Wurst <bernd@schokokeks.org>
modules/webapps/include/freewvs.php  7)   Hanno Böck <hanno@schokokeks.org>
modules/webapps/include/freewvs.php  8) 
modules/webapps/include/freewvs.php  9) To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.
modules/webapps/include/freewvs.php 10) 
Hanno Fix coding style with php-c...

Hanno authored 5 years ago

modules/webapps/include/freewvs.php 11) You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see
Bernd Wurst Added license tags for CC0,...

Bernd Wurst authored 12 years ago

modules/webapps/include/freewvs.php 12) http://creativecommons.org/publicdomain/zero/1.0/
modules/webapps/include/freewvs.php 13) 
modules/webapps/include/freewvs.php 14) Nevertheless, in case you use a significant part of this code, we ask (but not require, see the license) that you keep the authors' names in place and return your changes to the public. We would be especially happy if you tell us what you're going to do with this code.
modules/webapps/include/freewvs.php 15) */
bernd FreeWVS zeigt jetzt Ergebni...

bernd authored 15 years ago

modules/freewvs/include/freewvs.php 16) 
modules/freewvs/include/freewvs.php 17) require_once('inc/base.php');
modules/freewvs/include/freewvs.php 18) 
modules/freewvs/include/freewvs.php 19) 
modules/freewvs/include/freewvs.php 20) function load_results()
modules/freewvs/include/freewvs.php 21) {
Hanno Fix coding style with php-c...

Hanno authored 5 years ago

modules/webapps/include/freewvs.php 22)     $uid = (int) $_SESSION['userinfo']['uid'];
modules/webapps/include/freewvs.php 23)     $result = db_query("SELECT directory, docroot, first_seen, last_seen, first_warned, last_warned, appname, version, state, safeversion, vulninfo FROM qatools.detected_webapps WHERE uid=?", array($uid));
modules/webapps/include/freewvs.php 24)     $ret = array();
modules/webapps/include/freewvs.php 25)     while ($line = $result->fetch()) {
modules/webapps/include/freewvs.php 26)         array_push($ret, $line);
modules/webapps/include/freewvs.php 27)     }
modules/webapps/include/freewvs.php 28)     return $ret;
bernd FreeWVS zeigt jetzt Ergebni...

bernd authored 15 years ago

modules/freewvs/include/freewvs.php 29) }
modules/freewvs/include/freewvs.php 30) 
Hanno Fix coding style with php-c...

Hanno authored 5 years ago

modules/webapps/include/freewvs.php 31) function get_upgradeinstructions($appname)
modules/webapps/include/freewvs.php 32) {
modules/webapps/include/freewvs.php 33)     $result = db_query("SELECT url FROM qatools.freewvs_upgradeinstructions WHERE appname=?", array($appname));
modules/webapps/include/freewvs.php 34)     if ($result->rowCount() > 0) {
modules/webapps/include/freewvs.php 35)         $tmp = $result->fetch();
modules/webapps/include/freewvs.php 36)         return $tmp[0];
modules/webapps/include/freewvs.php 37)     }
modules/webapps/include/freewvs.php 38)     return null;