1
Generale / Re: Qualcuno mi succhia la banda?
« il: Maggio 26, 2011, 09:16:22 pm »ha trovato 36 host attivi.Sarebbero?
Questa sezione ti permette di visualizzare tutti i post inviati da questo utente. N.B: puoi vedere solo i post relativi alle aree dove hai l'accesso.
ha trovato 36 host attivi.Sarebbero?
#connected?
$status= system ("ping -c 1 $myip -t 2 >/dev/null");
if ($status != 0) {
print "not connected to a network :-(\n";
exit (-1); #no network connection
}
#get the subnet
$str= $myip;
while($myip =~ m/\w\.\b/g) {$lastpos= pos($myip), " " };
$subnet = substr($myip,0, $lastpos-1);
$subnet= "$subnet.1-255\n";
#parse the nmap result
$retval = `nmap -sP $subnet`;
$ctr=0;
$_=$retval;
while (/([0-9]+\.){3}[0-9]+/g) {
if ($ctr%2 == 0) {
print "$&\t";
}else{
print "$&\n";
}#fi
$ctr++;
}
if ($ctr%2 ==0) {
print "";
}else{
print"\n";
}
print "$ctr hosts up\n";
nmap -sP iptuorouter/24
*~?? nmap -sP 10.194.61.209/24
Starting Nmap 5.21 ( http://nmap.org ) at 2011-01-08 22:05 CET
Nmap scan report for 10.194.61.11
Host is up (0.079s latency).
Nmap scan report for 10.194.61.12
Host is up (0.16s latency).
Nmap scan report for 10.194.61.16
Host is up (0.14s latency).
Nmap scan report for 10.194.61.18
Host is up (0.16s latency).
Nmap scan report for 10.194.61.30
Host is up (0.20s latency).
Nmap scan report for 10.194.61.32
Host is up (0.16s latency).
Nmap scan report for 10.194.61.40
Host is up (0.15s latency).
Nmap scan report for 10.194.61.44
Host is up (0.18s latency).
Nmap scan report for 10.194.61.48
Host is up (0.17s latency).
Nmap scan report for 10.194.61.51
Host is up (0.17s latency).
Nmap scan report for 10.194.61.52
Host is up (0.15s latency).
Nmap scan report for 10.194.61.56
Host is up (0.20s latency).
Nmap scan report for 10.194.61.64
Host is up (0.17s latency).
Nmap scan report for 10.194.61.68
Host is up (0.16s latency).
Nmap scan report for 10.194.61.70
Host is up (0.16s latency).
Nmap scan report for 10.194.61.74
Host is up (0.14s latency).
Nmap scan report for 10.194.61.76
Host is up (0.073s latency).
Nmap scan report for 10.194.61.82
Host is up (0.21s latency).
Nmap scan report for 10.194.61.112
Host is up (0.20s latency).
Nmap scan report for 10.194.61.121
Host is up (0.26s latency).
Nmap scan report for 10.194.61.124
Host is up (0.27s latency).
Nmap scan report for 10.194.61.144
Host is up (0.33s latency).
Nmap scan report for 10.194.61.180
Host is up (0.17s latency).
Nmap scan report for 10.194.61.188
Host is up (0.20s latency).
Nmap scan report for 10.194.61.192
Host is up (0.18s latency).
Nmap scan report for 10.194.61.196
Host is up (0.15s latency).
Nmap scan report for 10.194.61.200
Host is up (0.12s latency).
Nmap scan report for 10.194.61.208
Host is up (0.053s latency).
Nmap scan report for deegan-maverick (10.194.61.209)
Host is up (0.00011s latency).
Nmap scan report for 10.194.61.212
Host is up (0.13s latency).
Nmap scan report for 10.194.61.224
Host is up (0.30s latency).
Nmap scan report for 10.194.61.236
Host is up (0.081s latency).
Nmap scan report for 10.194.61.237
Host is up (0.57s latency).
Nmap done: 256 IP addresses (33 hosts up) scanned in 36.51 seconds
*~??
sudo apt-get install nmap
Volevo....sempre se ci riuscivo, a beccare qualcuno che utilizza la mia rete Wifi Fastweb.....solo che lanciando il comando nmap start
Ho come risultato questo::[Maverick%*] ~$ nmap start
[i]Ma questo ? il risultato....[/i] :-\
Starting Nmap 5.21 ( http://nmap.org ) at 2011-01-08 01:49 CET
Failed to resolve given hostname/IP: start. Note that you can't use '/mask' AND '1-4,7,100-' style IP ranges
WARNING: No targets were specified, so 0 hosts scanned.
Nmap done: 0 IP addresses (0 hosts up) scanned in 0.12 seconds
[Maverick%*] ~$ sudo nast -i wlan0 -m
Nast V. 0.2.0
Mapping the Lan for 255.255.240.0 subnet ... please wait
MAC address Ip address (hostname)
===========================================================
00:1C:BF:80:58:XX 10.XX.61.210 (maverick) (*)
00:90:1A:41:F5:XX 10.XX.48.2 (10.XX.48.2)
00:90:1A:41:F5:XX 10.XX.48.6 (10.XX.48.6)
00:90:1A:41:F5:XX 10.XX.48.11 (10.XX.48.11)
00:90:1A:41:F5:XX 10.XX.48.14 (10.XX.48.14)
00:90:1A:41:F5:XX 10.XX.48.16 (10.XX.48.16)
00:90:1A:41:F5:XX 10.XX.48.18 (10.XX.48.18)
00:90:1A:41:F5:XX 10.XX.48.22 (10.XX.48.22)
00:90:1A:41:F5:XX 10.XX.48.28 (10.XX.48.28)
00:90:1A:41:F5:XX 10.XX.48.34 (10.XX.48.34)
[Maverick%*] ~$
Scusate ma il mio ultimo modem l'ho messo da parte anni fa... ma 'sto Joy si prende un ip dinamico, e fin qui ci siamo, e ti spara dentro in dhcp un numero della stessa classe? senza nat? e senza la possibilit? di settarti un ip statico?
~$ nmap -sP 10.194.61.2/20
Starting Nmap 5.00 ( http://nmap.org ) at 2010-07-28 21:47 CEST
Strange error from connect (105):No buffer space available
Host 10.194.48.1 is up (0.033s latency).
Host 10.194.48.4 is up (0.15s latency).
Host 10.194.48.52 is up (0.17s latency).
Host 10.194.48.63 is up (0.21s latency).
Host 10.194.48.128 is up (0.16s latency).
Host 10.194.48.132 is up (0.17s latency).
Host 10.194.48.169 is up (0.20s latency).
Host 10.194.48.216 is up (0.18s latency).
Host 10.194.48.228 is up (0.19s latency).
Host 10.194.48.229 is up (0.19s latency).
Host 10.194.49.5 is up (0.19s latency).
Host 10.194.49.8 is up (0.20s latency).
Host 10.194.49.12 is up (0.19s latency).
Host 10.194.49.16 is up (0.21s latency).
Host 10.194.49.32 is up (0.21s latency).
Host 10.194.49.52 is up (0.16s latency).
Host 10.194.49.60 is up (0.17s latency).
Host 10.194.49.80 is up (0.16s latency).
Host 10.194.49.88 is up (0.19s latency).
Host 10.194.49.89 is up (0.19s latency).
Host 10.194.49.96 is up (0.21s latency).
Host 10.194.49.104 is up (0.20s latency).
Host 10.194.49.178 is up (0.16s latency).
Host 10.194.49.200 is up (0.18s latency).
Host 10.194.49.234 is up (0.18s latency).
Host 10.194.50.22 is up (0.17s latency).
Host 10.194.50.33 is up (0.16s latency).
Host 10.194.50.52 is up (0.18s latency).
Host 10.194.50.73 is up (0.16s latency).
Host 10.194.50.156 is up (0.15s latency).
Host 10.194.50.189 is up (0.075s latency).
Host 10.194.50.249 is up (0.16s latency).
Host 10.194.51.16 is up (0.16s latency).
Host 10.194.51.52 is up (0.17s latency).
Host 10.194.61.209 is up (0.0026s latency).
Nmap done: 4096 IP addresses (35 hosts up) scanned in 21.37 seconds
*-network
description: Ethernet interface
product: 88E8039 PCI-E Fast Ethernet Controller
vendor: Marvell Technology Group Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: eth0
version: 15
serial: 00:1a:80:28:64:78
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical
configuration: broadcast=yes driver=sky2 driverversion=1.25 firmware=N/A latency=0 multicast=yes
resources: irq:27 memory:f6000000-f6003fff ioport:2000(size=256)
*-network
description: Wireless interface
product: PRO/Wireless 3945ABG [Golan] Network Connection
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:06:00.0
logical name: wlan0
version: 02
serial: 00:1c:bf:80:58:f7
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwl3945 latency=0 multicast=yes wireless=IEEE 802.11abg
resources: irq:30 memory:fa000000-fa000fff
tasto dx sull'icona wifi nella barra in alto...
...modifica connessioni...
...senza fili...
...scegli la rete visualizzata...
.... modifica...
....metodo: manuale...
...aggiungi...
indirizzo: 10.194.61.2 - maschera: 255.255.240.0 - gateway: 10.194.61.1 (se ? l'indirizzo del modem)
server dns: 8.8.8.8
salva, rileggi la rete, e vediamo...
marco@marco-lucid:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11abg ESSID:"FASTWEB-1-38229DF496F8"
Mode:Managed Frequency:2.412 GHz Access Point: 38:22:9D:F4:96:F8
Bit Rate=1 Mb/s Tx-Power=15 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=49/70 Signal level=-61 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
marco@marco-lucid:~$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
link/ether 00:1a:80:28:64:78 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether 00:1c:bf:80:58:f7 brd ff:ff:ff:ff:ff:ff
inet 10.194.61.209/20 brd 10.194.63.255 scope global wlan0
inet6 fe80::21c:bfff:fe80:58f7/64 scope link
valid_lft forever preferred_lft forever