If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > My site got hacked!

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-18-07, 15:45
bardman6 bardman6 is offline
Registered User
 
Join Date: Sep 2007
Posts: 1
My site got hacked!

Hi folks,

I have a site built in classic asp that pulls from a MSSQL db and sometime in the last week it was hacked by the notorious turkish hackers . I restored the db, luckily, I had just backed it up.

The hosting company said that it was most likely the ' or 'x'='x hack and said that it was entirely up to me to fix the problem. I have no ideas. Any help?

Thanks in advance.

bardman6
Reply With Quote
  #2 (permalink)  
Old 09-18-07, 17:40
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
Quote:
Originally Posted by bardman6
t was most likely the ' or 'x'='x hack
That is a common technique called SQL injection, there is a heap of information out there if you go Google. I would advise that you disallow the use of apostrophes, semi-colons etc in any of your input areas (textboxes and the like).

Aren't you glad you had that backup, eh!
Make sure you keep that up - frequent backups are key!
__________________
George
Twitter | Blog
Reply With Quote
  #3 (permalink)  
Old 09-19-07, 11:24
Teddy Teddy is offline
Purveyor of Discontent
 
Join Date: Mar 2003
Location: The Bottom of The Barrel
Posts: 6,075
Prepared statements FTW.
__________________
oh yeah... documentation... I have heard of that.

*** What Do You Want In The MS Access Forum? ***
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On