ºìÁªLinuxÃÅ»§
Linux°ïÖú

½âÎöLinux»·¾³Öкڿͳ£ÓÃÐá̽Æ÷

·¢²¼Ê±¼ä:2006-08-24 00:26:49À´Ô´:ºìÁª×÷Õß:fengmayi1
1.¸ÅÊö

¡¡¡¡±¾ÎĶÔLinux»·¾³Ïºڿͳ£³£Ê¹Óõļ¸ÖÖÐá̽Æ÷½øÐÐÏêϸµÄ·ÖÎö£¬ÕâЩÐá̽Æ÷ÍùÍù±»ÈëÇÖÕßÍê³ÉÈëÇÖÒÔºóÖÖÖ²ÔÚÊܺ¦Õß·þÎñÆ÷µ±ÖС£ÕâЩÐá̽Æ÷¸÷×ÔÓв»Í¬µÄÌص㣬ÓеÄÖ»ÊǼòµ¥µÄÓÃÀ´²¶×½Óû§ÃûºÍÃÜÂ룬ÓеÄÔò·Ç³£Ç¿´ó¿É¼Ç¼ËùÓеÄÍøÂçÊý¾ÝÁ÷¡£±¾ÎĽ«¶ÔÏÂÃ漸ÖÖÐá̽Æ÷½øÐзÖÎö£º

¡¡¡¡linsniffer
¡¡¡¡linuxsniffer
¡¡¡¡hunt
¡¡¡¡sniffit

¡¡¡¡2.linsniffer

¡¡¡¡linsnifferÊÇÒ»¸ö¼òµ¥ÊµÓõÄÐá̽Æ÷¡£ËüÖ÷ÒªµÄ¹¦ÄÜÌصãÊÇÓÃÀ´²¶×½Óû§ÃûºÍÃÜÂ룬ËüÔÚÕâ·½Ãæ·Ç³£³öÉ«¡£

¡¡¡¡×÷ÕߣºMike Edulla
¡¡¡¡Ìõ¼þ: CºÍIPÍ·Îļþ
¡¡¡¡ÅäÖÃÎļþ£ºÎÞ
¡¡¡¡Î»ÖÃ: http://agape.trilidun.org/hack/network-sniffers/linsnifferc
¡¡¡¡°²È«ÀúÊ·: ÎÞ

¡¡¡¡×¢: Ò×ÓÚʹÓᣵ«ÊÇlnsnifferÐèÒªÍêÕûµÄIPÍ·Îļþ£¬°üÀ¨³£³£´æ´¢ÔÚ/usr/include/netºÍ /usr/include/netinetµÄÍ·Îļþ£¬ÔÚ±àÒëÇ°È·±£PATH±äÁ¿°üº¬/usr/include¡£

¡¡¡¡Ê¹ÓÃÏÂÃæµÄÃüÁîÀ´±àÒëlnsniffer£º

¡¡¡¡$cc linsniffer.c -o linsniffer

¡¡¡¡ÒªÔËÐÐlinsniffer£¬Ê¹ÓÃÏÂÃæµÄÃüÁ

¡¡¡¡$linsniffer

¡¡¡¡Æô¶¯ÒÔºólinsniffer½«´´½¨Ò»¸ö¿ÕÎļþ£ºtcp.logÀ´´æ´¢Ðá̽½á¹û¡£

¡¡¡¡ÔÚ²âÊÔÖÐÎÒ´´½¨Ò»¸öÃûΪhaplessµÄÓû§£¬ÃÜÂëΪunaware¡£È»ºóʹÓøÃÓû§À´µÇ¼Linux·þÎñÆ÷£¬²¢½øÐÐһЩ³£¼ûµÄÓû§²Ù×÷¡£ÏÂÃæÊǽøÐеÄÒ»´Îftp¹ý³Ì£º

¡¡¡¡GNSS $ ftp 192.168.0.2
¡¡¡¡Connected to 192.168.0.2.

¡¡¡¡220 linux.test.net FTP server Wed Aug 19 02:55:52 MST 1998) ready.

