Commit fb127960 authored by Philip Linghammar's avatar Philip Linghammar
Browse files

Updates basics_of_linux.md

Auto commit by GitBook Editor
parent 5817e502
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -1022,6 +1022,8 @@ ip addr add 192.168.150.2/24 dev ens3

```
ip link set ens3 up

# ifup and ifdown will not work
```

When we bring up the interface the routing table will automatically get populated.
@@ -1087,6 +1089,12 @@ curl icanhazip.com

You will see the request in burp suite.



If you want to mitm windowsyou just need to change the ip and gateway to 192.168.15.2 and 192.168.150.1. 



### Wireless - wpa\_supplicant

So if you manage to disable networkManager you can connect to a wireless network using wpa\_supplicant instead. I think that is what NetworkManager actually uses underneith.