What's the obsession with -1' - Posted (1434 Views)
Senior Member
bobby131313
Posts: 1163
1163
Pretty much any file on my site that uses a numeric querystring is attempted to load with a -1' value. Always China, Pakistan, Turkey, etc. Hack attempts?
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Advanced Member
Carefree
Posts: 4224
4224
Probably, but the default Snitz isn't vulnerable to that type of attack. Replacing numerical values (with the exception of "pop_profile.asp") with any negative numbers will simply redirect to "default.asp". To eliminate the error message report from "pop_profile.asp", you need to add 4 lines.
Code:

Search for the following lines (appx 141-143):

case "display" '## Display Profile

if strDBNTUserName = "" then

Between them, insert these:

If Request("id") > "" Then
If Not IsNumeric(Request("id")) Then Response.Redirect "default.asp"
If (IsNumeric(Request("id")) And Request("id") < 1) Then Response.Redirect "default.asp"
End If
Posted
Senior Member
bobby131313
Posts: 1163
1163
 
You Must enter a message