updated versions

This commit is contained in:
Palma Solutions LTD
2017-05-11 20:31:21 +02:00
parent 7f27784da7
commit 639a8937b9

9
sc.php
View File

@@ -1143,15 +1143,8 @@ system("find ../ type f -path '*/program/include/iniset.php' -exec grep -H \"def
echo $GLOBALS["red"] . $GLOBALS["br"] . "Squirrel Mail<br /><br /></span>";
system("find ../ type f -path '*/functions/strings.php' -exec grep -H '\$version =' {} \;");
}
function cms(){
/* batch #2 */
echo $GLOBALS["red"] . $GLOBALS["br"] . "<h3><b>Scanning account for the installed scripts & their versions...</h3><br /></span>";
echo "<span style='color: #666666';><br /><h4><b>Batch #2 - Scripts used sometimes:</h4><br /></span>";
echo $GLOBALS["red"] . $GLOBALS["br"] . "Dede CMS<br /><br /></span>";
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<br /></span>";
system("find ../ -name VERSION.txt -exec head -n 1 {} \;"); - this causes too many false positives */
}
//custom pattern scanner
function custom(){