Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Re: Re: Enough is Enough - Taking the fight back to the Internet scammers

by Hena (Friar)
on Oct 28, 2003 at 14:04 UTC ( [id://302687]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Enough is Enough - Taking the fight back to the Internet scammers
in thread Enough is Enough - Taking the fight back to the Internet scammers

Not taking sides here. But if you want to make it harder for them to spot it in logs, add some random element (included tachyons fixes as well).
#!/usr/bin/perl use LWP::UserAgent; my $ua = LWP::UserAgent->new; my $MAX_SLEEP = 5; # max seconds to sleep my $DEBUG = 1; my $LOG_FILL = 20000; # how many entries will we add to the scam log? while(1) { my $IE = sprintf "%.1f", ( 5.0, 5.1, 5.5, 6.0, 6.1 )[rand(5)]; my $WIN = sprintf "%.1f", ( 4.0, 4.1, 5.1 )[rand(3)]; my $bs = join '', map{ ('a'..'z')[rand(26)] }1..(rand(5)+3); my $agent = "Mozilla/4.0 (compatible; MSIE $IE; Windows NT $WIN; $ ++bs)"; $ua->agent( $agent ); $DEBUG && print $agent, $/; my $user = sprintf "%08d", rand(99999999); my $pass = sprintf "%05d", rand(99999); my $name = ucfirst join '', map{ ('a'..'z')[rand(26)] }1..(rand(5) ++3); my $word = join '', map{ ('a'..'z')[rand(26)] }1..(rand(3)+5); my $url = "http://barcl.pisem.net/obr2.html?name=$name&user=$user& +pass=$pass&word=$word&go=hm&loginButton=%20%20Verify%20%20"; $DEBUG && print $url, $/; my $request = HTTP::Request->new( 'GET', $url ); my $response = $ua->request( $request ); $DEBUG && print $response->content; sleep (int(rand ($MAX_SLEEP))+1); $LOG_FILL--; die "Done!\n" if $LOG_FILL == 0; }
  • Comment on Re: Re: Re: Enough is Enough - Taking the fight back to the Internet scammers
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://302687]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-25 07:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found