This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Smarty plugin | |
* ------------------------------------------------------------- | |
* File: resource.db.php | |
* Type: resource | |
* Name: db | |
* Purpose: Fetches templates from a database | |
* Version: for XOOPS Cube Legacy 2.2 | |
* Based on Hodajuku Distribution 1.04 resource.db.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ; | |
class phpQueryStringVulnerabilityHoneypot extends XCube_ActionFilter | |
{ | |
function preBlockFilter() { | |
if (isset($_GET['-s'])) { | |
header('Content-type: text/plain'); | |
exit('<?php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
include './mainfile.php'; | |
echo('XOOPS\'s Product Security team is seeking a passionate hacker. '); | |
$protectorTTL = 0; | |
if (XC_CLASS_EXISTS('Protector')) { | |
$protector =& Protector::getInstance(); | |
$conf = $protector->getConf() ; | |
$can_ban = true; | |
if (is_object($xoopsUser)) { | |
$uid = $xoopsUser->getVar('uid') ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r -u xpressme_integration_kit/admin/index.php php7_patch/admin/index.php | |
--- xpressme_integration_kit/admin/index.php 2014-09-26 16:17:37.008000000 +0900 | |
+++ php7_patch/admin/index.php 2015-05-07 11:04:59.910887800 +0900 | |
@@ -164,6 +164,7 @@ | |
global $xoopsModule; | |
include(dirname(__FILE__) . '/../wp-includes/version.php'); | |
require_once dirname(dirname( __FILE__ )).'/include/memory_limit.php' ; | |
+ $db =& XoopsDatabaseFactory::getDatabaseConnection(); | |
if ($is_report) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
exec('locale -a', $out, $ret); | |
header('Content-type: text/plain'); | |
if ($ret === 0) { | |
echo join("\n", $out); | |
} else { | |
echo 'Error: locale -a'; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
exec('locale -a', $out, $ret); | |
header('Content-type: text/plain'); | |
if ($ret === 0) { | |
echo join("\n", $out); | |
} else { | |
echo 'Error: locale -a'; | |
} |
NewerOlder