¡¡¡¡Name (192.168.0.2:root): hapless
¡¡¡¡331 Password required for hapless.
¡¡¡¡Password:
¡¡¡¡230 User hapless logged in.
¡¡¡¡Remote system type is UNIX.
¡¡¡¡Using binary mode to transfer files.
¡¡¡¡ftp> ls -al
¡¡¡¡200 PORT command successful.
¡¡¡¡150 Opening ASCII mode data connection for /bin/ls.
¡¡¡¡total 14
¡¡¡¡drwxrwxr-x 4 hapless hapless 1024 May 20 19:35 .
¡¡¡¡drwxr-xr-x 6 root root 1024 May 20 19:28 ..
¡¡¡¡-rw-rw-r-- 1 hapless hapless 96 May 20 19:56 .bash_history
¡¡¡¡-rw-r--r-- 1 hapless hapless 49 Nov 25 1997 .bash_logout
¡¡¡¡-rw-r--r-- 1 hapless hapless 913 Nov 24 1997 .bashrc
¡¡¡¡-rw-r--r-- 1 hapless hapless 650 Nov 24 1997 .cshrc
¡¡¡¡-rw-r--r-- 1 hapless hapless 111 Nov 3 1997 .inputrc
¡¡¡¡-rwxr-xr-x 1 hapless hapless 186 Sep 1 1998 .kshrc
¡¡¡¡-rw-r--r-- 1 hapless hapless 392 Jan 7 1998 .login
¡¡¡¡-rw-r--r-- 1 hapless hapless 51 Nov 25 1997 .logout
¡¡¡¡-rw-r--r-- 1 hapless hapless 341 Oct 13 1997 .profile
¡¡¡¡-rwxr-xr-x 1 hapless hapless 182 Sep 1 1998 .profile.ksh
¡¡¡¡drwxr-xr-x 2 hapless hapless 1024 May 14 12:16 .seyon
¡¡¡¡drwxr-xr-x 3 hapless hapless 1024 May 14 12:15 lg
¡¡¡¡226 Transfer complete.
¡¡¡¡ftp> ls
¡¡¡¡200 PORT command successful.
¡¡¡¡150 Opening ASCII mode data connection for /bin/ls.
¡¡¡¡total 14
¡¡¡¡drwxrwxr-x 4 hapless hapless 1024 May 20 19:35 .
¡¡¡¡drwxr-xr-x 6 root root 1024 May 20 19:28 ..
¡¡¡¡-rw-rw-r-- 1 hapless hapless 96 May 20 19:56 .bash_history
¡¡¡¡-rw-r--r-- 1 hapless hapless 49 Nov 25 1997 .bash_logout
¡¡¡¡-rw-r--r-- 1 hapless hapless 913 Nov 24 1997 .bashrc
¡¡¡¡-rw-r--r-- 1 hapless hapless 650 Nov 24 1997 .cshrc
¡¡¡¡-rw-r--r-- 1 hapless hapless 111 Nov 3 1997 .inputrc
¡¡¡¡-rwxr-xr-x 1 hapless hapless 186 Sep 1 1998 .kshrc
¡¡¡¡-rw-r--r-- 1 hapless hapless 392 Jan 7 1998 .login
¡¡¡¡-rw-r--r-- 1 hapless hapless 51 Nov 25 1997 .logout
¡¡¡¡-rw-r--r-- 1 hapless hapless 341 Oct 13 1997 .profile
¡¡¡¡-rwxr-xr-x 1 hapless hapless 182 Sep 1 1998 .profile.ksh
¡¡¡¡drwxr-xr-x 2 hapless hapless 1024 May 14 12:16 .seyon
¡¡¡¡drwxr-xr-x 3 hapless hapless 1024 May 14 12:15 lg
¡¡¡¡226 Transfer complete.
¡¡¡¡ftp> ls -F
¡¡¡¡200 PORT command successful.
¡¡¡¡150 Opening ASCII mode data connection for /bin/ls.
¡¡¡¡total 14
¡¡¡¡drwxrwxr-x 4 hapless hapless 1024 May 20 19:35 ./
¡¡¡¡drwxr-xr-x 6 root root 1024 May 20 19:28 ../
¡¡¡¡rw-rw-r-- 1 hapless hapless 96 May 20 19:56 .bash_history
¡¡¡¡-rw-r--r-- 1 hapless hapless 49 Nov 25 1997 .bash_logout
¡¡¡¡-rw-r--r-- 1 hapless hapless 913 Nov 24 1997 .bashrc
¡¡¡¡-rw-r--r-- 1 hapless hapless 650 Nov 24 1997 .cshrc
¡¡¡¡-rw-r--r-- 1 hapless hapless 111 Nov 3 1997 .inputrc
¡¡¡¡-rwxr-xr-x 1 hapless hapless 186 Sep 1 1998 .kshrc*
¡¡¡¡-rw-r--r-- 1 hapless hapless 392 Jan 7 1998 .login
¡¡¡¡-rw-r--r-- 1 hapless hapless 51 Nov 25 1997 .logout
¡¡¡¡-rw-r--r-- 1 hapless hapless 341 Oct 13 1997 .profile
¡¡¡¡-rwxr-xr-x 1 hapless hapless 182 Sep 1 1998 .profile.ksh*
¡¡¡¡drwxr-xr-x 2 hapless hapless 1024 May 14 12:16 .seyon/
¡¡¡¡drwxr-xr-x 3 hapless hapless 1024 May 14 12:15 lg/
¡¡¡¡226 Transfer complete.
¡¡¡¡ftp> cd lg
¡¡¡¡250 CWD command successful.
¡¡¡¡ftp> ls -F
¡¡¡¡200 PORT command successful.
¡¡¡¡150 Opening ASCII mode data connection for /bin/ls.
¡¡¡¡total 8
¡¡¡¡drwxr-xr-x 3 hapless hapless 1024 May 14 12:15 ./
¡¡¡¡drwxrwxr-x 4 hapless hapless 1024 May 20 19:35 ../
¡¡¡¡rw-r--r-- 1 hapless hapless 70 Aug 22 1998 lg3_colors
¡¡¡¡-rw-r--r-- 1 hapless hapless 629 Aug 22 1998 lg3_prefs
¡¡¡¡-rw-r--r-- 1 hapless hapless 728 Aug 22 1998 lg3_soundPref
¡¡¡¡-rw-r--r-- 1 hapless hapless 2024 Aug 22 1998 lg3_startup
¡¡¡¡drwxr-xr-x 2 hapless hapless 1024 May 14 12:15 lg_layouts/
¡¡¡¡226 Transfer complete.
¡¡¡¡ftp> cd lg_layouts
¡¡¡¡250 CWD command successful.



¡¡ÕâÊÇÒ»¸öµäÐ͵ÄÓû§²Ù×÷¹ý³Ì¡£ÏÖÔÚÎÒÃÇ¿´¿´linsniffer²úÉúµÄÐá̽½á¹û:

