Advertisement
Guest User

Untitled

a guest
May 13th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. <html>
  2. <head>
  3. <title>LiveHacking Training</title>
  4. <style type="text/css">
  5. body {
  6. font-family: Arial;
  7. }
  8. </style>
  9. </head>
  10. <body>
  11. <?php
  12. @$sent = $_GET['sent'];
  13.  
  14. if(empty($sent))
  15. {
  16. ?>
  17. <h1>LiveHacking Training</h1>
  18. <em>curl - POST</em>
  19. <form method="POST" action="hackMe.php?sent=1">
  20. <p>Username: <input type="text" name="username"></p>
  21. <p>Password: <input type="text" name="password"></p>
  22. <input type="submit" name="send" value="Send">
  23. </form>
  24. <?php
  25. } else {
  26. $username = $_POST['username'];
  27. $password = $_POST['password'];
  28. echo 'Your username is <strong>'.$username.'</strong><br />';
  29. echo 'The password written is <strong>'.$password.'</strong>';
  30. echo '<p><em>[+] LiveHacking.net<br />';
  31. echo '<em>[+] LiveHacking.com</p>';
  32. }
  33. ?>
  34. </body>
  35. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement