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( - '/]*>.*