This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re: Hit bomber
by Juerd (Abbot) on Mar 27, 2002 at 06:39 UTC

    Why do you do these things? Counters are for counting normal visitors, not for counting the automated hits of clueless people. Do you not know how this adds a lot of work load to a server? Scripts like this, if used effectively, can temporarily render some Internet connections unuseable.

    In my opinion, you should be terribly ashamed. Not because you launched yet another script that uses a lot of bandwidth for the wrong reasons, but because you have set your example string to this site's url. Please realize that some people who don't know how it works might copy your example literally, and then execute it. This would generate a thousand hits on our beloved monastery - with what purpose? Increasing a counter? The (fortunately temporary) side effect would be a slower monastery.

    Next time, please don't post scripts that can do harm. And if you insist on posting, use a non-existing url in your example.

    U28geW91IGNhbiBhbGwgcm90MTMgY
    W5kIHBhY2soKS4gQnV0IGRvIHlvdS
    ByZWNvZ25pc2UgQmFzZTY0IHdoZW4
    geW91IHNlZSBpdD8gIC0tIEp1ZXJk
    

      I agree, this is dangerous code. There are reasons that programmers have to be somewhat careful when writing things like spiders and so on, and one is that they don't want to overload the server.

      Whilst this only does one request at a time it does keep up the continual bombardment and is liable to get you in the bad books of the person who actually runs the server, to say the least.

      If this was done with even the tacit acceptance of the person who's counter it is then they could well end up having their account revoked.

      Be careful with this kind of stuff.

Re: Hit bomber
by rob_au (Abbot) on Mar 27, 2002 at 04:33 UTC
    Why not more simply like this? No shell invocations for the curl program call ...

    perl -MLWP::Simple -e "get 'http://url.site.com' for 1..1000"

     

    Insert witty and amusing .sig here

    A reply falls below the community's threshold of quality. You may see it by logging in.