What's the obsession with -1' - نوشته شده در (1435 Views)
Senior Member
bobby131313
مطلب: 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?
 پیش‌فرض مرتب‌سازی برای تاریخ DESC به معنی جدیدترین است  
 تعداد در صفحه 
نوشته شده در
Advanced Member
Carefree
مطلب: 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
نوشته شده در
Senior Member
bobby131313
مطلب: 1163
1163
 
شما باید یک متن وارد کنید