¡¡¡¡gnss => linux.test.net [21]
¡¡¡¡USER hapless
¡¡¡¡PASS unaware
¡¡¡¡SYST
¡¡¡¡PORT 172,16,0,1,4,192
¡¡¡¡LIST -al
¡¡¡¡PORT 172,16,0,1,4,193
¡¡¡¡LIST
¡¡¡¡PORT 172,16,0,1,4,194
¡¡¡¡LIST -F
¡¡¡¡CWD lg
¡¡¡¡PORT 172,16,0,1,4,195
¡¡¡¡LIST -F

¡¡¡¡Êä³öµÄÄÚÈÝÊǺÜÖ±¹ÛµÄ¡£Ê×ÏÈËü¼Ç¼ÕâÊÇ´ÓGNSSµ½LinuxÖ÷»úµÄFTPÁ¬½Ó£º

¡¡¡¡gnss => linux.test.net [21]

¡¡¡¡È»ºó£¬linsniffer²¶»ñÁËhaplessµÄÓû§ÃûºÍÃÜÂë¡£

¡¡¡¡USER hapless
¡¡¡¡PASS unaware

¡¡¡¡×îºó£¬linsniffer¼Ç¼ÁËhaplessʹÓõÄÿһ¸öÃüÁ

¡¡¡¡SYST
¡¡¡¡PORT 172,16,0,1,4,192
¡¡¡¡LIST -al
¡¡¡¡PORT 172,16,0,1,4,193
¡¡¡¡LIST
¡¡¡¡PORT 172,16,0,1,4,194
¡¡¡¡LIST -F
¡¡¡¡CWD lg
¡¡¡¡PORT 172,16,0,1,4,195
¡¡¡¡LIST -F

¡¡¡¡Êä³ö½á¹û·Ç³£¼ò½é²¢Çҷdz£ÊÊÓÚÇÔÌýÃÜÂë¼°¼Ç¼³£¼ûµÄ»î¶¯¡£µ«ÊDz»ÊʺÏÓÚ½øÐиü¼Ó¸´ÔӵķÖÎö¡£ÕâʱºòÄãÒ²Ðí»áÐèÒªlinux_sniffe¡£

¡¡¡¡3.linux_sniffer

¡¡¡¡linux_snifferÌṩÏà¶Ô¸ü¸´ÔÓµÄ̽²â½á¹û¡£

¡¡¡¡×÷Õߣºloq
¡¡¡¡ÒªÇó£ºCºÍIPÍ·Îļþ
¡¡¡¡ÅäÖÃÎļþ£ºÎÞ
¡¡¡¡ÏÂÔØλÖãºhttp://www.ryanspc.com/sniffers/linux_sniffer.c.
¡¡¡¡°²È«ÀúÊ·£ºÎÞ

¡¡¡¡×¢Ò⣺linux_snifferÒ×ÓÚʹÓ㬵«ÊÇÐèÒªÍêÈ«µÄIPÍ·Îļþ¡£

¡¡¡¡Ê¹ÓÃÏÂÃæÃüÁî±àÒëlinux_sniffer£º

¡¡¡¡$cc linux_sniffer.c -o linuxsniff

¡¡¡¡ÏÂÃæÊÇÒ»´Îtelnet»á»°¹ý³Ì£¬Í¬Ê±±»linux_sniffer¼Ç¼£º

¡¡¡¡GNSS 2# telnet 192.168.0.1
¡¡¡¡Connected to 192.168.0.1.
¡¡¡¡login: hapless
¡¡¡¡password:
¡¡¡¡[hapless@linux2 hapless]$ w
¡¡¡¡ 19:55:29 up 58 min, 4 users, load average: 0.00, 0.00, 0.00
¡¡¡¡USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
¡¡¡¡root tty1 7:44pm 27.00s 0.17s 0.06s -bash
¡¡¡¡root tty2 7:46pm 1:56 0.24s 0.01s linuxsniff
¡¡¡¡root tty3 7:44pm 10:43 0.17s 0.07s -bash
¡¡¡¡hapless ttyp0 gnss 7:55pm 1.00s 0.26s 0.04s w
¡¡¡¡[hapless@linux2 hapless]$ who
¡¡¡¡root tty1 May 20 19:44
¡¡¡¡root tty2 May 20 19:46
¡¡¡¡root tty3 May 20 19:44
¡¡¡¡hapless ttyp0 May 20 19:55 (gnss)
¡¡¡¡[hapless@linux2 hapless]$ finger -l
¡¡¡¡Login: root Name: root
¡¡¡¡Directory: /root Shell: /bin/bash
¡¡¡¡On since Thu May 20 19:44 (PDT) on tty1 35 seconds idle
¡¡¡¡On since Thu May 20 19:46 (PDT) on tty2 2 minutes 4 seconds idle
¡¡¡¡On since Thu May 20 19:44 (PDT) on tty3 10 minutes 51 seconds idle
¡¡¡¡No mail.
¡¡¡¡No Plan.

¡¡¡¡Login: hapless Name: Caldera OpenLinux User
¡¡¡¡Directory: /home/hapless Shell: /bin/bash
¡¡¡¡On since Thu May 20 19:55 (PDT) on ttyp0 from gnss
¡¡¡¡No mail.
¡¡¡¡No Plan.

¡¡¡¡Í¬ÑùÕâÊÇÒ»´ÎµäÐ͵ĵǼ¹ý³Ì£ºÓû§µÇ¼£¬¼ì²âÄÄЩÓû§ÔڵǼµÈµÈ¡£linux_sniffer¼Ç¼¶îÍâµÄµØÖ·Êý¾Ý£¬µ«ÊÇͬÑù¼Ç¼ÁËһЩÖØÒªµÄÊý¾Ý¡£Ê×ÏÈËü¼Ç¼ÁËÁ¬½Ó£º

eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
0000 ff fc 27 - ..'
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
0000 ff fa 1f 00 50 00 28 ff - f0 ....P.(..
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
0000 ff fa 20 00 33 38 34 30 - 30 2c 33 38 34 30 30 ff
. .38400,38400.
0010 f0 ff fa 23 00 47 4e 53 - 53 3a 30 2e 30 ff f0 ff
..#.GNSS:0.0...
0020 fa 18 00 49 52 49 53 2d - 41 4e 53 49 2d 4e 45 54
..IRIS-ANSI-NET
0030 ff f0 - ..
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
0000 ff fc 01 - ...
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
0000 ff fd 01 - ...
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]


¡¡Ëæºó£¬linux_sniffer¼Ç¼Á˵Ǽ¹ý³Ì£¬ÏÂÃæÓúÚÌå±íʾ£º

eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
0000 68 - h
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
0000 61 - a
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
0000 70 - p
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
0000 6c - l
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
0000 65 - e
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
0000 73 - s
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
0000 73 - s
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
0000 0d 00 - ..
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
0000 75 - u
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
0000 6e - n
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
0000 61 - a
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
0000 77 - w
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
0000 61 - a
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
0000 72 - r
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
0000 65 - e
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]

¡¡¡¡×îºó£¬linux_sniffer¼Ç¼ÁËËùÓеÄÃüÁ

eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
0000 77 - w
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
0000 0d 00 - ..
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
0000 77 - w
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
0000 68 - h
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
0000 6f - o
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
0000 0d 00 - ..
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
0000 66 - f
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
0000 69 - i
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
0000 6e - n
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
0000 67 - g
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
0000 65 - e
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]
0000 72 - r
eth
proto: 080008:00:69:07:3e:db->00:e0:29:19:4a:68 192.168.0.1[1239] ->192.168.0.2[23]

¡¡¡¡¿ÉÒÔ¿´µ½£¬linux_snifferÌṩÁËÏà¶Ô¸üÏêϸµÄÄÚÈÝ¡£

¡¡¡¡4.hunt

¡¡¡¡huntÔÚÄãÐèÒªÒ×ÓÚ¶ÁÈ¡µÄ½á¹ûÊÒµÄÁíÍâÒ»ÖÖÑ¡Ôñ¡£Ëü¾ßÓÐÖ±¹ÛµÄÃüÁî×·×ٺͻỰ¼à¼¹¦ÄÜ¡£

¡¡¡¡×÷ÕߣºPavel Krauz
¡¡¡¡Ìõ¼þ£º C, IPÍ·, Linux 2.0.35+, Ö§³ÖLinuxThreadsµÄGlibC 2.0.7
¡¡¡¡ÅäÖÃÎļþ£ºÎÞ
¡¡¡¡Î»Öãºhttp://www.cri.cz/kra/index.html
¡¡¡¡°²È«ÀúÊ·£ºÎÞ

¡¡¡¡×¢£º×÷ÕßÌṩÓж¯Ì¬Á´½ÓºÍ¾²Ì¬Á¬½ÓµÄ¶þ½øÖÆ·¢²¼¡£

¡¡¡¡huntÊÇÒÔtar.gzµÄ¸ñʽ·¢²¼µÄ£¬ÎļþÃûΪhunt-1_3bin.tgz¡£Ê×ÏÈÐèÒª½âѹËõ£º

¡¡¡¡$tar xvfz hunt-1_3bin.tgz

¡¡¡¡Ôòhunt±»½âѹËõµ½Ð´´½¨µÄĿ¼hunt£­1.3ÖÖ£¬°üÀ¨ÒÔÏÂÄÚÈÝ£º

¡¡¡¡-rw-r--r-- 1 206 users 1616 Apr 2 03:54 CHANGES
¡¡¡¡-rw-r--r-- 1 206 users 17983 Oct 25 1998 COPYING
¡¡¡¡-rw-r--r-- 1 206 users 312 Jan 16 04:54 INSTALL
¡¡¡¡-rw-r--r-- 1 206 users 727 Feb 21 11:22 Makefile
¡¡¡¡-rw-r--r-- 1 206 users 27373 Feb 15 12:44 README
¡¡¡¡-rw-r--r-- 1 206 users 167 Dec 4 14:29 TODO
¡¡¡¡-rw-r--r-- 1 206 users 5067 Feb 13 04:23 addpolicy.c
¡¡¡¡-rw-r--r-- 1 206 users 7141 Feb 21 23:44 arphijack.c
¡¡¡¡-rw-r--r-- 1 206 users 25029 Apr 2 03:26 arpspoof.c
¡¡¡¡drwxr-xr-x 2 206 users 1024 Apr 9 02:03 c
¡¡¡¡-rw-r--r-- 1 206 users 7857 Nov 9 1998 hijack.c
¡¡¡¡-rw-r--r-- 1 206 users 5066 Dec 2 12:55 hostup.c
¡¡¡¡-rwxr-xr-x 1 206 users 84572 Apr 9 02:03 hunt
¡¡¡¡-rw-r--r-- 1 206 users 24435 Apr 2 03:26 hunt.c
¡¡¡¡-rw-r--r-- 1 206 users 16342 Mar 30 01:56 hunt.h
¡¡¡¡-rwxr-xr-x 1 206 users 316040 Apr 9 02:03 hunt_static
¡¡¡¡-rw-r--r-- 1 root root 265 May 20 22:22 huntdir.txt
¡¡¡¡-rw-r--r-- 1 root root 2517 May 20 22:19 huntlog.txt
¡¡¡¡-rw-r--r-- 1 206 users 6249 Feb 21 11:21 macdisc.c
¡¡¡¡-rw-r--r-- 1 206 users 12105 Feb 21 11:35 main.c
¡¡¡¡-rw-r--r-- 1 206 users 12000 Feb 6 02:27 menu.c
¡¡¡¡-rw-r--r-- 1 206 users 7432 Apr 2 03:53 net.c
¡¡¡¡-rw-r--r-- 1 206 users 5799 Feb 11 04:21 options.c
¡¡¡¡-rw-r--r-- 1 206 users 11986 Feb 14 04:59 resolv.c
¡¡¡¡-rw-r--r-- 1 206 users 1948 Oct 25 1998 rst.c
¡¡¡¡-rw-r--r-- 1 206 users 9545 Mar 30 01:48 rstd.c
¡¡¡¡-rw-r--r-- 1 206 users 21590 Apr 2 03:58 sniff.c
¡¡¡¡-rw-r--r-- 1 206 users 14466 Feb 21 12:04 synchijack.c
¡¡¡¡-rw-r--r-- 1 206 users 2692 Feb 19 00:10 tap.c
¡¡¡¡-rw-r--r-- 1 206 users 4078 Feb 15 05:31 timer.c
¡¡¡¡-rw-r--r-- 1 206 users 2023 Oct 25 1998 tty.c
¡¡¡¡-rw-r--r-- 1 206 users 7871 Feb 11 02:58 util.c

