Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
allsu, напиши вместо eval - alert. скрипт вместо выполнения расшифрованного кода, просто покажет его в месаджбоксе.
есть еще вариант с текстареа, но думаю тебе хватит и месаджбокса.
ну тогда текстареа:
docoment.write("<textarea>");
docoment.write("все что написано внутри eval");
docoment.write("</textarea>");
после этого будет выведен бокс с текстом, если там закодированный код - копипаст и повторить. и так до достижения результата.
P.S. есть кодировщики, которые рушат идею с текстареа путем вставления внутрь своего кода тегов, разрущающих целостность хтмл. к таким кодировщикам нужен ручной подход ("обработать напильником"), но тоже ничего сложного в этом нет.
Добавлено через 1 минуту
P.P.S. вообще, все что может выполнить браузер в HTTP-запросе (не всегда верно для https) - раскодируется по определению, другой вопрос - сколько на это надо времени
Ну и что с того? нужно просто поэтапно действоватьвобщем попробовал и ваш метод результата не получил
видимо там хз сколько раз перекодирован код
function m(s){
var c,n,z,i;
z=unescape('%27');
i=0;
while(i<s. length)
{
c=s.charAt(i);
if('u'==c)
{
c='%'+c;
c+=s.charAt(i+1);
c+=s.charAt(i+2);
c+=s.charAt(i+3);
c+=s.charAt(i+4);
n=5;
} else
{
c='%'+c;
c+=s.charAt(i+1);
n=2;
}
z+=c;
i=i+n;
}
return z;
}
function e(s)
{
return unescape(m(s));
}
function d(os)
{
var key="DecryptIT";
var ds;
ds='';
var kp,sp,s,kc,sc;
kp=0;sp=0;
while(sp<os.length)
{
sc= os.charCodeAt(sp);
kc=key.charCodeAt(kp);
if(((sc^kc)==39)||((sc^kc)==92)||((sc^kc)<32)||((sc^kc)>126))
{
s=String.fromCharCode(sc);
}else{
s=String.fromCharCode((sc^kc));
}
ds+=s;
kp++;
sp++;
if(kp>=key.length)kp=0;
}
return ds;
}
function di(s)
{
s=d(s);
document.write(unescape(m(s)));
}
Что это обозначает?
Parse error: syntax error, unexpected $end in /..../public_html/install/upgrade.php on line 1064
Я так понимаю конец документа? Так у меня там прописано ?>
$o="QAAAOzgKDSQnTkpXSFV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GwrJGxsbGwrK109JGxsbGxsbGxsbGwoJGxbJGxsbGxsXSkpOyRsbGxsbCsrOyRsbGxsbGxsKz0kbGw7fX1lbHNlJGxsbGxsbGxsWyRsbGxsbGxsKytdPSRsbGxsbGxsbGxsKCRsWyRsbGxsbCsrXSk7JGxsbGxsbDw8PTE7JGxsbGxsbGxsbC0tO31ldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkd4c2JEMG5ZMmh5SnpzPSIpKTskbGxsbGw9MDtldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkQwaVB5SXVKR3hzYkd4c2JHeHNiR3hzYkNnMk1pazciKSk7JGxsbGxsbGxsbGw9IiI7Zm9yKDskbGxsbGw8JGxsbGxsbGw7KXskbGxsbGxsbGxsbC49JGxsbGxsbGxsbGxsbCgkbGxsbGxsbGxbJGxsbGxsKytdXjB4MDcpO31ldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkM0OUpHeHNiR3hzYkd4c2JHd3VKR3hzYkd4c2JHeHNiR3hzYkNnMk1Da3VJajhpT3c9PSIpKTtldmFsKCRsbGxsbGxsbGwpOw=="));return;
Мужики помогите пож-ста декодировать этот файл
<?
# IMPORTANT: Do not edit below unless you know what you are doing!
if(!defined('IN_TRACKER'))
die('Hacking attempt!');
function render_blocks($side, $blockfile, $blocktitle, $content, $bid, $bposition) {
global $showbanners, $CURUSER;
global $foot;
$contenta = "<span id=\"ss".$bid."\" style=\"display: block;\">";
?>
<script language="javascript" type="text/javascript" src="js/ajax.js"></script>
<script language=\"javascript\" type=\"text/javascript\">
function show_hide(id)
{
var klappText = document.getElementById('s' + id);
var klappBild = document.getElementById('pic' + id);
if (klappText.style.display == 'none') {
klappText.style.display = 'block';
klappBild.src = 'pic/minus.gif';
klappBild.title = 'Скрыть';
} else {
klappText.style.display = 'none';
klappBild.src = 'pic/plus.gif';
klappBild.title = 'Показать';
}
}
</script>
<?
if ($blockfile != "") {
if (file_exists ("blocks/".$blockfile."")) {
define( 'BLOCK_FILE', 1);
require ("blocks/".$blockfile."");
$contenta .= $content;
} else {
$contenta .= "<center>Существует проблема с этим блоком!</center>";
}
}
$blocktitle .= " <span style=\"cursor: pointer;\" onclick=\"javascript: show_hide('s".$bid."');\"><img border=\"0\" src=\"pic/minus.gif\" id=\"pics".$bid."\" title=\"Скрыть\"></span><span style=\"cursor: pointer;\" onclick=\"javascript: show_hide('s".$bid."');\"></span>";
if (!((isset ($content) AND !empty ($content)))) {
$content = "<center>Существует проблема с этим блоком!</center>";
}
switch ($side) {
case 'b':
$showbanners = $content;
return null;
case 'f':
$foot = $content;
return null;
case 'n':
echo $content;
return null;
case 'p':
return $content;
case 'o':
return "$blocktitle - $content";
}
$contenta .= "</snap>";
// BeginBlock($blocktitle, $bposition);
themesidebox($blocktitle, $contenta, $bposition);
// EndBlock($bposition);
return null;
}
function themesidebox($title, $content, $pos) {
global $blockfile, $b_id, $ss_uri;
static $bl_mass;
//$content = str_replace("'", "'", $content);
$func = 'echo';
$func2 = '';
if ($pos == "s" || $pos == "o") {
if (empty($blockfile)) {
$bl_name = "fly-block-".$b_id;
} else {
$bl_name = "fly-".str_replace(".php", "", $blockfile);
}
} else {
if (empty($blockfile)) {
$bl_name = "block-".$b_id;
} else {
$bl_name = str_replace(".php", "", $blockfile);
}
}
if (!isset($bl_mass[$bl_name])) {
if (file_exists("themes/".$ss_uri."/html/".$bl_name.".html")) {
$bl_mass[$bl_name]['m'] = true;
} else {
$bl_mass[$bl_name]['m'] = false;
}
}
if ($bl_mass[$bl_name]['m']) {
$thefile = addslashes(file_get_contents("themes/".$ss_uri."/html/".$bl_name.".html"));
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
if ($pos == "o") {
return $r_file;
} else {
echo $r_file;
}
} else {
switch($pos) {
case 'l':
$bl_name ="block-left";
break;
case 'r':
$bl_name ="block-right";
break;
case 'c':
$bl_name ="block-center";
break;
case 'd':
$bl_name ="block-down";
break;
case 's':
$bl_name ="block-fly";
break;
case 'o':
$func='return(';
$func2=')';
$bl_name ="block-fly";
break;
default:
$bl_name ="block-all";
break;
}
if (!isset($bl_mass[$bl_name])) {
if (file_exists("themes/".$ss_uri."/html/".$bl_name.".html")) {
$bl_mass[$bl_name]['m'] = true;
$f_str = file_get_contents("themes/".$ss_uri."/html/".$bl_name.".html");
$f_str = 'global $ss_uri, $tracker_lang; '.$func.' "'.addslashes($f_str)." \"".$func2.";";
$bl_mass[$bl_name]['f'] = create_function('$title, $content', $f_str);
} else {
$bl_mass[$bl_name]['m'] = false;
}
}
if ($bl_mass[$bl_name]['m']) {
if ($pos == "o") {
return $bl_mass[$bl_name]['f']($title, $content);
} else {
$bl_mass[$bl_name]['f']($title, $content);
}
} else {
$bl_name = 'block-all';
if (!isset($bl_mass[$bl_name])) {
if (file_exists("themes/".$ss_uri."/html/".$bl_name.".html")) {
$bl_mass[$bl_name]['m'] = true;
$f_str = file_get_contents("themes/".$ss_uri."/html/".$bl_name.".html");
$f_str = 'global $ss_uri, $tracker_lang; '.$func.' "'.addslashes($f_str)." \"".$func2.";";
$bl_mass[$bl_name]['f'] = create_function('$title, $content', $f_str);
} else {
$bl_mass[$bl_name]['m'] = false;
}
}
if ($bl_mass[$bl_name]['m']) {
if ($pos == "o") {
return $bl_mass[$bl_name]['f']($title, $content);
} else {
$bl_mass[$bl_name]['f']($title, $content);
}
} else {
echo "<fieldset><legend>".$title."</legend>".$content."</fieldset>";
}
}
}
}
$orbital_blocks = array();
function show_blocks($position) {
global $CURUSER, $use_blocks, $already_used, $orbital_blocks;
if ($use_blocks) {
if (!$already_used) {
$blocks_res = sql_query("SELECT * FROM orbital_blocks WHERE active = 1 ORDER BY weight ASC") or sqlerr(__FILE__,__LINE__);
while ($blocks_row = mysql_fetch_array($blocks_res))
$orbital_blocks[] = $blocks_row;
if (!$orbital_blocks)
$orbital_blocks = array();
$already_used = true;
}
//$blocks = sql_query("SELECT * FROM orbital_blocks WHERE bposition = ".sqlesc($position)." AND active = 1 ORDER BY weight ASC") or sqlerr(__FILE__,__LINE__);
foreach ($orbital_blocks as $block) {
$bid = $block["bid"];
$title = $block["title"];
$content = $block["content"];
$blockfile = $block["blockfile"];
$bposition = $block["bposition"];
if ($position != $bposition)
continue;
$view = $block["view"];
$which = explode(",", $block["which"]);
$module_name = str_replace(".php", "", basename($_SERVER["PHP_SELF"]));
if (!(in_array($module_name, $which) || in_array("all", $which) || (in_array("ihome", $which) && $module_name == "index"))) {
continue;
}
if ($view == 0) {
render_blocks($side, $blockfile, $title, $content, $bid, $bposition);
} elseif ($view == 1 && $CURUSER) {
render_blocks($side, $blockfile, $title, $content, $bid, $bposition);
} elseif ($view == 2 && (get_user_class() >= UC_MODERATOR)) {
render_blocks($side, $blockfile, $title, $content, $bid, $bposition);
} elseif ($view == 3 && (!$CURUSER || get_user_class() >= UC_MODERATOR)) {
render_blocks($side, $blockfile, $title, $content, $bid, $bposition);
}
}
}
}
?>