From d67093ae594824158aef8d48a9850294085362b0 Mon Sep 17 00:00:00 2001 From: Palma Solutions LTD Date: Fri, 20 Apr 2018 19:22:01 +0200 Subject: [PATCH] new patterns --- cms-ver.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/cms-ver.php b/cms-ver.php index 003c902..31361e0 100644 --- a/cms-ver.php +++ b/cms-ver.php @@ -3,7 +3,6 @@ $versions = array( array("Wordpress", "/wp-includes/version.php", "\$wp_version ="), array("osCommerce", "/includes/application_top.php", "define('PROJECT_VERSION', 'osCommerce Online Merchant"), - array("ZenCart", "/includes/version.php", "define('PROJECT_VERSION_NAME', 'Zen Cart');"), array("Drupal", "/modules/system/system.info", "version = "), array("phpBB", "/includes/constants.php", "define('PHPBB_VERSION',"), array("SMF", "/index.php", "\$forum_version = 'SMF"), @@ -12,6 +11,7 @@ $versions = array( array("4images", "/includes/constants.php", "define('SCRIPT_VERSION',"), array("MediaWiki", "/includes/DefaultSettings.php", "\$wgVersion ="), array("PHPlist", "/admin/init.php", "define(\"VERSION\","), + array("PHPlist", "/admin/connect.php", "define(\"VERSION\","), array("RoundCube", "/program/include/iniset.php", "define('RCMAIL_VERSION',"), array("Squirrel Mail", "/functions/strings.php", "\$version ="), array("Dede CMS<", "/config_base.php", "\$cfg_soft_enname\|\$cfg_version"), @@ -131,6 +131,7 @@ $versions = array( array("CKeditor", "/ckeditor/CHANGES.html", "CKEditor Changelog"), array("Dokeos", "main/inc/installedVersion.inc.php", "\$dokeos_version"), array("CakePHP","cake/config/config.php","\$config['Cake.version'] ="), + array("phpFormGenerator", "/fields.php", "phpFormGenerator v"), // does not escape correctly // still need to work on these array("CubeCart", "/index.php", "CubeCart v"), // may need one more line @@ -156,7 +157,7 @@ $versions = array( array("PHP Pro Bid", "/index.php", "PHP Pro Bid v"), // needs one more line array("ITLPoll", "/index.php", "ITLPoll Version"), // needs one more line array("Openads", "/index.php", "\/\* Openads"), // needs one more line - array("phpFormGenerator", "/index.php", "<title>phpFormGenerator v"), // needs one more line + array("phpFormGenerator", "/index.php", "<title>phpFormGenerator v"), // does not escape correctly array("LightMon Engine", "/index.php", "* LightMon v"), // needs one more line array("Kasseler CMS", "/index.php", "by Kasseler CMS"), // needs 4 more lines array("Silurus Classifieds Builder", "/index.php", "* Silurus Classifieds Builder"), // needs 7 more lines @@ -255,7 +256,10 @@ foreach(glob("../".$raw[1], GLOB_BRACE) as $versionfiles) { $versiontriple = array ( array("Joomla 3.8.x", "/libraries/src/Version.php", "const MAJOR_VERSION =", "const MINOR_VERSION =", "const PATCH_VERSION ="), array("Exponent", "/exponent_version.php", "EXPONENT_VERSION_MAJOR", "EXPONENT_VERSION_MINOR", "EXPONENT_VERSION_REVISION"), - array("CMS Made Simple"), "version.php", "\$CMS_VERSION =", "\$CMS_VERSION_NAME =", "\$CMS_SCHEMA_VERSION ="), + array("CMS Made Simple", "version.php", "\$CMS_VERSION =", "\$CMS_VERSION_NAME =", "\$CMS_SCHEMA_VERSION ="), + array("ZenCart", "/includes/version.php", "define('PROJECT_VERSION_NAME', 'Zen Cart');", "define('PROJECT_VERSION_MAJOR',", "define('PROJECT_VERSION_MINOR',"), + array("Magento", "app/Mage.php", "'major' =>", "'minor' =>", "'revision' =>"), + ); foreach($versiontriple as $rxw){