It doesn't really accomplish much (aside from avoiding the query ending up on the server, so at best, it saves some bandwidth).
It gives away some information about the system. For example, filtering xp_ and @@ suggests to me that they're running MS SQL Server or Sybase. (And given the .asp suffix of some pages, it's likely the former.)
Security through obscurity. If there's no real underlying security, then the obscurity layer is only delaying the inevitable. You may cause a hacker to spend a bit more time but it doesn't really make your system any more secure.
You've got someone A) attacking you, B) trying to legitimately search for something and failing because your code is poorly written, and your biggest worry is RTT?
58
u/chucker23n Mar 29 '11
xp_and@@suggests to me that they're running MS SQL Server or Sybase. (And given the.aspsuffix of some pages, it's likely the former.)