Follow us on Twitter!
Never in the field of human conflict was so much owed by so many to so few. - Winston Churchill
Friday, April 25, 2014
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Members Online
Total Online: 23
Guests Online: 21
Members Online: 2

Registered Members: 82909
Newest Member: awais
Latest Articles

Hosts File Editing

Arrow Image Everything to know about hosts files.

Hosts File Editing
Author: Regit

What is the hosts file?
The host file is like your computers address book of IP’s. Your browser first checks to see if the site you are going to is listed in this book. If it is, then you will connect directly to this site. If it is not, then your browser first contacts a DNS service for the IP address of the site you wish to connect to, then connects to the site.

Where is the Hosts File?
Linux/Unix /etc
Windows 95/98/ME %windir%\\
Windows NT/2000/XP %SystemRoot\\system32\\drivers\\etc\\
Mac OS System Folder: Preferences or System folder
Mac OS X /etc
OS/2 & EComStation “bootdrice”:\\mptn\\etc\\
Apple System Folder: Preferences and in the System Folder itself.

What is the advantage to editing a hosts file?
~Ad Blocking
If you are tired of dealing with ads and pop-ups, then you can tell your browser not to load them. This is done very simply. First, you need to find the IP address of the ad server. Then using your localhost or “loopback” IP address, do the fallowing:

What this dose, is makes a loopback connection. This means that an ad from that server can no longer be seen on your computer. Your browser dose not connect to the site that the ad is coming from any longer.

~Faster Site Loading
You can put the IP addresses for the site that you want to connect to, so each time you connect to that site, you don’t have to ask a DNS services to translate the name into the IP address. This will speed up access to the site, because your computer no longer has to contact other systems to find the address of the site you are connecting to.

~Blocking of unwanted sites
Much like blocking ad servers you can do the same thing to block unwanted sites. If you manage a network or even if you are a protective parent that is trying to protect your child from viewing unnecessary sites, then simply add something like this into your hosts file:

This will redirect the web browser from the bad site to your loopback connection, or basically to a blank page.

Hosts File “Hijacking”
~What is hosts file hijacking?
This is when the hosts file has been corrupted by a person or program so that when you try to connect to a site, lets say, you will instead be taken to

~How to fix a hosts file hijacking
Open your host file, and make sure that this line is in it: localhost

This is the default loopback connection (as stated before). If there is anything other then that, then that dose not necessarily mean that it is bad. There are programs out there that do add to the host file, that are not harmful.

Useful links
Wikipidia ~

No Comments have been Posted.
Post Comment


You must have completed the challenge Basic 1 and have 100 points or more, to be able to post.