diff --git a/sc.php b/sc.php index 3ec11cc..3f12117 100644 --- a/sc.php +++ b/sc.php @@ -1143,15 +1143,8 @@ system("find ../ type f -path '*/program/include/iniset.php' -exec grep -H \"def echo $GLOBALS["red"] . $GLOBALS["br"] . "Squirrel Mail

"; system("find ../ type f -path '*/functions/strings.php' -exec grep -H '\$version =' {} \;"); -} - -function cms(){ - -/* batch #2 */ echo $GLOBALS["red"] . $GLOBALS["br"] . "

Scanning account for the installed scripts & their versions...


"; -echo "

Batch #2 - Scripts used sometimes:


"; - echo $GLOBALS["red"] . $GLOBALS["br"] . "Dede CMS

"; system("find ../ type f -path '*/config_base.php' -exec grep -H '\$cfg_soft_enname\|\$cfg_version' {} \;"); @@ -1595,6 +1588,8 @@ system("find ../ -name version.txt -exec grep -HA1 'Anova Pro :' {} \;"); /* echo $GLOBALS["red"] . $GLOBALS["br"] . "Question2Answer
"; system("find ../ -name VERSION.txt -exec head -n 1 {} \;"); - this causes too many false positives */ +} + //custom pattern scanner function custom(){