¡¡¡¡¾²Ì¬¶þ½øÖÆ·¢²¼Îªhunt_static£¬ÍƼöʹÓøð汾£¬ÒòΪÓÐʱºò´ÓÔ´´úÂë±àÒë¿ÉÄÜ»á³öÏÖȱÉÙһЩ¿âµÄ´íÎó¡£Ê¹ÓÃÏÂÃæÃüÁîÀ´Ö´ÐÐhunt£º

¡¡¡¡$hunt_static

¡¡¡¡ÔËÐÐhuntÄ㽫¾ªÆæµØ·¢ÏÖhuntÊÇ»ùÓÚcurseµÄ£¬Òò´ËÓзdz£ÓѺõĽ»»¥½çÃæ¡£Æô¶¯ÒÔºó²Ëµ¥ÈçÏÂËùʾ£º

¡¡¡¡--- Main Menu --- rcvpkt 0, free/alloc 63/64 ------
¡¡¡¡l/w/r) list/watch/reset connections
¡¡¡¡u) host up tests
¡¡¡¡a) arp/simple hijack (avoids ack storm if arp used)
¡¡¡¡s) simple hijack
¡¡¡¡d) daemons rst/arp/sniff/mac
¡¡¡¡o) options
¡¡¡¡x) exit
¡¡¡¡* >

¡¡¡¡ÔÚÕû¸öÀý×ÓÖУ¬ÎÒ½«´ÓGNSSµÇ¼µ½linux.test.netÖнøÐвâÊÔ¡£

¡¡¡¡GNSS 3% telnet 192.168.0.2
¡¡¡¡Trying 192.168.0.2...
¡¡¡¡Connected to 192.168.0.2.
¡¡¡¡Escape character is '^]'.
¡¡¡¡
¡¡¡¡Caldera OpenLinux(TM)
¡¡¡¡Version 1.3
¡¡¡¡Copyright 1996-1998 Caldera Systems, Inc.
¡¡¡¡
¡¡¡¡login:
¡¡¡¡[hapless@linux hapless]$ finger root
¡¡¡¡Login: root Name: root
¡¡¡¡Directory: /root Shell: /bin/bash
¡¡¡¡On since Thu May 20 21:57 (PDT) on tty1 1 minute idle
¡¡¡¡On since Thu May 20 22:02 (PDT) on tty2 7 minutes 19 seconds idle
¡¡¡¡On since Thu May 20 21:59 (PDT) on tty3 15 seconds idle
¡¡¡¡No mail.
¡¡¡¡No Plan.
¡¡¡¡[hapless@linux hapless]$ last root
¡¡¡¡root tty2 Thu May 20 22:02 still logged in
¡¡¡¡root tty3 Thu May 20 21:59 still logged in
¡¡¡¡root tty1 Thu May 20 21:57 still logged in
¡¡¡¡root tty2 Thu May 20 19:46 - down (00:26)
¡¡¡¡root tty1 Thu May 20 19:44 - 20:12 (00:27)
¡¡¡¡root tty3 Thu May 20 19:44 - down (00:2
¡¡¡¡root tty3 Thu May 20 19:42 - 19:44 (00:01)
¡¡¡¡root tty1 Thu May 20 19:41 - 19:42 (00:00)
¡¡¡¡root tty3 Thu May 20 19:28 - 19:41 (00:12)
¡¡¡¡root tty2 Thu May 20 19:11 - 19:42 (00:31)
¡¡¡¡root tty1 Thu May 20 19:07 - 19:40 (00:32)
¡¡¡¡root tty1 Thu May 20 18:57 - 19:07 (00:09)
¡¡¡¡root tty1 Mon May 17 22:32 - down (00:29)

¡¡¡¡×îºó¼ì²éÁË/etc/passwd£¬ÔÚÕû¸ö¹ý³ÌÖж¼ÔËÐÐÓÐhunt½øÐÐÐá̽£º

¡¡¡¡--- Main Menu --- rcvpkt 0, free/alloc 63/64 ------
¡¡¡¡l/w/r) list/watch/reset connections
¡¡¡¡u) host up tests
¡¡¡¡a) arp/simple hijack (avoids ack storm if arp used)
¡¡¡¡s) simple hijack
¡¡¡¡d) daemons rst/arp/sniff/mac
¡¡¡¡o) options
¡¡¡¡x) exit
¡¡¡¡*> w
¡¡¡¡0) 192.168.0.1 [1049] --> 192.168.0.2 [23]
¡¡¡¡choose conn> 0
¡¡¡¡dump [s]rc/[d]st/oth > b

¡¡¡¡×¢£ºÉÏÃæµÄÊäÈë(ºÚÉ«×ÖÌ岿·Ö)ָʾhuntÀ´¼Ç¼0ºÅÁ¬½Ó£¬²¢Êä³öÔ´ºÍÄ¿µÄÐÅÏ¢¡£

¡¡¡¡Ôòhunt½«ÏÔʾhaplessµÄËùÓлÐÅÏ¢µ½ÖÕ¶ËÆÁÄ»ÉÏ£º

¡¡¡¡22:18:43 up 21 min, 4 users, load average: 0.00, 0.01, 0.00
¡¡¡¡TRL-C to break
¡¡¡¡hhaapplleessss
¡¡¡¡Password: unaware
¡¡¡¡[hapless@linux2 hapless]$ cclleeaarr
¡¡¡¡[hapless@linux2 hapless]$ wwhhoo
¡¡¡¡root tty1 May 20 21:57
¡¡¡¡ww
¡¡¡¡22:18:43 up 21 min, 4 users, load average: 0.00, 0.01, 0.00
¡¡¡¡
¡¡¡¡[hapless@linux2 hapless]$ mmoorree //eettcc//ppaasssswwdd
¡¡¡¡root:x:0:0:root:/root:/bin/bash
¡¡¡¡bin:x:1:1:bin:/bin:
¡¡¡¡daemon:x:2:2:daemon:/sbin:
¡¡¡¡adm:x:3:4:adm:/var/adm:
¡¡¡¡lp:x:4:7:lp:/var/spool/lpd:
¡¡¡¡sync:x:5:0:sync:/sbin:/bin/sync
¡¡¡¡shutdown:x:6:11:shutdown:/sbin:/sbin/shutdown
¡¡¡¡halt:x:7:0:halt:/sbin:/sbin/halt
¡¡¡¡mail:x:8:12:mail:/var/spool/mail:
¡¡¡¡news:x:9:13:news:/var/spool/news:
¡¡¡¡uucp:x:10:14:uucp:/var/spool/uucp:
¡¡¡¡operator:x:11:0:operator:/root:
¡¡¡¡games:x:12:100:games:/usr/games:
¡¡¡¡gopher:x:13:30:gopher:/usr/lib/gopher-data:
¡¡¡¡ftp:x:14:50:FTP User:/home/ftp:
¡¡¡¡man:x:15:15:Manuals Owner:/:
¡¡¡¡majordom:x:16:16:Majordomo:/:/bin/false
¡¡¡¡postgres:x:17:17:Postgres User:/home/postgres:/bin/bash
¡¡¡¡nobody:x:65534:65534:Nobody:/:/bin/false
¡¡¡¡anon:x:100:100:Anonymous:/home/anon:/bin/bash
¡¡¡¡hapless:x:500:500:Caldera OpenLinux User:/home/hapless:/bin/bash
¡¡¡¡[hapless@linux2 hapless]$

¡¡¡¡¿ÉÒԵĿ´µ½£¬huntµÄÊä³ö·Ç³£Ö±¹ÛÃ÷ÁË£¬Ò×ÓÚÔĶÁ¡£È»¶øhunt»¹ÌṩÓÐÒÔϹ¤¾ß£º

ÔÊÐíÖ¸¶¨ÈÎÒâÒ»¸ö¸ÐÐËȤµÄÁ¬½Ó£¬¶ø²»ÊǼǼËùÓеĶ«Î÷¡£
ÔÊÐíÖ¸¶¨ÈÎÒâÒ»¸öÁ¬½Ó£¬¶ø²»½ö½öÊÇÒÔSYN¸Õ¸Õ¿ªÊ¼µÄÁ¬½Ó¡£It offers spoofing tools.
Ìṩ»î¶¯»á»°½Ù³Ö¡£
ÆäÌØÓеÄÌØÉ«¹¦ÄܺÍÒ×ÓÚʹÓõĽçÃ棬ʹµÃËü¶ÔÓÚlinuxÈëÃÅÕßÊÇÒ»¸ö·Ç³£ºÃµÄÑ¡Ôñ¡£
5.sniffit

¡¡¡¡sniffitÊÇÕë¶ÔÄÄЩÐèÒªÁ˽â¸ü¶àÐÅÏ¢µÄÈ˵ġ£

¡¡¡¡×÷ÕߣºBrecht Claerhout
¡¡¡¡Ìõ¼þ£ºC, IP Í·Îļþ
¡¡¡¡ÅäÖÃÎļþ£º¼ûºóÃæµÄÌÖÂÛ
¡¡¡¡°²È«ÀúÊ·£ºÎÞ

¡¡¡¡×¢£ºsniffit¹¦Äܷdz£Ç¿´ó£¬µ«ÊDz»Ò×ѧϰʹÓá£

¡¡¡¡$tar xvfz sniffit_0_3_7.tar.gz
¡¡¡¡$./configure £¨ÅäÖÃÃüÁ¼ì²âϵͳÊÇ·ñ·ûºÏÒªÇó£©
¡¡¡¡$make (±àÒëÔ´´úÂë)
¡¡¡¡strip sniffit (¾«¼ò¶þ½øÖÆ´úÂëµÄ´óС)

¡¡¡¡ÏÖÔھͿÉÒÔʹÓÃsniffitÁË(sniffitµÄÅäÖÃÎÒÃÇ×îºóÌÖÂÛ)¡£

¡¡¡¡Óï·¨£º

¡¡¡¡sniffit [-xdabvnN] [-P proto ] [-A char ] [-p port ] [(-r|-R) recordfile ] [-l sniflen ] [-L logparam ] [-F snifdevice ] [-D tty ] [-M plugin ] [(-t Target-IP | -s Source-IP ) | (-i|-I) | -c config-file ]

¡¡¡¡sniffitÊÇÒ»¸öTCP/IP/ICMPЭÒéÊý¾Ý±¨¼àÌýÆ÷£¬ÆäÄܸø³ö¹ØÓÚÕâЩЭÒéÊý¾Ý±¨·Ç³£ÏêϸµÄ¼¼ÊõÐÅÏ¢(SEQ,ACK,TTL,Windows,....)¼°·ûºÏ¼àÌýÌõ¼þµÄÊý¾Ý±¨µÄ¸÷ÖÖ²»Í¬µÄ¸ñʽ(hex»ò´¿Îı¾)

¡¡¡¡sniffitȱʡµÄ¿ÉÒÔ´¦ÀíÒÔÌ«ºÍPPPÉ豸¡£µ«ÊÇÒ²¿ÉÒÔÓÃÔÚÆäËûµÄÉ豸ÉÏ(²Î¼ûREADME.FIRSTºÍsn_config.h)¡£ sniffit¿ÉÒÔ½øÐз½±ãµÄÅäÖÃʵÏÖ¶Ô½ÓÈëµÄÊý¾Ý±¨½øÐйýÂË¡£¶øÅäÖÃÎļþÔÊÐí·Ç³£È·¶¨µØÖ¸¶¨ÐèÒª´¦ÀíµÄÊý¾Ý±¨¡£ sniffitͬÑùÓÐÒ»¸ö½»»¥Ê½½çÃæ¡£

¡¡¡¡Ñ¡Ï

