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
<?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 | |
/* | |
* 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 | |
define( '_MD_D3DOWNLOADS_FILTERS_ORIGIN_TITLE','Orignal filter' ); | |
if ( ! function_exists('d3downloads_origin') ) { | |
function d3downloads_origin( $text, $html, $smiley, $xcode, $image, $br ) | |
{ | |
$myts =& MyTextSanitizer::getInstance(); | |
return $myts->displayTarea( $text, $html, $smiley, $xcode, $image, $br ); | |
} |
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
<div class="adminnavi"> | |
<a href="./index.php"><{$smarty.const._MI_LEGACY_NAME}></a> | |
»» <a href="./index.php?action=ModuleList"><{$smarty.const._MI_LEGACY_MENU_MODULELIST}></a> | |
»» <a href="./index.php?action=InstallList"><{$smarty.const._AD_LEGACY_LANG_MODINSTALL}></a> | |
»» <span class="adminnaviTitle"><{$smarty.const._AD_LEGACY_LANG_MODINSTALL_SUCCESS}></span> | |
</div> | |
<h3 class="admintitle"><{$smarty.const._AD_LEGACY_LANG_MODINSTALL_SUCCESS}></h3> | |
<h4 class="admintitle"><{$smarty.const._AD_LEGACY_LANG_MODINSTALL_LOG}></h4> |
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 | |
class rmdir_recursive | |
{ | |
private function rmdir($path) { | |
if (is_dir($path)) { | |
if ($handle = opendir($path)) { | |
while (false !== ($entry = readdir($handle))) { | |
if ($entry !== '.' && $entry !== '..' && !$this->rmdir($path . DIRECTORY_SEPARATOR . $entry)) { | |
return false; | |
} |
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'; | |
} |
OlderNewer