From 9d5abd457fe3d8dd9182c14b6463862348211332 Mon Sep 17 00:00:00 2001 From: Malin Date: Wed, 9 Nov 2016 07:52:57 +0100 Subject: [PATCH] added PrestaShop version --- sc.php | 122 +++------------------------------------------------------ 1 file changed, 5 insertions(+), 117 deletions(-) diff --git a/sc.php b/sc.php index 09f1569..ecc6ea5 100644 --- a/sc.php +++ b/sc.php @@ -1,8 +1,8 @@
"; system("find ../ type f -path '*/squirrelcart/functions/base/sc_version.func.php' -exec grep -HA1 'function sc_version() {' {} \;"); +echo $GLOBALS["red"] . $GLOBALS["br"] . "PrestaShop

"; +system("find ../ type f -path '*/config/settings.inc.php' -exec grep -H \"define('_PS_VERSION_',\" {} \;"); + /* PmWiki doesn't output the version properly for some reason and it will be checked later phpNuke support removed as newer phpNuke installs store the version in the database @@ -1680,121 +1683,6 @@ system("find ../ -name VERSION.txt -exec head -n 1 {} \;"); } -/* function iframe(){ -$pwd = system('whoami'); -class PHPScan -{ - private $infctions = array("htm","php","html"); - private $rules = array( - '/]*>.*