Dafinger.pl attempts to find valid logins on hosts which run a finger service by guessing common user names.
6d3af756916b44a5a8ac832750e947c87afeeb71ab8ead63340b4bd1f2ec398d
# dafinger.pl by thun <papathun@hotmail.com>
#
# usage: dafinger.pl [host] [logfile] (add -v for verbose)
#
# A finger scanner that gets a list
# of users on a machine running a
# finger daemon. Uses a good list
# of common names and accounts.
# usage
$usage = "\nusage: $0 [host] [logfile] (add -v for verbose)\n\n";
$verbose = 0;
# check arguments
unless ($ARGV[0] ne "") { die $usage }
unless ($ARGV[1] ne "") { die $usage }
foreach $argument (@ARGV) { if ($argument =~ /-v/i) { $verbose = 1 }} ;
# set host and logfile
$host = "$ARGV[0]";
open(LOGFILE,">$ARGV[1]") || die "Can't open logfile: $ARGV[1]\n";
# get names
getnames(); $namecount = @names;
# check each name
if ($verbose == 1) { print "\n*** $0 starting scan...\n";
print "*** verbose\n\n"; }
foreach $name (@names) {
$i++;
$j++;
chomp ($name);
if ($verbose == 1) { print "[$i of $namecount] Checking $name\n"; }
@results = `finger $name\@$host`;
foreach $line (@results) {
chomp ($line);
if ($line =~ /Login/) {
$_ = "$line";
($theuser) = /\s(\w+)/;
if ($verbose == 1) { print " *** FOUND: $theuser\n"; }
print LOGFILE "$theuser\n"; }
}
# add sleep command to avoid killing finger daemon
# if ($j > 14) { sleep(7) ; $j = 0; };
} # foreach loop
close(LOGFILE);
# set @names array (add any users you want into this list)
# I put the names in the actual file as opposed to putting
# them in another file to make this app a little more portable.
sub getnames {
@names = sort qw(michael jacob matthew christopher nicholas austin
joshua andrew joseph brandon john tyler zachary daniel anthony james
kyle ryan david jonathan justin william robert alexander jordan kevin
samuel christian benjamin nathan jose thomas aaron brian timothy
steven hunter eric cameron luis adam jason sean jared juan devin
logan jesse jeremy connor ethan gabriel mark patrick travis chase
alex luke noah charles jake jesus ian isaiah jack blake bryan carlos
paul angel kenneth stephen isaac miguel evan mason richard dakota
gregory peter seth antonio jeffrey nathaniel spencer taylor brendan
lucas marcus edward brett mitchell root sys bin adm install user
anon demo anonymous system visitor setup pub public guest admin login
www web test temp nobody access beta bob subscriber internet member
cyber dev derek dustin adrian alec alexis bradley corey grant maxwell
ricardo erik shane vincent hayden henry clayton edgar nicolas oscar
dominic mario pedro roberto bryce george jackson joel raymond ronald
scott sebastian victor xavier alan alberto brady donald fernando ivan
jonathon jorge marco martin russell troy bailey calvin carter casey
chad dillon riley wesley cesar dennis hector jerry johnathan mathew
ricky shawn billy carson darren douglas johnny larry parker philip
phillip allen andre brock keith lawrence louis marvin ty albert andy
carl danny frank marc max theodore zackary branden brent cory curtis
dallas dominick drake drew edwin emmanuel jeffery jimmy nolan oliver
owen raul todd byron craig derrick eddie gary gerald gilbert jay joe
julio malcolm morgan pablo roger walter wayne abraham arthur chance
dominique dwayne jarod justice neil ross trent arnold baby clarence
damien felix jean jessie jon kristopher leonard marshall maurice
melvin orlando randy ronnie roy rudy sam steve tommy willie alvin
brad clinton cristopher dan dean duane eugene felipe frankie freddy
frederick harry irvin jamie jarred joey johnathon kelvin kenny kirk
lance lee leonardo lewis mohamed mohammed ralph roman rusty shannon
stanley tony trace tyson alfred august ben bernard bobby bruce chester
chris clint dale darrel dave francis hans harley harold jade jerome
johnnie kelly kent laurence leo leslie lloyd mike miles milton mohammad
monty moses neal norman robbie rodney romeo sammy simon terry timmy
toby barney benny darrell davis denver don dwight elizabeth forest
forrest franky freddie fredrick german glen herbert israel jackie josh
kermit khan kurt lisa matt ron tom torey tracy will zack emily sarah
jessica ashley samantha jennifer lauren megan rachel nicole amanda
victoria stephanie katherine rebecca maria anna julia danielle sara
laura melissa grace vanessa kimberly madeline miranda natalie tiffany
mary michelle christina destiny andrea marissa alexandria gabrielle
kristen monica margaret caroline cassandra diana erica angela daisy
heather sophia chelsea jenna catherine summer valerie whitney amy erika
faith ana claire katie crystal april rachael veronica angelica christine
julie kathryn patricia audrey autumn brandi hope jasmin sofia brenda
chelsey isabelle karen karla kristina melanie molly ruth vallie brandy
claudia isabel kathleen maggie nancy alexa alison amelia bridget deanna
gina katrina kirsten mercedes sandra abby diamond meagan reagan alice
anne ashlee celeste charlotte cindy elisabeth lydia ruby susan tina
virginia brooklyn carrie cecilia jane janelle lexus martha nikki pamela
sasha sonia sophie stacy theresa anita carla carolyn clarissa deborah
elaine genesis heaven kate linda marie princess rose sandy sharon angie
asia barbara bridgette carmen carol daphne ellen frances helena hillary
kathy loren lynn raquel sheila tanya annie beth georgia heidi holly
irene janet jenny joy juliet kristy mandy mollie paula pauline sylvia
betsy beverly charity christy eileen jill kennedy margarita melinda
robin sonya stacey stacie wendy america ann barbie billie brook candy
champagne cherokee china connie dawn debra diamonds easter ginger jody
kim lori love man marcy mica montgomery nada november queen rosemarie
rosemary rosie secret stevie sue sunshine tuesday wednesday);
}
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at https://www.hotmail.com.
Share information about yourself, create your own public profile at
https://profiles.msn.com.