Ok, hier die nächste Runde:
sofia@sofia-IdeaPad-U330p:~$ ifconfig -a
lo Link encap:Lokale Schleife
inet Adresse:127.0.0.1 Maske:255.0.0.0
inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine
UP LOOPBACK RUNNING MTU:65536 Metrik:1
RX-Pakete:2743 Fehler:0 Verloren:0 Überläufe:0 Fenster:0
TX-Pakete:2743 Fehler:0 Verloren:0 Überläufe:0 Träger:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX-Bytes:255251 (255.2 KB) TX-Bytes:255251 (255.2 KB)
wlan0 Link encap:Ethernet Hardware Adresse 80:86:f2:a1:84:ac
UP BROADCAST MULTICAST MTU:1500 Metrik:1
RX-Pakete:19312 Fehler:0 Verloren:0 Überläufe:0 Fenster:0
TX-Pakete:18792 Fehler:0 Verloren:0 Überläufe:0 Träger:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX-Bytes:16782892 (16.7 MB) TX-Bytes:2653857 (2.6 MB)
sofia@sofia-IdeaPad-U330p:~$ iwconfig
wlan0 IEEE 802.11bg ESSID:"Handystrahlung"
Mode:Managed Frequency:2.457 GHz Access Point: 08:96:D7:8A:30:F8
Bit Rate=54 Mb/s Tx-Power=16 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=48/70 Signal level=-62 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:65 Missed beacon:0
lo no wireless extensions.
sofia@sofia-IdeaPad-U330p:~$
und
sofia@sofia-IdeaPad-U330p:~$ ls -la /usr/share/nmap/scripts/*discover*.nse
-rw-r--r-- 1 root root 3821 Feb 19 2014 /usr/share/nmap/scripts/bittorrent-discovery.nse
-rw-r--r-- 1 root root 1313 Feb 19 2014 /usr/share/nmap/scripts/bjnp-discover.nse
-rw-r--r-- 1 root root 4658 Feb 19 2014 /usr/share/nmap/scripts/broadcast-ataoe-discover.nse
-rw-r--r-- 1 root root 4629 Feb 19 2014 /usr/share/nmap/scripts/broadcast-bjnp-discover.nse
-rw-r--r-- 1 root root 2385 Feb 19 2014 /usr/share/nmap/scripts/broadcast-db2-discover.nse
-rw-r--r-- 1 root root 3102 Feb 19 2014 /usr/share/nmap/scripts/broadcast-dhcp6-discover.nse
-rw-r--r-- 1 root root 6478 Feb 19 2014 /usr/share/nmap/scripts/broadcast-dhcp-discover.nse
-rw-r--r-- 1 root root 1495 Feb 19 2014 /usr/share/nmap/scripts/broadcast-dns-service-discovery.nse
-rw-r--r-- 1 root root 11979 Feb 19 2014 /usr/share/nmap/scripts/broadcast-eigrp-discovery.nse
-rw-r--r-- 1 root root 14961 Feb 19 2014 /usr/share/nmap/scripts/broadcast-igmp-discovery.nse
-rw-r--r-- 1 root root 3769 Feb 19 2014 /usr/share/nmap/scripts/broadcast-ms-sql-discover.nse
-rw-r--r-- 1 root root 2319 Feb 19 2014 /usr/share/nmap/scripts/broadcast-networker-discover.nse
-rw-r--r-- 1 root root 6288 Feb 19 2014 /usr/share/nmap/scripts/broadcast-pim-discovery.nse
-rw-r--r-- 1 root root 3368 Feb 19 2014 /usr/share/nmap/scripts/broadcast-pppoe-discover.nse
-rw-r--r-- 1 root root 4695 Feb 19 2014 /usr/share/nmap/scripts/broadcast-rip-discover.nse
-rw-r--r-- 1 root root 5619 Feb 19 2014 /usr/share/nmap/scripts/broadcast-ripng-discover.nse
-rw-r--r-- 1 root root 5058 Feb 19 2014 /usr/share/nmap/scripts/broadcast-sybase-asa-discover.nse
-rw-r--r-- 1 root root 1882 Feb 19 2014 /usr/share/nmap/scripts/broadcast-tellstick-discover.nse
-rw-r--r-- 1 root root 6870 Feb 19 2014 /usr/share/nmap/scripts/broadcast-wpad-discover.nse
-rw-r--r-- 1 root root 3077 Feb 19 2014 /usr/share/nmap/scripts/broadcast-wsdd-discover.nse
-rw-r--r-- 1 root root 1910 Feb 19 2014 /usr/share/nmap/scripts/broadcast-xdmcp-discover.nse
-rw-r--r-- 1 root root 2649 Feb 19 2014 /usr/share/nmap/scripts/db2-discover.nse
-rw-r--r-- 1 root root 5667 Feb 19 2014 /usr/share/nmap/scripts/dhcp-discover.nse
-rw-r--r-- 1 root root 2187 Feb 19 2014 /usr/share/nmap/scripts/dns-service-discovery.nse
-rw-r--r-- 1 root root 10439 Feb 19 2014 /usr/share/nmap/scripts/lltd-discovery.nse
-rw-r--r-- 1 root root 6907 Feb 19 2014 /usr/share/nmap/scripts/modbus-discover.nse
-rw-r--r-- 1 root root 6756 Feb 19 2014 /usr/share/nmap/scripts/smb-os-discovery.nse
-rw-r--r-- 1 root root 2589 Feb 19 2014 /usr/share/nmap/scripts/wsdd-discover.nse
-rw-r--r-- 1 root root 2068 Feb 19 2014 /usr/share/nmap/scripts/xdmcp-discover.nse
sofia@sofia-IdeaPad-U330p:~$
und dann,
wobei, was genau meinst du mit > in einem anderen Terminal deines PC
? Einfach ein neues Terminal Fenster?
Dann bekomme ich folgendes:
sofia@sofia-IdeaPad-U330p:~$ sudo tcpdump -vvveni any port 67
[sudo] password for sofia:
tcpdump: listening on any, link-type LINUX_SLL (Linux cooked), capture size 65535 bytes
13:59:05.832145 B 30:75:12:b7:f0:67 ethertype IPv4 (0x0800), length 350: (tos 0x0, ttl 64, id 29253, offset 0, flags [none], proto UDP (17), length 334)
0.0.0.0.68 > 255.255.255.255.67: [udp sum ok] BOOTP/DHCP, Request from 30:75:12:b7:f0:67, length 306, xid 0x7777f159, Flags [none] (0x0000)
Client-Ethernet-Address 30:75:12:b7:f0:67
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Request
Requested-IP Option 50, length 4: 192.168.178.29
MSZ Option 57, length 2: 1500
Vendor-Class Option 60, length 12: "dhcpcd-5.5.6"
Hostname Option 12, length 24: "android-208c662f08450505"
Parameter-Request Option 55, length 10:
Subnet-Mask, Static-Route, Default-Gateway, Domain-Name-Server
Domain-Name, MTU, BR, Lease-Time
RN, RB
END Option 255, length 0
14:04:14.141050 Out 80:86:f2:a1:84:ac ethertype IPv4 (0x0800), length 44: (tos 0x0, ttl 39, id 55356, offset 0, flags [none], proto UDP (17), length 28)
192.168.178.30.56754 > 192.168.178.1.67: [udp sum ok] [|bootp]
14:04:14.241277 Out 80:86:f2:a1:84:ac ethertype IPv4 (0x0800), length 44: (tos 0x0, ttl 45, id 20519, offset 0, flags [none], proto UDP (17), length 28)
192.168.178.30.56755 > 192.168.178.1.67: [udp sum ok] [|bootp]
14:04:14.410966 Out 80:86:f2:a1:84:ac ethertype IPv4 (0x0800), length 357: (tos 0x0, ttl 64, id 19983, offset 0, flags [DF], proto UDP (17), length 341)
192.168.178.30.68 > 192.168.178.1.67: [udp sum ok] BOOTP/DHCP, Request from 80:86:f2:a1:84:ac, length 313, xid 0xba7ccd5d, Flags [none] (0x0000)
Client-IP 192.168.178.30
Client-Ethernet-Address 80:86:f2:a1:84:ac
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Inform
Parameter-Request Option 55, length 61:
Subnet-Mask, Time-Zone, Default-Gateway, Time-Server
IEN-Name-Server, Domain-Name-Server, LOG, CS
LPR-Server, IM, RL, Hostname
BS, DP, Domain-Name, SS
RP, EP, IPF, SRT
PF, RSZ, TTL, MTU-Timeout
MTU-Table, MTU, LSN, BR
MD, MS, Router-Discovery, RSA
Static-Route, UT, AT, IE
TT, KI, KG, YD
YS, NTP, Vendor-Option, Netbios-Name-Server
WDD, Netbios-Node, Netbios-Scope, XFS
XDM, Requested-IP, Lease-Time, OO
DHCP-Message, Server-ID, Parameter-Request, MSG
MSZ, RN, RB, Vendor-Class
Client-ID
Lease-Time Option 51, length 4: 1
END Option 255, length 0
14:07:24.418266 B 4c:0f:6e:fa:83:33 ethertype IPv4 (0x0800), length 352: (tos 0x0, ttl 128, id 29313, offset 0, flags [none], proto UDP (17), length 336)
0.0.0.0.68 > 255.255.255.255.67: [udp sum ok] BOOTP/DHCP, Request from 4c:0f:6e:fa:83:33, length 308, xid 0x3ae0194b, Flags [Broadcast] (0x8000)
Client-Ethernet-Address 4c:0f:6e:fa:83:33
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Request
Client-ID Option 61, length 7: ether 4c:0f:6e:fa:83:33
Requested-IP Option 50, length 4: 192.168.178.26
Hostname Option 12, length 9: "Sony-Vaio"
FQDN Option 81, length 12: "Sony-Vaio"
Vendor-Class Option 60, length 8: "MSFT 5.0"
Parameter-Request Option 55, length 12:
Subnet-Mask, Domain-Name, Default-Gateway, Domain-Name-Server
Netbios-Name-Server, Netbios-Node, Netbios-Scope, Router-Discovery
Static-Route, Classless-Static-Route, Classless-Static-Route-Microsoft, Vendor-Option
END Option 255, length 0
14:07:24.423604 B 08:96:d7:8a:30:f6 ethertype IPv4 (0x0800), length 592: (tos 0x0, ttl 64, id 29313, offset 0, flags [none], proto UDP (17), length 576)
192.168.178.1.67 > 255.255.255.255.68: [udp sum ok] BOOTP/DHCP, Reply, length 548, xid 0x3ae0194b, Flags [Broadcast] (0x8000)
Your-IP 192.168.178.26
Server-IP 192.168.178.1
Client-Ethernet-Address 4c:0f:6e:fa:83:33
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: ACK
Server-ID Option 54, length 4: 192.168.178.1
Lease-Time Option 51, length 4: 864000
RN Option 58, length 4: 432000
RB Option 59, length 4: 756000
Subnet-Mask Option 1, length 4: 255.255.255.0
Default-Gateway Option 3, length 4: 192.168.178.1
Domain-Name-Server Option 6, length 4: 192.168.178.1
Domain-Name Option 15, length 9: "fritz.box"
BR Option 28, length 4: 192.168.178.255
NTP Option 42, length 4: 192.168.178.1
END Option 255, length 0
PAD Option 0, length 0, occurs 239
14:07:57.290420 B 4c:0f:6e:fa:83:33 ethertype IPv4 (0x0800), length 344: (tos 0x0, ttl 128, id 29353, offset 0, flags [none], proto UDP (17), length 328)
192.168.178.26.68 > 255.255.255.255.67: [udp sum ok] BOOTP/DHCP, Request from 4c:0f:6e:fa:83:33, length 300, xid 0x9ca06191, Flags [Broadcast] (0x8000)
Client-IP 192.168.178.26
Client-Ethernet-Address 4c:0f:6e:fa:83:33
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Inform
Client-ID Option 61, length 7: ether 4c:0f:6e:fa:83:33
Hostname Option 12, length 9: "Sony-Vaio"
Vendor-Class Option 60, length 8: "MSFT 5.0"
Parameter-Request Option 55, length 13:
Subnet-Mask, Domain-Name, Default-Gateway, Domain-Name-Server
Netbios-Name-Server, Netbios-Node, Netbios-Scope, Router-Discovery
Static-Route, Classless-Static-Route, Classless-Static-Route-Microsoft, Vendor-Option
Option 252
END Option 255, length 0
PAD Option 0, length 0, occurs 11
14:08:00.257596 B 4c:0f:6e:fa:83:33 ethertype IPv4 (0x0800), length 344: (tos 0x0, ttl 128, id 29366, offset 0, flags [none], proto UDP (17), length 328)
192.168.178.26.68 > 255.255.255.255.67: [udp sum ok] BOOTP/DHCP, Request from 4c:0f:6e:fa:83:33, length 300, xid 0x9ca06191, secs 768, Flags [Broadcast] (0x8000)
Client-IP 192.168.178.26
Client-Ethernet-Address 4c:0f:6e:fa:83:33
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Inform
Client-ID Option 61, length 7: ether 4c:0f:6e:fa:83:33
Hostname Option 12, length 9: "Sony-Vaio"
Vendor-Class Option 60, length 8: "MSFT 5.0"
Parameter-Request Option 55, length 13:
Subnet-Mask, Domain-Name, Default-Gateway, Domain-Name-Server
Netbios-Name-Server, Netbios-Node, Netbios-Scope, Router-Discovery
Static-Route, Classless-Static-Route, Classless-Static-Route-Microsoft, Vendor-Option
Option 252
END Option 255, length 0
PAD Option 0, length 0, occurs 11
14:10:56.897500 B 4c:0f:6e:fa:83:33 ethertype IPv4 (0x0800), length 352: (tos 0x0, ttl 128, id 29479, offset 0, flags [none], proto UDP (17), length 336)
0.0.0.0.68 > 255.255.255.255.67: [udp sum ok] BOOTP/DHCP, Request from 4c:0f:6e:fa:83:33, length 308, xid 0x4b31d506, Flags [Broadcast] (0x8000)
Client-Ethernet-Address 4c:0f:6e:fa:83:33
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Request
Client-ID Option 61, length 7: ether 4c:0f:6e:fa:83:33
Requested-IP Option 50, length 4: 192.168.178.26
Hostname Option 12, length 9: "Sony-Vaio"
FQDN Option 81, length 12: "Sony-Vaio"
Vendor-Class Option 60, length 8: "MSFT 5.0"
Parameter-Request Option 55, length 12:
Subnet-Mask, Domain-Name, Default-Gateway, Domain-Name-Server
Netbios-Name-Server, Netbios-Node, Netbios-Scope, Router-Discovery
Static-Route, Classless-Static-Route, Classless-Static-Route-Microsoft, Vendor-Option
END Option 255, length 0
14:10:56.903422 B 08:96:d7:8a:30:f6 ethertype IPv4 (0x0800), length 592: (tos 0x0, ttl 64, id 29479, offset 0, flags [none], proto UDP (17), length 576)
192.168.178.1.67 > 255.255.255.255.68: [udp sum ok] BOOTP/DHCP, Reply, length 548, xid 0x4b31d506, Flags [Broadcast] (0x8000)
Your-IP 192.168.178.26
Server-IP 192.168.178.1
Client-Ethernet-Address 4c:0f:6e:fa:83:33
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: ACK
Server-ID Option 54, length 4: 192.168.178.1
Lease-Time Option 51, length 4: 864000
RN Option 58, length 4: 432000
RB Option 59, length 4: 756000
Subnet-Mask Option 1, length 4: 255.255.255.0
Default-Gateway Option 3, length 4: 192.168.178.1
Domain-Name-Server Option 6, length 4: 192.168.178.1
Domain-Name Option 15, length 9: "fritz.box"
BR Option 28, length 4: 192.168.178.255
NTP Option 42, length 4: 192.168.178.1
END Option 255, length 0
PAD Option 0, length 0, occurs 239
14:12:02.331671 B 4c:0f:6e:fa:83:33 ethertype IPv4 (0x0800), length 352: (tos 0x0, ttl 128, id 29540, offset 0, flags [none], proto UDP (17), length 336)
0.0.0.0.68 > 255.255.255.255.67: [udp sum ok] BOOTP/DHCP, Request from 4c:0f:6e:fa:83:33, length 308, xid 0x6be7c0de, Flags [Broadcast] (0x8000)
Client-Ethernet-Address 4c:0f:6e:fa:83:33
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Request
Client-ID Option 61, length 7: ether 4c:0f:6e:fa:83:33
Requested-IP Option 50, length 4: 192.168.178.26
Hostname Option 12, length 9: "Sony-Vaio"
FQDN Option 81, length 12: "Sony-Vaio"
Vendor-Class Option 60, length 8: "MSFT 5.0"
Parameter-Request Option 55, length 12:
Subnet-Mask, Domain-Name, Default-Gateway, Domain-Name-Server
Netbios-Name-Server, Netbios-Node, Netbios-Scope, Router-Discovery
Static-Route, Classless-Static-Route, Classless-Static-Route-Microsoft, Vendor-Option
END Option 255, length 0
14:12:02.337149 B 08:96:d7:8a:30:f6 ethertype IPv4 (0x0800), length 592: (tos 0x0, ttl 64, id 29540, offset 0, flags [none], proto UDP (17), length 576)
192.168.178.1.67 > 255.255.255.255.68: [udp sum ok] BOOTP/DHCP, Reply, length 548, xid 0x6be7c0de, Flags [Broadcast] (0x8000)
Your-IP 192.168.178.26
Server-IP 192.168.178.1
Client-Ethernet-Address 4c:0f:6e:fa:83:33
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: ACK
Server-ID Option 54, length 4: 192.168.178.1
Lease-Time Option 51, length 4: 864000
RN Option 58, length 4: 432000
RB Option 59, length 4: 756000
Subnet-Mask Option 1, length 4: 255.255.255.0
Default-Gateway Option 3, length 4: 192.168.178.1
Domain-Name-Server Option 6, length 4: 192.168.178.1
Domain-Name Option 15, length 9: "fritz.box"
BR Option 28, length 4: 192.168.178.255
NTP Option 42, length 4: 192.168.178.1
END Option 255, length 0
PAD Option 0, length 0, occurs 239
und
sofia@sofia-IdeaPad-U330p:~$ sudo nmap -sU -p 67 --script=dhcp-discover 192.168.178.1
Starting Nmap 6.40 ( http://nmap.org ) at 2014-11-23 14:04 CET
Nmap scan report for fritz.box (192.168.178.1)
Host is up (0.0015s latency).
PORT STATE SERVICE
67/udp open|filtered dhcps
MAC Address: 08:96:D7:8A:30:F6 (AVM GmbH)
Nmap done: 1 IP address (1 host up) scanned in 5.89 seconds
sofia@sofia-IdeaPad-U330p:~$