Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 SPOOFED visitors
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

hennep
Starting Member

Netherlands
4 Posts

Posted - 13 March 2006 :  11:43:47  Show Profile
Last night I noticed 7 visitors in the active user list with a spoofed browser and OS. They showed up in the list as: "No User Agent/SPOOFED"
The IP-adresses were from several countries all around the world. I presume these were spiders from an unknown search engine.
To get rid of them I made a modification in inc_func_common.asp:
(modifications in red)

Sub ActiveUserTracker()
  Dim strUserIP, strScriptName, strQueryString, strUserAgent, strCurrentTime, strTimedOut

  strUserIP = Request.ServerVariables("REMOTE_ADDR")
  strScriptName = Mid(Request.ServerVariables("SCRIPT_NAME"), InstrRev(Request.ServerVariables("SCRIPT_NAME"), "/")+1)
  strQueryString = Request.ServerVariables("QUERY_STRING")
  strUserAgent = Request.ServerVariables("HTTP_USER_AGENT")
  strCurrentTime = DateToStr(strForumTimeAdjust)

  if len(strUserAgent) < 3 then ' spoofed user agent
     Response.Redirect "nospoofing.asp" 
  end if



Is this the correct way to get rid of these bandits or is there a better way?

Thanks,
HenneP

  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.23 seconds. Powered By: Snitz Forums 2000 Version 3.4.07