Bots or something
Posted: Wed May 06, 2009 2:06 pm
Hi,
I have a small site that has some whois toolshttp://www.whoisstuff.net. Its been a bit of aproject learn some php coding, but seem to be abused by a bot or something.
Basically, I have a SQL dbase which keeps search history of the domains name lookups. I used session and referrer to see who is dong what. But noticed that quite a few entries have neither a session or a referrer in the db. Also, the look ups are about a second apart, so I presume someone is using a bot to run these scripts.
I put in a little bit of code that check just before submitting the insert query to check if there is a session and referrer and if not to exit the script, however, there are still submissions.
Any idea how someone could be bypassing this? I tested it with cURL, but this always creates a sesison and reffered.
Stumped, please help.
I have a small site that has some whois toolshttp://www.whoisstuff.net. Its been a bit of aproject learn some php coding, but seem to be abused by a bot or something.
Basically, I have a SQL dbase which keeps search history of the domains name lookups. I used session and referrer to see who is dong what. But noticed that quite a few entries have neither a session or a referrer in the db. Also, the look ups are about a second apart, so I presume someone is using a bot to run these scripts.
I put in a little bit of code that check just before submitting the insert query to check if there is a session and referrer and if not to exit the script, however, there are still submissions.
Any idea how someone could be bypassing this? I tested it with cURL, but this always creates a sesison and reffered.
Stumped, please help.