July 13th, 2006, 05:29 AM
Populate Host File
Today I caught up on some podcasts. Episode 45, Security Now with Leo Laporte and Steve Gibson dealt with something that I had never before been exposed to. That was the Host file. In XP, it is located in Windows>system32>drivers>etc. It can be opened with Wordpad. It should look like this:
# Copyright (c) 1993-1999 Microsoft Corp.
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
# For example:
# 126.96.36.199 rhino.acme.com # source server
# 188.8.131.52 x.acme.com # x client host
You can add sites here. There are databases available that contain many of the malicious sites on the net. Here is one. LINK
I performed a copy and paste of the link into the Host file.
Steve explained what this does as follows: While browsing you encounter imbeded code that results in a diversion to, let's say doubleclick.com. Some times you may hang while the browser attempts to connect with doubleclick before it connects with the site you intended. If that file is listed in the host file, it does not attempt the doubleclick connection. This has two benefits. One, the code we hate is bypassed. The second, browsing is faster.
Caution: Make a copy of the Host file before you try this. This is not a tweak for the novice.
July 13th, 2006, 09:29 AM
I worked with host files a bit and I just want to thank you for the links they came in handy , I needed it for my work you are a lifesaver man thank.
July 13th, 2006, 14:00 PM
Old, Cranky and Perverted
July 13th, 2006, 14:25 PM
The real reason that I used the host file for is to add url's on it that I didn't want to use the ip but the name , because when your in a network and the site that you want to visit is on the network you must use the IP and when the ip and the name is in the host file you can use either.
July 13th, 2006, 17:20 PM
Found an easier way to accomplish this. When SpyBot Search and Destroy is run in Advanced Mode you can access the Tools section. In it there is an icon for the Host File and a button to Add the S&D host list.
July 14th, 2006, 04:07 AM
yeah, i use Spybot host file very handy... many entries... no probs so far!
--- 0wN3D by 3gG ---