Latest Updates

Patching the Windows Hosts File: Release Your Inner Hacker

This is a guest post by Alvina. If you want to guest post on this site, then please read our guidelines here.

I’ll be the first to admit that I’m no legendary hacker. In fact most, if any, hacking that I do involves finding work-arounds to buggy or rigid software. Which in a way (jokingly…kind of) is what I’m about to show you in this post.

Many software cracks usually allow you to run an application which edits your hosts file, effectively blocking your computer from accessing the software’s registry (or any other identification) server. However, some of these hosts-patching applications have problems doing their job. Some will actually alter your hosts file in a way that can harm your computer.

Luckily, you can patch the hosts file yourself. As long as you know the URL of the site you wish to block or redirect, it’s really not that difficult or challenging at all.

Modifying the Hosts File on Windows 7

1. Click on Start (Window button)
2. Click on Computer
3. Navigate through Windows Explorer through these folders:
1. C:/ (or whatever drive you have Windows installed in)
2. windows/
3. system32/
4. drivers/
5. etc
6. In the "etc" folder, select the hosts file and copy and paste it to your desktop.
7. Open the hosts file on your desktop, selecting to open through Notepad.
8. Make modifications to the file in Notepad.
9. Save using Ctrl+S.
10. Drag and drop the hosts file back into the "etc" folder
11. Select "move and replace file" to overwrite the original hosts file.

Originally, your hosts file should look something like this:

How to Block Websites

Making the proper edits on your hosts file to block a website is simple. Just add the following to the bottom of the hosts file in Notepad:

127.0.0.1 websiteyouareblocking.com

So if I want to block Myspace.com, I would then type:

127.0.0.1 myspace.com

So now if you try to type myspace.com into a browser or click a link to myspace, you will run into this:

Lots of people edit their hosts file to simply block bad or unwanted websites that could harm their computer. Here is along, extensive list of bad websites that are already styled to be blocked in your hosts file. Just download the text document, copy the blocked website codes, and paste it into your hosts file as I directed above.

One concern with using long lists like this that are designed to patch your hosts file is that they could manipulate the file to forward you to unwanted sites. Make sure that all websites are preceded with the code: 127.0.0.1. That code is the IP address that defaults to nowhere, a blank page. If there is any other IP address in the code, I wouldn’t trust it as it could direct you to sites with viruses loaded up and ready to take your computer or log your keyboard.

Alvina Lopez is a freelance writer and blog junkie, who blogs for accredited online colleges. She welcomes your comments at her email Id: alvina.lopez @gmail.com.

Source : windows7news

0 Response to "Patching the Windows Hosts File: Release Your Inner Hacker"

Post a Comment