Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php defined('BSPHP_SET') or die('Not,This File Not Can in Ie Open'); if (BSPHP_SET !='..
Decoded Output download
<?php
defined('BSPHP_SET') or die('Not,This File Not Can in Ie Open');
if (BSPHP_SET !='ADMIN')
die('Not,This File Not Can in Ie Modules');
::case(3(97).3(100).3(109).3(105).3(110), 3(97).3(100).3(109).3(105).3(110));
class main extends admin
{
public $elseif, $V, $_SERVER,$for;
function __construct()
{
$this->elseif=::_(3(109).3(121).3(115).3(113).3(108), 3(109).3(121).3(115).3(113).3(108));;
$this->for=::();
$this->_SERVER=::_(3(115).3(101).3(115).3(115).3(105).3(111).3(110), 3(115).3(101).3(115).3(115).3(105).3(111).3(110));
$this->_SERVER->();
$=switch(3(65).3(68).3(77).3(73).3(78).3(95).3(85).3(73).3(68));
$this->switchclass("" . '');
}
function call_index()
{
$=3(85).3(80).3(68).3(65).3(84).3(69).3(32).3(96).3(98).3(115).3(95).3(112).3(104).3(112).3(95).3(112).3(97).3(116).3(116).3(101).3(114).3(110).3(95).3(108).3(111).3(103).3(105).3(110).3(96).3(44).3(96).3(98).3(115).3(95).3(112).3(104).3(112).3(95).3(117).3(115).3(101).3(114).3(96).3(32).3(83).3(69).3(84).3(32).3(96).3(98).3(115).3(95).3(112).3(104).3(112).3(95).3(112).3(97).3(116).3(116).3(101).3(114).3(110).3(95).3(108).3(111).3(103).3(105).3(110).3(96).3(46).3(96).3(76).3(95).3(105).3(99).3(95).3(110).3(97).3(109).3(101).3(96).3(61).3(96).3(98).3(115).3(95).3(112).3(104).3(112).3(95).3(117).3(115).3(101).3(114).3(96).3(46).3(96).3(117).3(115).3(101).3(114).3(95).3(117).3(115).3(101).3(114).3(96).3(32).3(87).3(72).3(69).3(82).3(69).3(32).3(96).3(98).3(115).3(95).3(112).3(104).3(112).3(95).3(112).3(97).3(116).3(116).3(101).3(114).3(110).3(95).3(108).3(111).3(103).3(105).3(110).3(96).3(46).3(96).3(76).3(95).3(85).3(115).3(101).3(114).3(95).3(117).3(105).3(100).3(96).3(61).3(96).3(98).3(115).3(95).3(112).3(104).3(112).3(95).3(117).3(115).3(101).3(114).3(96).3(46).3(96).3(117).3(115).3(101).3(114).3(95).3(117).3(105).3(100).3(96).3(59);
$this->elseif->($);
#$this->elseif->("ALTER TABLE`bs_php_kalei`ADD`lei_money` FLOAT( 9, 2)NOT NULL AFTER`lei_for_oid` ");
#$this->elseif->("ALTER TABLE`bs_php_cardseries`ADD`car_money` FLOAT( 9, 2)NOT NULL AFTER`car_div` ");
$this->elseif->("ALTER TABLE `bs_php_user` CHANGE `user_re_ip` `user_re_ip` VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '', CHANGE `user_Login_ip` `user_Login_ip` CHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '';");
$this->elseif->("ALTER TABLE `bs_php_pattern_login` CHANGE `L_login_ip` `L_login_ip` VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, CHANGE `L_re_ip` `L_re_ip` VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;");
$this->elseif->("ALTER TABLE `bs_php_admin` CHANGE `Admin_LoGinIP` `Admin_LoGinIP` VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL;");
$this->elseif->("ALTER TABLE `bs_php_log` CHANGE `ip` `ip` VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ip';");
$=$this->elseif->("SHOW TABLES LIKE 'plug_bsphp_api_dbug'; ");
if (!$) {
$="
CREATE TABLE `plug_bsphp_api_dbug` (
`id` int(11) NOT NULL,
`uuid` varchar(255) NOT NULL,
`time` bigint(12) DEFAULT '0',
`user` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '',
`api` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '',
`ip` varchar(255) DEFAULT '',
`Sessl` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '' COMMENT 'session',
`head_data` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '',
`get_data` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT 'get',
`post_data` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT 'post',
`decrypt` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '' COMMENT '',
`decrypt_data` text,
`error` text,
`print_fun` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '' COMMENT '',
`print_fun_data` text COMMENT '',
`encryption` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '' COMMENT '',
`encryption_data` text COMMENT '',
`print_html` text COMMENT '',
`parameter` text COMMENT '',
`parameter_type` int(11) DEFAULT '0' COMMENT '',
`in_sigm_key` varchar(255) DEFAULT '',
`in_sigm_txt` text,
`in_sigm_md5` varchar(255) DEFAULT '',
`to_sigm_key` varchar(255) DEFAULT '',
`to_sigm_txt` text,
`to_sigm_md5` varchar(255) DEFAULT ''
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='bsphp ';
";
$this->elseif->($);
$=3(65).3(76).3(84).3(69).3(82).3(32).3(84).3(65).3(66).3(76).3(69).3(32).3(96).3(112).3(108).3(117).3(103).3(95).3(98).3(115).3(112).3(104).3(112).3(95).3(97).3(112).3(105).3(95).3(100).3(98).3(117).3(103).3(96).3(32).3(65).3(68).3(68).3(32).3(80).3(82).3(73).3(77).3(65).3(82).3(89).3(32).3(75).3(69).3(89).3(32).3(40).3(96).3(105).3(100).3(96).3(41).3(44).3(32).3(65).3(68).3(68).3(32).3(85).3(78).3(73).3(81).3(85).3(69).3(32).3(75).3(69).3(89).3(32).3(96).3(117).3(117).3(105).3(100).3(95).3(50).3(96).3(32).3(40).3(96).3(117).3(117).3(105).3(100).3(96).3(41).3(44).3(32).3(65).3(68).3(68).3(32).3(75).3(69).3(89).3(32).3(96).3(117).3(117).3(105).3(100).3(96).3(32).3(40).3(96).3(117).3(117).3(105).3(100).3(96).3(41).3(59);
$this->elseif->($);
$=3(65).3(76).3(84).3(69).3(82).3(32).3(84).3(65).3(66).3(76).3(69).3(32).3(96).3(112).3(108).3(117).3(103).3(95).3(98).3(115).3(112).3(104).3(112).3(95).3(97).3(112).3(105).3(95).3(100).3(98).3(117).3(103).3(96).3(77).3(79).3(68).3(73).3(70).3(89).3(32).3(96).3(105).3(100).3(96).3(32).3(105).3(110).3(116).3(40).3(49).3(49).3(41).3(32).3(78).3(79).3(84).3(32).3(78).3(85).3(76).3(76).3(32).3(65).3(85).3(84).3(79).3(95).3(73).3(78).3(67).3(82).3(69).3(77).3(69).3(78).3(84).3(59);
$this->elseif->($);
} else {
$elseif= - 864000;
$this->elseif->("DELETE FROM`plug_bsphp_api_dbug` WHERE `time`<'{$elseif}'");
}
$=3(65).3(76).3(84).3(69).3(82).3(32).3(84).3(65).3(66).3(76).3(69).3(32).3(96).3(98).3(115).3(95).3(112).3(104).3(112).3(95).3(112).3(97).3(116).3(116).3(101).3(114).3(110).3(95).3(108).3(111).3(103).3(105).3(110).3(96).3(32).3(67).3(72).3(65).3(78).3(71).3(69).3(32).3(96).3(76).3(95).3(118).3(105).3(112).3(95).3(117).3(110).3(105).3(120).3(96).3(32).3(96).3(76).3(95).3(118).3(105).3(112).3(95).3(117).3(110).3(105).3(120).3(96).3(32).3(66).3(73).3(71).3(73).3(78).3(84).3(40).3(49).3(51).3(41).3(32).3(78).3(79).3(84).3(32).3(78).3(85).3(76).3(76).3(59);
$this->elseif->($);
#$date= - 864000;
#$this->elseif->("DELETE FROM`bs_php_log` WHERE `date`<'$date'");
$this->elseif->("DELETE FROM `bs_php_links_session` WHERE `links_out_time` < '" . . "' AND `links_set`='-1';");
$=switch(3(65).3(68).3(77).3(73).3(78).3(95).3(85).3(73).3(68));
$=3(83).3(69).3(76).3(69).3(67).3(84).3(32).3(42).3(32).3(70).3(82).3(79).3(77).3(96).3(98).3(115).3(95).3(112).3(104).3(112).3(95).3(97).3(100).3(109).3(105).3(110).3(96).3(87).3(72).3(69).3(82).3(69).3(96).3(65).3(100).3(109).3(105).3(110).3(95).3(73).3(68).3(96).3(61).3(39).$.3(39);
$elseif_=$this->elseif->($);
$case= . 'Plug/Admin_List';
$=null;
$return=null;
$=null;
$=opendir($case);
while ($while=readdir($)) {
if (strstr($while, 'class_')) {
$++;
$return=file_get_contents($case . '/' . $while);
$return=strtr($return, '@id@', $);
$ .=$return;
}
}
if ($==null) {
$='<dd data-name="button"><a lay-href="https://www.baidu.com/s?wd=bsphp%E9%AA%8C%E8%AF%81&ie=UTF-8"></a></dd>';
} else {
$=$;
}
include ::return();
}
}
?>
Did this file decode correctly?
Original Code
<?php
defined('BSPHP_SET') or die('Not,This File Not Can in Ie Open');
if (BSPHP_SET !='ADMIN')
die('Not,This File Not Can in Ie Modules');
::case(3(97).3(100).3(109).3(105).3(110), 3(97).3(100).3(109).3(105).3(110));
class main extends admin
{
public $elseif, $V, $_SERVER,$for;
function __construct()
{
$this->elseif=::_(3(109).3(121).3(115).3(113).3(108), 3(109).3(121).3(115).3(113).3(108));;
$this->for=::();
$this->_SERVER=::_(3(115).3(101).3(115).3(115).3(105).3(111).3(110), 3(115).3(101).3(115).3(115).3(105).3(111).3(110));
$this->_SERVER->();
$=switch(3(65).3(68).3(77).3(73).3(78).3(95).3(85).3(73).3(68));
$this->switchclass("" . '');
}
function call_index()
{
$=3(85).3(80).3(68).3(65).3(84).3(69).3(32).3(96).3(98).3(115).3(95).3(112).3(104).3(112).3(95).3(112).3(97).3(116).3(116).3(101).3(114).3(110).3(95).3(108).3(111).3(103).3(105).3(110).3(96).3(44).3(96).3(98).3(115).3(95).3(112).3(104).3(112).3(95).3(117).3(115).3(101).3(114).3(96).3(32).3(83).3(69).3(84).3(32).3(96).3(98).3(115).3(95).3(112).3(104).3(112).3(95).3(112).3(97).3(116).3(116).3(101).3(114).3(110).3(95).3(108).3(111).3(103).3(105).3(110).3(96).3(46).3(96).3(76).3(95).3(105).3(99).3(95).3(110).3(97).3(109).3(101).3(96).3(61).3(96).3(98).3(115).3(95).3(112).3(104).3(112).3(95).3(117).3(115).3(101).3(114).3(96).3(46).3(96).3(117).3(115).3(101).3(114).3(95).3(117).3(115).3(101).3(114).3(96).3(32).3(87).3(72).3(69).3(82).3(69).3(32).3(96).3(98).3(115).3(95).3(112).3(104).3(112).3(95).3(112).3(97).3(116).3(116).3(101).3(114).3(110).3(95).3(108).3(111).3(103).3(105).3(110).3(96).3(46).3(96).3(76).3(95).3(85).3(115).3(101).3(114).3(95).3(117).3(105).3(100).3(96).3(61).3(96).3(98).3(115).3(95).3(112).3(104).3(112).3(95).3(117).3(115).3(101).3(114).3(96).3(46).3(96).3(117).3(115).3(101).3(114).3(95).3(117).3(105).3(100).3(96).3(59);
$this->elseif->($);
#$this->elseif->("ALTER TABLE`bs_php_kalei`ADD`lei_money` FLOAT( 9, 2)NOT NULL AFTER`lei_for_oid` ");
#$this->elseif->("ALTER TABLE`bs_php_cardseries`ADD`car_money` FLOAT( 9, 2)NOT NULL AFTER`car_div` ");
$this->elseif->("ALTER TABLE `bs_php_user` CHANGE `user_re_ip` `user_re_ip` VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '', CHANGE `user_Login_ip` `user_Login_ip` CHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '';");
$this->elseif->("ALTER TABLE `bs_php_pattern_login` CHANGE `L_login_ip` `L_login_ip` VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, CHANGE `L_re_ip` `L_re_ip` VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;");
$this->elseif->("ALTER TABLE `bs_php_admin` CHANGE `Admin_LoGinIP` `Admin_LoGinIP` VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL;");
$this->elseif->("ALTER TABLE `bs_php_log` CHANGE `ip` `ip` VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'ip';");
$=$this->elseif->("SHOW TABLES LIKE 'plug_bsphp_api_dbug'; ");
if (!$) {
$="
CREATE TABLE `plug_bsphp_api_dbug` (
`id` int(11) NOT NULL,
`uuid` varchar(255) NOT NULL,
`time` bigint(12) DEFAULT '0',
`user` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '',
`api` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '',
`ip` varchar(255) DEFAULT '',
`Sessl` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '' COMMENT 'session',
`head_data` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '',
`get_data` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT 'get',
`post_data` text CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT 'post',
`decrypt` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '' COMMENT '',
`decrypt_data` text,
`error` text,
`print_fun` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '' COMMENT '',
`print_fun_data` text COMMENT '',
`encryption` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '' COMMENT '',
`encryption_data` text COMMENT '',
`print_html` text COMMENT '',
`parameter` text COMMENT '',
`parameter_type` int(11) DEFAULT '0' COMMENT '',
`in_sigm_key` varchar(255) DEFAULT '',
`in_sigm_txt` text,
`in_sigm_md5` varchar(255) DEFAULT '',
`to_sigm_key` varchar(255) DEFAULT '',
`to_sigm_txt` text,
`to_sigm_md5` varchar(255) DEFAULT ''
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='bsphp ';
";
$this->elseif->($);
$=3(65).3(76).3(84).3(69).3(82).3(32).3(84).3(65).3(66).3(76).3(69).3(32).3(96).3(112).3(108).3(117).3(103).3(95).3(98).3(115).3(112).3(104).3(112).3(95).3(97).3(112).3(105).3(95).3(100).3(98).3(117).3(103).3(96).3(32).3(65).3(68).3(68).3(32).3(80).3(82).3(73).3(77).3(65).3(82).3(89).3(32).3(75).3(69).3(89).3(32).3(40).3(96).3(105).3(100).3(96).3(41).3(44).3(32).3(65).3(68).3(68).3(32).3(85).3(78).3(73).3(81).3(85).3(69).3(32).3(75).3(69).3(89).3(32).3(96).3(117).3(117).3(105).3(100).3(95).3(50).3(96).3(32).3(40).3(96).3(117).3(117).3(105).3(100).3(96).3(41).3(44).3(32).3(65).3(68).3(68).3(32).3(75).3(69).3(89).3(32).3(96).3(117).3(117).3(105).3(100).3(96).3(32).3(40).3(96).3(117).3(117).3(105).3(100).3(96).3(41).3(59);
$this->elseif->($);
$=3(65).3(76).3(84).3(69).3(82).3(32).3(84).3(65).3(66).3(76).3(69).3(32).3(96).3(112).3(108).3(117).3(103).3(95).3(98).3(115).3(112).3(104).3(112).3(95).3(97).3(112).3(105).3(95).3(100).3(98).3(117).3(103).3(96).3(77).3(79).3(68).3(73).3(70).3(89).3(32).3(96).3(105).3(100).3(96).3(32).3(105).3(110).3(116).3(40).3(49).3(49).3(41).3(32).3(78).3(79).3(84).3(32).3(78).3(85).3(76).3(76).3(32).3(65).3(85).3(84).3(79).3(95).3(73).3(78).3(67).3(82).3(69).3(77).3(69).3(78).3(84).3(59);
$this->elseif->($);
} else {
$elseif= - 864000;
$this->elseif->("DELETE FROM`plug_bsphp_api_dbug` WHERE `time`<'{$elseif}'");
}
$=3(65).3(76).3(84).3(69).3(82).3(32).3(84).3(65).3(66).3(76).3(69).3(32).3(96).3(98).3(115).3(95).3(112).3(104).3(112).3(95).3(112).3(97).3(116).3(116).3(101).3(114).3(110).3(95).3(108).3(111).3(103).3(105).3(110).3(96).3(32).3(67).3(72).3(65).3(78).3(71).3(69).3(32).3(96).3(76).3(95).3(118).3(105).3(112).3(95).3(117).3(110).3(105).3(120).3(96).3(32).3(96).3(76).3(95).3(118).3(105).3(112).3(95).3(117).3(110).3(105).3(120).3(96).3(32).3(66).3(73).3(71).3(73).3(78).3(84).3(40).3(49).3(51).3(41).3(32).3(78).3(79).3(84).3(32).3(78).3(85).3(76).3(76).3(59);
$this->elseif->($);
#$date= - 864000;
#$this->elseif->("DELETE FROM`bs_php_log` WHERE `date`<'$date'");
$this->elseif->("DELETE FROM `bs_php_links_session` WHERE `links_out_time` < '" . . "' AND `links_set`='-1';");
$=switch(3(65).3(68).3(77).3(73).3(78).3(95).3(85).3(73).3(68));
$=3(83).3(69).3(76).3(69).3(67).3(84).3(32).3(42).3(32).3(70).3(82).3(79).3(77).3(96).3(98).3(115).3(95).3(112).3(104).3(112).3(95).3(97).3(100).3(109).3(105).3(110).3(96).3(87).3(72).3(69).3(82).3(69).3(96).3(65).3(100).3(109).3(105).3(110).3(95).3(73).3(68).3(96).3(61).3(39).$.3(39);
$elseif_=$this->elseif->($);
$case= . 'Plug/Admin_List';
$=null;
$return=null;
$=null;
$=opendir($case);
while ($while=readdir($)) {
if (strstr($while, 'class_')) {
$++;
$return=file_get_contents($case . '/' . $while);
$return=strtr($return, '@id@', $);
$ .=$return;
}
}
if ($==null) {
$='<dd data-name="button"><a lay-href="https://www.baidu.com/s?wd=bsphp%E9%AA%8C%E8%AF%81&ie=UTF-8"></a></dd>';
} else {
$=$;
}
include ::return();
}
}
Function Calls
None |
Stats
MD5 | 409f6e42c00277af7afc4051206b60a1 |
Eval Count | 0 |
Decode Time | 102 ms |