We need more Linux users

Kezdőlap
Csatolmányok:
Üzenet email-ben
+ (text/plain)
Üzenet törlése
Válasz az üzenetre
Szerző: Austin Godber
Dátum:  
Tárgy: We need more Linux users
If we spoofed random SRC IPs on this would the counters logs still
increment the Mozilla UA counter ... (there would be no successful
downloads since the IPs are spoofed, but the request and UA will be sent).

Austin

Matt Alexander wrote:
> Here's a quick fix. ;-)
>
> #!/usr/bin/perl
>
> use LWP::UserAgent;
>
> my $ua = LWP::UserAgent->new();
> my $url = "http://www.microsoft.com/";
> my $request = HTTP::Request->new(HEAD => $url);
>
> $ua->agent('Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031016');
>
> while (TRUE) {
>    $ua->request($request);
> }

>