---
# System prepended metadata

title: CYB101 Unit 4 Lab Walkthrough

---

**Unit 4 Lab Walk-through**
By: Wilson Zhu
**Note:** This lab was done in kali and not Azure Labs.


**Step 0:**
Pinging www.google.com
![](https://hackmd.io/_uploads/r1PbzDDlT.png)

Pinging www.example.com
![](https://hackmd.io/_uploads/By37fvvlT.png)


**Step 1:**
Note: Falkon was already installed for me. If not installed use the following command: `sudo apt install -y falkon`

**Step 2:**
Navigating to hosts:
![](https://hackmd.io/_uploads/r1f8mDvxa.png)
![](https://hackmd.io/_uploads/SkGuQDPgT.png)

Note: Some part are omitted.

**Step 3:**
Use `nano hosts` to view hosts.
```
nano hosts
```
![](https://hackmd.io/_uploads/Bkws7Dwe6.png)


**Note: Step 4 Omitted.**


**Step 5:**
Clear history in Falkon browser:
![](https://hackmd.io/_uploads/BJgl4wveT.png)
Note: If theres websites, it will show.

Set to open homepage and apply:
![](https://hackmd.io/_uploads/H1prEDwep.png)

Local storage settings: 
![](https://hackmd.io/_uploads/HkxuNwPx6.png)

Remove cookies:
![](https://hackmd.io/_uploads/S19q4vDe6.png)

Uncheck storing of cookies:
![](https://hackmd.io/_uploads/SJTiNPve6.png)

Clear recent history:
![](https://hackmd.io/_uploads/ryT04vDgp.png)


**Step 6:**
Changing addresses:
![](https://hackmd.io/_uploads/ByduSwwlT.png)
Use `sudo nano hosts` to edit the file. Save using `Control + O`. Exit the prompt using `Control + C`.

**Step 7:**
Pinging both `www.google.com` and `www.example.com` after address changes:
![](https://hackmd.io/_uploads/BJUTrvDea.png)

**Step 8:**
Going to `www.google.com` after address change:
![](https://hackmd.io/_uploads/rkleLDwxa.png)

Going to `www.example.com` after address change:
![](https://hackmd.io/_uploads/rkHmIDvga.png)

**Step 9:**
Restoring hosts to normal:
![](https://hackmd.io/_uploads/rkfF8PwlT.png)
Use the `sudo nano hosts` command again and delete the entries from step 6. Follow the same steps to save file as listed in step 6.
