Friday, July 13, 2007
tcpdump, the packet analyzer
-n | Don’t resolve hostnames |
-nn | Don’t resolve hostnames @ port names |
-X | Show the packet’s content in both hex & ASCII |
-v, -vv, -vvv | Increase the amount of packet information you get back |
-c | Only get x number of packets and then stop |
-S | Print absolute sequence numbers |
-e | Get the Ethernet header as well |
tcpdump –nS | Basic communication |
tcpdump -nnvvS | Basic communication (very verbose) |
tcpdump -nnvvSX | A deeper look at the traffic |
tcpdump -nnvvSXs | Heavy packet viewing |
http://dmiessler.com/study/tcpdump/
Wednesday, July 11, 2007
Monday, July 9, 2007
Sunday, July 8, 2007
Installing an SSH Server on Windows
http://www.netadmintools.com/art516.html
hping vs tcpdump (Packet Crafter vs Packet Analyzer / Sniffer)
Saturday, July 7, 2007
NETSH - Configure TCP/IP from the command line
Show TCP/IP setting | netsh interface ip show config |
Configure static IP | netsh interface ip set address name="Local Area Connection" static 10.21.11.81 255.0.0.0 10.21.11.254 1 |
Configure DHCP client | netsh interface ip set address "Local Area Connection" dhcp |
Configure DNS setting | netsh interface ip set dns "Local Area Connection" static 202.188.0.133 |
Configure DNS setting 2 | netsh interface ip add dns "Local Area Connection" 202.188.1.5 index=2 |
Configure DNS by DHCP | netsh interface ip set dns "Local Area Connection" dhcp |
Configure WINS setting | netsh interface ip set wins "Local Area Connection" static 192.168.0.200 |
http://www.petri.co.il/configure_tcp_ip_from_cmd.htm
Configure IP Address on Backtrack
| Command to set | To confirm it |
| ifconfig eth0 up | |
Set ip & subnet mask | ifconfig eth0 192.168.1.21 netmask 255.255.255.0 | Ifconfig eth0 |
| route add default gw 192.168.1.1 eth0 | |
| echo nameserver 192.168.1.1 > /etc/resolv.conf echo nameserver 212.135.1.36 >> /etc/resolv.conf | |
http://forums.remote-exploit.org/archive/index.php/t-1489.html
Check disk runs everytime I reboot my PC
fsutil dirty query e:
CHKNTFS /X e:
Chkdsk /f /r e:
http://www.experts-exchange.com/Hardware/Desktops/PCs/Q_22623541.html