¡¡¡¡-v
¡¡¡¡ÏÔʾ°æ±¾ÐÅÏ¢
¡¡¡¡-t Ä¿±êµØÖ·
¡¡¡¡Ö»´¦ÀíÄ¿µÄµØַΪ"Ä¿±êµØÖ·"µÄÊý¾Ý£¬ºÍ '-s' '-c' '-v' Ñ¡Ïî²»¼æÈÝ
¡¡¡¡Ô´µØÖ·
¡¡¡¡Ö»´¦Àí·¢Ë͵ØַΪ"Ô´µØÖ·"µÄÊý¾Ý£¬ºÍ'-t' '-c' '-v' Ñ¡Ïî²»¼æÈÝ
¡¡¡¡-c ÅäÖÃÎļþ
¡¡¡¡ÔÚÅäÖÃÎļþÖж԰ü¹ýÂ˹æÔò½øÐж¨Òå,ºÍ-t' '-s' '-v'²»¼æÈÝ
¡¡¡¡-R Îļþ
¡¡¡¡½«Êä³ö½á¹û¼Ç¼µ½"Îļþ"ÖÐ(ºÍ'-v'²»¼æÈÝ)
¡¡¡¡-n
¡¡¡¡¹Ø±ÕIPÊý¾Ý±¨Ð£Ñ飬ʹαÔìµÄÊý¾ÝÒ²¿ÉÒÔÏÔʾ³öÀ´
¡¡¡¡-x
¡¡¡¡´òÓ¡TCPÊý¾Ý±¨µÄÀ©Õ¹ÐÅÏ¢µ½±ê×¼Êä³öÖÐ((SEQ,ACK, FlagsµÈ)£¬ÍùÍùÓÃÀ´¸ú×ÙÆÛÆ­£¬°ü¶ªÊ§¼°ÊµÏÖÆäËûµÄÍøÂçµ÷ÊÔ²âÊÔÈÎÎñ¡£ºÍ'-i' 'I' '-v'²»¼æÈÝ
¡¡¡¡-d
¡¡¡¡Êä³öµ½È±Ê¡µÄÎļþÖУ¬Ò»°ãÎļþÃûΪԴĿµÄµØÖ·µÄ×éºÏÈ磺192.168.0.232.1120-192.168.0.231.80
¡¡¡¡-a
¡¡¡¡Êä³öascIIÂë¸ñʽ£¬²»¿É´òÓ¡µÄ×Ö·ûÓá±.¡±±íʾ
¡¡¡¡-P ЭÒé
¡¡¡¡Ö¸¶¨ÐèÒª´¦ÀíµÄÊý¾ÝµÄЭÒéÀàÐÍ,IP,TCP,ICMP,UDPµÈ¡£
¡¡¡¡-p ¶Ë¿Ú
¡¡¡¡Ö»´¦ÀíÄ¿µÄ¶Ë¿ÚΪ"¶Ë¿Ú"µÄÊý¾Ý¡£
¡¡¡¡-l sniflen
¡¡¡¡ÔÚÕý³£Ä£Ê½Ï£¬¼Ç¼µÄÊý¾ÝµÄ×ܺÍ(ȱʡΪ300×Ö½Ú)£¬Ã¿´ÎµÄÁ¬½ÓµÄÇ°sniflen¸ö×Ö½Ú±»¼Ç¼ÏÂÀ´¡£
¡¡¡¡-F device
¡¡¡¡Ö¸¶¨¼àÌýij¸öÉ豸µÄÊý¾ÝÈçeth0,eth1µÈ
¡¡¡¡-D tty
¡¡¡¡ËùÓеļǼÐÅÏ¢¶¼±»Êä³öµ½Ö¸¶¨µÄtty

¡¡¡¡¾ÙÀý£º

¡¡¡¡Òª¼àÌý´Ó192.168.0.233·¢Íù192.168.0.231µÄ·ÃÎÊWWWÇëÇóÊý¾Ý£º

¡¡¡¡[root@lix /tmp]#/usr/sbin/sniffit -p 80 -P TCP -s 192.168.0.233 -d ttyp1
¡¡¡¡Packet ID (from_IP.port-to_IP.port): 192.168.0.233.1060-192.168.0.231.80
¡¡¡¡¡¡¡¡45 00 00 2C 6D 0B 40 00 80 06 0A A0 C0 A8 00 E9 C0 A8 00 E7 04 24 00 50 00 4E
¡¡¡¡¡¡¡¡89 2A 00 00 00 00 60 02 20 00 67 19 00 00 02 04 05 B4

¡¡¡¡×¢£º192.168.0.231Ϊһ̨ÔËÐÐlinuxµÄ·þÎñÆ÷

¡¡¡¡Èç¹ûÏ£Íû½«Êä³ö¶¨Ïòµ½Ò»¸öÎļþ£¬Ôò

¡¡¡¡[root@lix /tmp]# /usr/sbin/sniffit -p 80 -P TCP -s 192.168.0.233 -R /tmp/wwwlog

¡¡¡¡Èç¹ûÏ£Íû²é¿´´Ó192.168.0.231·µ»Ø¸ø192.168.0.225µÄwwwÒ³ÃæÊý¾Ý£¬²¢ÇÒ½«Êý¾Ý´æ´¢ÔÚÒ»¸öÎļþ/tmp/wwwlogÖУº

¡¡¡¡[root@lix /tmp]# /usr/sbin/sniffit -P TCP -t 192.168.0.225 -R /tmp/wwwlog

¡¡¡¡×¢£ºÔÚ225Éϲ»Òª¿ª±ðµÄµ½231µÄÁ¬½Ó£¬Èçtelnet ·ñÔò Êý¾Ý¾Í»Ø»ìÔÓÔÚÒ»Æð¡£

¡¡¡¡Èç¹ûÏ£Íû²é¿´´Ó192.168.0.233·¢¸ø192.168.0.231µÄICMPÊý¾Ý£¬²¢ÇÒ½«ÆäÏÔʾµ½¿ØÖÆ̨ÉÏ£º

¡¡¡¡[root@lix /tmp]# /usr/sbin/sniffit -P ICMP -t 192.168.0.233 -d ttyp1

¡¡¡¡sniffitÖ§³ÖÅäÖÃÎļþ£¬Í¨¹ýÅäÖÃÎļþ¿ÉÒÔÌṩ¸üÇ¿´óµÄÐá̽¿ØÖÆ¡£ÅäÖÃÎļþ¸ñʽ°üº¬Îå¸ö²»Í¬µÄ×ֶΣ¬ÒâÒå·Ö±ðÈçÏ£º

×ֶΠ1--select »ò deselect¡£Ö¸Ê¾sniffit²¶×½ºóÃæÌõ¼þÖ¸¶¨µÄÊý¾Ý»òÕß²»²¶×½¡£
×ֶΠ2--from, to, »ò both¡£ Hָʾsniffit²¶×½À´×Ô¡¢·¢Íù»òË«ÏòµÄÖ¸¶¨µÄÖ÷»úµÄÊý¾Ý¡£
×ֶΠ3--host, port, or mhost¡£Ö¸¶¨Ò»¸ö»ò¶à¸öÄ¿±êÖ÷»ú¡£mhost¿ÉÒÔÓÃÀ´Ö¸¶¨¶à¸öÖ÷»ú£¬Èç192.168.0¡£
×ֶΠ4--hostname, port number, or multiple-host ÁÐ±í¡£
×ֶΠ5--¶Ë¿ÚºÅ¡£

¡¡¡¡ÀýÈ磺

¡¡¡¡select from host 192.168.0.1
¡¡¡¡select from host 192.168.0.1 80
¡¡¡¡select both port 23

¡¡¡¡sniffit½«²¶×½À´×ÔÁ½¸öÖ÷»úµÄtelnetºÍwwwµÄËùÓÐÐÅÏ¢¡£

¡¡¡¡select both mhosts 100.100.12.
¡¡¡¡deselect both port 80
¡¡¡¡select both host 100.100.12.2

¡¡¡¡sniffit½«²¶×½100.100.12.*Ïà¹Ø³ýwwwÒÔÍâµÄËùÓÐÊý¾Ý£¬µ«ÊÇÏÔʾ100.100.12.2µÄwwwÊý¾Ý¡£
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 5 ÌõÆÀÂÛ

  1. szlfeng ÓÚ 2009-12-15 21:09:50·¢±í:

    Ö§³Ö

  2. xyxacxg ÓÚ 2009-11-30 23:08:37·¢±í:

    ллÁË

  3. li-0578 ÓÚ 2009-11-20 14:30:58·¢±í:

    Ö»ÒªÊÇÈËÔìµÄϵͳ¶¼ÓÐÎÊÌâ

  4. otwett ÓÚ 2009-11-20 10:44:14·¢±í:

    Ôõôû tcpdump nmap

  5. otwett ÓÚ 2009-11-20 10:43:13·¢±í:

    ÇÀ¸öɳ·¢