Difference between revisions of "Network"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
Line 17: Line 17:
 
* listen on a specific port
 
* listen on a specific port
 
  ngrep -qd lo port 21
 
  ngrep -qd lo port 21
 
* Password Sniffer
 
dsniff
 
  
 
* create WLAN traffic
 
* create WLAN traffic
 
  aireplay -3 -b <MACofAP> -h <MACtoFake> -x 600 eth1
 
  aireplay -3 -b <MACofAP> -h <MACtoFake> -x 600 eth1

Revision as of 07:58, 4 September 2010

  • you want an introduction to networking
  • you want to know about network addressing like 10.20.64.111/24
  • you want a list of networking commands
  • you want to do network troubleshooting

Networking topics

  • fake MAC address
ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx
  • Show all server sockets that are listening
lsof -i
  • Show all connections
netstat -putan
  • listen on a specific port
ngrep -qd lo port 21
  • create WLAN traffic
aireplay -3 -b <MACofAP> -h <MACtoFake> -x 600 eth1