Friday, July 13, 2007

hping, the packet crafter

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

TCP Header



http://www.wtcs.org/snmp4tpc/literature.htm

Monday, July 9, 2007

VMWare Images


ISO Images

auditor-150405-04.iso
backtrack-v.1.0-260506.iso
ipcop-install-1.4.10.i386.iso
knoppix-std-0.1.iso
ubuntu-6.10-server-i386.iso

Sunday, July 8, 2007

Installing an SSH Server on Windows

mkpasswd -l [-u ] >> ..\etc\passwd

http://www.netadmintools.com/art516.html

hping vs tcpdump (Packet Crafter vs Packet Analyzer / Sniffer)

prerequisite - you have to know the tcp ip layer, protocol & 3 way handshake

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

http://thelazyadmin.com/blogs/thelazyadmin/archive/2005/04/04/Using-Netsh-to-Manage-Network-Interfaces-Part-2.aspx

http://cwashington.netreach.net/depo/view.asp?Index=1155&ScriptType=command


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

the same problem with me...however, after follow the advice, i manage to solve it :)

fsutil dirty query e:
CHKNTFS /X e:
Chkdsk /f /r e:

http://www.experts-exchange.com/Hardware/Desktops/PCs/Q_22623541.html

LinkWithin

Related Posts with Thumbnails