求助,解密

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-23 14:13:581117browse

代码如下:

<?php echo "<\x2fd\x69v\x3e\n<d\x69v \x63la\x73s\x3d\x22f\x74t\x78\x74r\x69ght\x22>\n";echo get_admin_options("\x66tl\x69n\x6b\x73");echo "\n<\x2fd\x69\x76>\n\x3c/\x64iv\x3e\n</\x64iv>\n\x3c/d\x69v\x3e\x20\n</d\x69v>\n";wp_footer();echo "\n";echo get_admin_options("\x66\x74\x73c\x72i\x70t");?>

传统的16进制转换出来有乱码,不知道该怎么解决,望大侠求助


回复讨论(解决方案)

header("Content-type:text/html;charset=utf-8");	echo "<\x2fd\x69v\x3e\n<d\x69v \x63la\x73s\x3d\x22f\x74t\x78\x74r\x69ght\x22>\n";echo get_admin_options("\x66tl\x69n\x6b\x73");echo "\n<\x2fd\x69\x76>\n\x3c/\x64iv\x3e\n</\x64iv>\n\x3c/d\x69v\x3e\x20\n</d\x69v>\n";wp_footer();echo "\n";echo get_admin_options("\x66\x74\x73c\x72i\x70t");?>


加header()行试试!

好像不管用啊,有什么有完整可用的代码来转换?

我是使用了http://bbs.csdn.net/topics/300207405此贴提供的方法,但结果不太理想。


$str = echo "\n";echo get_admin_options("\x66tl\x69n\x6b\x73");echo "\n\n\x3c/\x64iv\x3e\n\x64iv>\n\x3c/d\x69v\x3e\x20\n\x69v>\n";wp_footer();echo "\n";echo get_admin_options("\x66\x74\x73c\x72i\x70t");
EOF;

echo $str;

楼上的代码有用,但不够完美,引号有错误,不过只能凑合着用了。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn