What's the obsession with -1'

Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/70898?pagenum=1
04 November 2025, 21:12

Topic


bobby131313
What's the obsession with -1'
16 February 2015, 15:58


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?

 

Replies ...


Carefree
18 February 2015, 01:18


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
bobby131313
18 February 2015, 20:08


Thanks Carefree.
© 2000-2021 Snitz™ Communications