Monday, June 9, 2008

generate fake website users

PHP


use LWP::Simple; print "Website Visitor Faker\n"; print "coded in perl by Athleone\n\n"; print "Type the website you want to fake visits to.\n"; print ">"; $site=; print "Checking whether site is valid..."; chomp($site); $check=get($site); if($check ne "") { print "Site $site valid.\n\n"; } else { die "Site $site not valid.\n\n"; } print "Type the number of visits you want added.\n"; print ">"; $visitz=; chomp($visitz); for($i=1;$i<=$visitz;$i++) { get($site); print "Visited site $i time(s)....\n"; } print "Done.";

No comments: