PDA

View Full Version : کمک برای decode کردن



.:Mahdi:.
جمعه 28 تیر 1392, 22:27 عصر
سلام
به نظرتون این code شده؟آخه خیلی عجیب غریبه.
ممنون میشم کمک کنید


<?php echo "\t\t<di\x76 c\x6cass=\"\x63\x6c\x65a\x72\x22>\x3c/\x64\x69v>\n\t\x3c/\x64i\x76\x3e\x3c!--\x20.\x63\x6fn\x74\x61in\x65\x72 /--\x3e\n\t\n\t";tie_banner("\x62\x61n\x6ee\x72_b\x6f\x74t\x6f\x6d","\x3c\x64i\x76\x20\x63\x6c\x61s\x73\x3d\x22\x61ds-\x62\x6f\x74tom\x22\x3e","</d\x69v>");echo "\n\t";get_sidebar("f\x6fote\x72");echo "\t\t\t\t\n\t\x3c\x64i\x76 \x63la\x73\x73=\"\x63\x6cear\"\x3e\x3c/di\x76\x3e\n\t<div c\x6c\x61\x73s\x3d\x22\x66\x6fo\x74er-\x62otto\x6d\x22>\n\t\t<d\x69\x76 class\x3d\"\x63on\x74\x61i\x6e\x65r\x22>\n \x20 \x20 \x20\t<div class=\"\x61l\x69\x67nle\x66t\"\x3e\n\t\t\t\t<a \x68\x72\x65\x66=\x22\x68t\x74\x70://ww\x77\x2e\x33\x7a\x61r.\x69\x72/\x22\x20\x74\x61rg\x65t\x3d\"\x5fbla\x6e\x6b\"\x3e\x3c\x64i\x76 clas\x73=\x22\x77\x70\x22></di\x76></a\x3e\n\t\t\t</d\x69v\x3e\n\t\t\t<\x64\x69v c\x6cass\x3d\x22al\x69\x67\x6e\x72i\x67\x68t\x22\x 3e\n\t\t\t\t";echo htmlspecialchars_decode(tie_get_option("f\x6fot\x65r_\x74w\x6f"));echo "\t\t\t</div\x3e\n\t\t\t";if(tie_get_option("foot\x65\x72_s\x6fci\x61l"))tie_get_social("\x79es",24);echo "\t\t\t\n\t\t\t\x3c\x64\x69\x76 c\x6c\x61\x73\x73=\"a\x6c\x69g\x6elef\x74\"\x3e\n\t\t\t\t";echo htmlspecialchars_decode(tie_get_option("f\x6foter_o\x6ee"));echo "\t\t\t\x3c/\x64\x69v\x3e\n\t\t</\x64iv\x3e\x3c!--\x20.C\x6f\x6etain\x65r\x20--\x3e\n\t</\x64\x69v\x3e<\x21-- \x2e\x46o\x6fte\x72\x20bottom\x20--\x3e\n\t";if(tie_get_option("\x66o\x6ft\x65\x72_to\x70")){echo "\t\t<\x64iv c\x6c\x61\x73\x73=\"sc\x72ollTo\x54op\x22\x3e";_e("\x53c\x72o\x6c\x6c\x20T\x6f\x20T\x6f\x70","t\x69e");echo "</\x64\x69\x76\x3e\n\t";}echo "\n\x3c/div>\x3c\x21--\x20.Wr\x61pp\x65r\x20--\x3e\n";wp_footer();echo "\x3c/bo\x64y\x3e\n\x3c/h\x74m\x6c\x3e\n";
?>

