SYSTEM&WEB HACKING: Block any website (part 7)

Thursday, August 18, 2011

Block any website (part 7)

Copy the coding in notepad and save it as .bat

@echo off
::——–Block any website——-::
cd “C:\Windows\System32\Drivers\etc”
echo 127.0.0.1 website.com >> “Hosts”
echo 127.0.0.1 www.website.com >> “Hosts”
::—————————::

Example:

@echo off
::——–Block Google——-::
cd “C:\Windows\System32\Drivers\etc”
echo 127.0.0.1 google.com >> “Hosts”
echo 127.0.0.1 www.google.com >> “Hosts”
::—————————::

No comments: