diff options
author | Camil Staps | 2015-09-17 20:54:06 +0200 |
---|---|---|
committer | Camil Staps | 2015-09-17 20:54:06 +0200 |
commit | b00f4349fe7cd82524b5dcf9d6853f4ec98fa98f (patch) | |
tree | 10a317e74ad96b06e8726aaef660d4b520b8733a /netsec-assignment2-S4498062/exercise4/exercise4a | |
parent | Assignment 1 (diff) |
Assignment 2
Diffstat (limited to 'netsec-assignment2-S4498062/exercise4/exercise4a')
-rw-r--r-- | netsec-assignment2-S4498062/exercise4/exercise4a | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/netsec-assignment2-S4498062/exercise4/exercise4a b/netsec-assignment2-S4498062/exercise4/exercise4a new file mode 100644 index 0000000..016e211 --- /dev/null +++ b/netsec-assignment2-S4498062/exercise4/exercise4a @@ -0,0 +1,28 @@ + # echo 1 > /proc/sys/net/ipv4/ip_forward + # ifconfig wlan0 down + # iwconfig wlan0 mode managed + # iwconfig wlan0 essid "NetSec Homework Net (Pol)" + # iwconfig wlan0 ap 48:5B:39:89:8C:10 + # iwconfig wlan0 key 37:00:9C:49:21:61:1E:4A:1A:44:6E:2F:20 + # ifconfig wlan0 up + # ifconfig wlan0 192.168.84.100 + +You should *not* run Wireshark with root rights, but rather add yourself to the +wireshark group (at least, that's what it told me). In any case, the pings do +show up. + +I'm going to perform MITM between .10 and .62: + + # arpspoof -t 192.168.84.10 192.168.84.62 + # arpspoof -t 192.168.84.62 192.168.84.10 + +For some reason in Wireshark I then see pings between .60 (and .100 and .100) +and .10 (why .60 instead of .62?). + +We're seeing two sets because we're playing MITM: + + .10 <-----------> .100 (us) <------------> .62 + first set second set + +All packets have to be sent twice for this to work. + |