2undercover
شنبه 29 تیر 1392, 07:54 صبح
نه فقط کاراکتر های معمولی به HEX تبدیل شدن! HEX Characters (http://defindit.com/ascii.html)

darkcms
شنبه 29 تیر 1392, 15:17 عصر
با سلام.
منظور دوستمان 2undercover درست است!
کاراکتر ها به HEX تبدیل شده اند.
مثلا برای قرار دادن «>» از «\x3E» استفاده می کنند.
یک مثال با php برایتان می زنم:


<?php
echo "\x3Chtml dir=\"rtl\"\x3E";
?>

خروجی :


<html dir="rtl">

MMSHFE
شنبه 29 تیر 1392, 15:33 عصر
بله این کد فقط بصورت Hex در اومده (همونطور که دوستان اشاره کردن. متن اصلی:


<?php
echo " <div class=\"clear\"></div> </div><!-- .container /--> ";
tie_banner("banner_bottom", "<div class=\"ads-bottom\">", "</div>");
echo " ";
get_sidebar("footer");
echo " <div class=\"clear\"></div> <div class=\"footer-bottom\"> <div class=\"container\"> <div class=\"alignleft\"> <a href=\"http://www.3zar.ir/\" target=\"_blank\"><div class=\"wp\"></div></a> </div> <div class=\"alignright\"> ";
echo htmlspecialchars_decode(tie_get_option("footer_two"));
echo " </div> ";
if (tie_get_option("footer_social"))
tie_get_social("yes", 24);
echo " <div class=\"alignleft\"> ";
echo htmlspecialchars_decode(tie_get_option("footer_one"));
echo " </div> </div><!-- .Container --> </div><!-- .Footer bottom --> ";
if (tie_get_option("footer_top")) {
echo " <div class=\"scrollToTop\">";
_e("Scroll To Top", "tie");
echo "</div> ";
}
echo " </div><!-- .Wrapper --> ";
wp_footer();
echo "</body> </html> ";
?>

.:Mahdi:.
جمعه 04 مرداد 1392, 16:05 عصر
ممنون
فایده اینکه به hex تبدیلشون کنیم چیه؟همین پیچیدگی هست؟

godofphp
جمعه 04 مرداد 1392, 16:17 عصر
ممنون
فایده اینکه به hex تبدیلشون کنیم چیه؟همین پیچیدگی هست؟

میبینید که خود شما که با وردپرس کار کردید و مطمئننا هم این کد یه قالب وردپرس هست که کپی کردید توی انجمن
با اینکه تجربه پی اچ پی هم دارید با تلاش تونستید کد رو باز کنید
این کار برای کسانی که کپی میکنند یکم کپی سخت میکنه
به نوعی داره آشکار اعلام میکنه عزیزم من اینو کد کردم تا کپی نکنی لطفا دیکودش نکن :لبخندساده:

farnahad
چهارشنبه 27 آذر 1392, 17:34 عصر
لطفا ماهی گیری یاد بدید
من هم این مشکل را دارم
لطفا بگید با چه برنامه یا سایتی باید دیکد کنیم ؟

اینم لطفا دیکد کنید:

<?php echo "\t\t<di\x76 c\x6cass=\"\x63\x6c\x65a\x72\x22>\x3c/\x64\x69v>\n\t\x3c/\x64i\x76\x3e\x3c!--\x20.\x63\x6fn\x74\x61in\x65\x72 /--\x3e\n\t\n\t";tie_banner("\x62\x61n\x6ee\x72_b\x6f\x74t\x6f\x6d","\x3c\x64i\x76\x20\x63\x6c\x61s\x73\x3d\x22\x61ds-\x62\x6f\x74tom\x22\x3e","</d\x69v>");echo "\n\t";get_sidebar("f\x6fote\x72");echo "\t\t\t\t\n\t\x3c\x64i\x76 \x63la\x73\x73=\"\x63\x6cear\"\x3e\x3c/di\x76\x3e\n\t<div c\x6c\x61\x73s\x3d\x22\x66\x6fo\x74er-\x62otto\x6d\x22>\n\t\t<d\x69\x76 class\x3d\"\x63on\x74\x61i\x6e\x65r\x22>\n \x20 \x20 \x20\t<div class=\"\x61l\x69\x67nle\x66t\"\x3e\n\t\t\t\t<a \x68\x72\x65\x66=\x22\x68t\x74\x70://ww\x77\x2e\x33\x7a\x61r.\x69\x72/\x22\x20\x74\x61rg\x65t\x3d\"\x5fbla\x6e\x6b\"\x3e\x3c\x64i\x76 clas\x73=\x22\x77\x70\x22></di\x76></a\x3e\n\t\t\t</d\x69v\x3e\n\t\t\t<\x64\x69v c\x6cass\x3d\x22al\x69\x67\x6e\x72i\x67\x68t\x22\x 3e\n\t\t\t\t";echo htmlspecialchars_decode(tie_get_option("f\x6fot\x65r_\x74w\x6f"));echo "\t\t\t</div\x3e\n\t\t\t";if(tie_get_option("foot\x65\x72_s\x6fci\x61l"))tie_get_social("\x79es",24);echo "\t\t\t\n\t\t\t\x3c\x64\x69\x76 c\x6c\x61\x73\x73=\"a\x6c\x69g\x6elef\x74\"\x3e\n\t\t\t\t";echo htmlspecialchars_decode(tie_get_option("f\x6foter_o\x6ee"));echo "\t\t\t\x3c/\x64\x69v\x3e\n\t\t</\x64iv\x3e\x3c!--\x20.C\x6f\x6etain\x65r\x20--\x3e\n\t</\x64\x69v\x3e<\x21-- \x2e\x46o\x6fte\x72\x20bottom\x20--\x3e\n\t";if(tie_get_option("\x66o\x6ft\x65\x72_to\x70")){echo "\t\t<\x64iv c\x6c\x61\x73\x73=\"sc\x72ollTo\x54op\x22\x3e";_e("\x53c\x72o\x6c\x6c\x20T\x6f\x20T\x6f\x70","t\x69e");echo "</\x64\x69\x76\x3e\n\t";}echo "\n\x3c/div>\x3c\x21--\x20.Wr\x61pp\x65r\x20--\x3e\n";wp_footer();echo "\x3c/bo\x64y\x3e\n\x3c/h\x74m\x6c\x3e\n";
?>

MMSHFE
چهارشنبه 27 آذر 1392, 22:33 عصر
<?php
function Decode($string) {
return nl2br(htmlentities($string, ENT_QUOTES, 'utf-8'));
}
$string = <<<EOT
echo "\t\t<di\x76 c\x6cass=\"\x63\x6c\x65a\x72\x22>\x3c/\x64\x69v>\n\t\x3c/\x64i\x76\x3e\x3c!--\x20.\x63\x6fn\x74\x61in\x65\x72 /--\x3e\n\t\n\t";
tie_banner("\x62\x61n\x6ee\x72_b\x6f\x74t\x6f\x6d", "\x3c\x64i\x76\x20\x63\x6c\x61s\x73\x3d\x22\x61ds-\x62\x6f\x74tom\x22\x3e",
"</d\x69v>");
echo "\n\t";
get_sidebar("f\x6fote\x72");
echo "\t\t\t\t\n\t\x3c\x64i\x76 \x63la\x73\x73=\"\x63\x6cear\"\x3e\x3c/di\x76\x3e\n\t<div c\x6c\x61\x73s\x3d\x22\x66\x6fo\x74er-\x62otto\x6d\x22>\n\t\t<d\x69\x76 class\x3d\"\x63on\x74\x61i\x6e\x65r\x22>\n \x20 \x20 \x20\t<div class=\"\x61l\x69\x67nle\x66t\"\x3e\n\t\t\t\t<a \x68\x72\x65\x66=\x22\x68t\x74\x70://ww\x77\x2e\x33\x7a\x61r.\x69\x72/\x22\x20\x74\x61rg\x65t\x3d\"\x5fbla\x6e\x6b\"\x3e\x3c\x64i\x76 clas\x73=\x22\x77\x70\x22></di\x76></a\x3e\n\t\t\t</d\x69v\x3e\n\t\t\t<\x64\x69v c\x6cass\x3d\x22al\x69\x67\x6e\x72i\x67\x68t\x22\x 3e\n\t\t\t\t";
echo htmlspecialchars_decode(tie_get_option("f\x6fot\x65r_\x74w\x6f"));
echo "\t\t\t</div\x3e\n\t\t\t";
if (tie_get_option("foot\x65\x72_s\x6fci\x61l"))
tie_get_social("\x79es", 24);
echo "\t\t\t\n\t\t\t\x3c\x64\x69\x76 c\x6c\x61\x73\x73=\"a\x6c\x69g\x6elef\x74\"\x3e\n\t\t\t\t";
echo htmlspecialchars_decode(tie_get_option("f\x6foter_o\x6ee"));
echo "\t\t\t\x3c/\x64\x69v\x3e\n\t\t</\x64iv\x3e\x3c!--\x20.C\x6f\x6etain\x65r\x20--\x3e\n\t</\x64\x69v\x3e<\x21-- \x2e\x46o\x6fte\x72\x20bottom\x20--\x3e\n\t";
if (tie_get_option("\x66o\x6ft\x65\x72_to\x70")) {
echo "\t\t<\x64iv c\x6c\x61\x73\x73=\"sc\x72ollTo\x54op\x22\x3e";
_e("\x53c\x72o\x6c\x6c\x20T\x6f\x20T\x6f\x70", "t\x69e");
echo "</\x64\x69\x76\x3e\n\t";
}
echo "\n\x3c/div>\x3c\x21--\x20.Wr\x61pp\x65r\x20--\x3e\n";
wp_footer();
echo "\x3c/bo\x64y\x3e\n\x3c/h\x74m\x6c\x3e\n";
EOT;
echo Decode($string);
/* Output:

echo " <div class=\"clear"></div>
</div><!-- .container /-->

";
tie_banner("banner_bottom", "<div class="ads-bottom">",
"</div>");
echo "
";
get_sidebar("footer");
echo "
<div class=\"clear\"></div>
<div class="footer-bottom">
<div class=\"container">
<div class=\"alignleft\">
<a href="http://www.3zar.ir/" target=\"_blank\"><div class="wp"></div></a>
</div>
<div class="alignright">
";
echo htmlspecialchars_decode(tie_get_option("footer_two"));
echo " </div>
";
if (tie_get_option("footer_social"))
tie_get_social("yes", 24);
echo "
<div class=\"alignleft\">
";
echo htmlspecialchars_decode(tie_get_option("footer_one"));
echo " </div>
</div><!-- .Container -->
</div><!-- .Footer bottom -->
";
if (tie_get_option("footer_top")) {
echo " <div class=\"scrollToTop">";
_e("Scroll To Top", "tie");
echo "</div>
";
}
echo "
</div><!-- .Wrapper -->
";
wp_footer();
echo "</body>
</html>
";

*/
?>