[clug] Sitar@home; Indirectly targeting veri greedy people (fwd)
Peter Barker
pbarker at barker.dropbear.id.au
Thu Sep 25 18:33:00 EST 2003
On Thu, 25 Sep 2003 Michael.James at csiro.au wrote:
> As Shakespear said, "If brevity is the soul of wit, hack on."
#!/bin/bash
while [ 1 ]; do
wget "http://$RANDOM$RANDOM${RANDOM}.com/robots.txt"
done
>
>
> #!/usr/bin/perl -w
>
> # (C) Kim Holburn 2003
> # released under GNU Public License
> # http://www.gnu.org/copyleft/gpl.html
> # script to generate pseudo-random strings
> # and download robots.txt files from random websites.
>
> use strict;
> use LWP::Simple;
>
> @ARGV and die "Just run it man, it's not configurable.\n";
>
> my @chars=(
> "a","b","c","d","e","f","g","h","i","j","k","l","m","n",
> "o","p","q","r","s","t","u","v","w","x","y","z","-",
> "0","1","2","3","4","5","6","7","8","9",
> );
>
> while (1) {
> my $url = 'http://www.';
> for ( 1..int(rand(17)+3) )
> { $url .= $chars[int(rand($#chars))]; }
> $url .= ".com/robots.txt\t";
> print "\nTrying $url";
> get($url) and print "OK";
> sleep 1;
> }
>
>
> --
> Michael James michael.james at csiro.au
> System Administrator voice: 02 6246 5040
> CSIRO Bioinformatics Facility fax: 02 6246 5166
>
Peter Barker | N _--_|\ /---- Barham, Vic
Programmer,Sysadmin,Geek | W + E / /\
pbarker at barker.dropbear.id.au | S \_,--?_*<-- Canberra
You need a bigger hammer. | v [35S, 149E]
"They'll need a whole new Orwellian pseudo-crime-name for that... I
suggest "digital molestation of kittens". - Jeremi (14640) from Slashdot
More information about the linux
mailing list