How to block websites. 05-06-2014, 02:15 AM
#1
Hello!
So I currently use a mac and I like to block websites that my friends go on when they come over to my house(porn).Do NOT mess around with the command that we will be using called sudo because you could mess up your mac.Perhaps if you successfully hack into a mac you can run this command and block sites such as Facebook.
Requirements
A mac
Step 1.
Go open terminal.You can do that by searching it on spot light at the very right corner next to your name.
Step 2.
Type sudo nano /etc/hosts
Then type your password.
You should see something like this or similar.
![[Image: e04m5e.png]](http://i57.tinypic.com/e04m5e.png)
Then type
127.0.0.1 www.yourwebsite.com
127.0.0.1 yourwebsite.com
Make sure you type it in different ways because sometimes you can access to the websites.
Step 3.
Once you typed your website you want to block.hit control and o at the same time.
Then hit enter
Now close terminal.This should show up but still close it.
![[Image: 16iy4hh.png]](http://i61.tinypic.com/16iy4hh.png)
Step 4.
Now visit the website you typed.Oh look what you see! :epic:
![[Image: e8tq2x.png]](http://i59.tinypic.com/e8tq2x.png)
If you have hacked into someones mac and have control perhaps you can try this! :Thumbs-Up:
So I currently use a mac and I like to block websites that my friends go on when they come over to my house(porn).Do NOT mess around with the command that we will be using called sudo because you could mess up your mac.Perhaps if you successfully hack into a mac you can run this command and block sites such as Facebook.
Requirements
A mac
Step 1.
Go open terminal.You can do that by searching it on spot light at the very right corner next to your name.
Step 2.
Type sudo nano /etc/hosts
Then type your password.
You should see something like this or similar.
![[Image: e04m5e.png]](http://i57.tinypic.com/e04m5e.png)
Then type
127.0.0.1 www.yourwebsite.com
127.0.0.1 yourwebsite.com
Make sure you type it in different ways because sometimes you can access to the websites.
Step 3.
Once you typed your website you want to block.hit control and o at the same time.
Then hit enter
Now close terminal.This should show up but still close it.
![[Image: 16iy4hh.png]](http://i61.tinypic.com/16iy4hh.png)
Step 4.
Now visit the website you typed.Oh look what you see! :epic:
![[Image: e8tq2x.png]](http://i59.tinypic.com/e8tq2x.png)
If you have hacked into someones mac and have control perhaps you can try this! :Thumbs-Up:



![[+]](https://sinister.li/images/modern/collapse_collapsed.png)
![[Image: wvBFmA5.png]](http://i.imgur.com/wvBFmA5.png)