Codice: Seleziona tutto
sudo nmap -sP 192.168.1.0/24
Mi dici qualcosa, grazie?

Codice: Seleziona tutto
sudo nmap -sP 192.168.1.0/24

Codice: Seleziona tutto
sudo nmap -p 1-65536 -T4 -A -v -PE
Codice: Seleziona tutto
marco@IntersectUB:~$ sudo nmap -p 1-65536 -T4 -A -v -PE
[sudo] password for marco:
Starting Nmap 5.21 ( http://nmap.org ) at 2013-02-12 12:39 CET
Ports to be scanned must be between 0 and 65535 inclusive
QUITTING!
Codice: Seleziona tutto
marco@IntersectUB:~$ sudo nmap -p[b] 0-65535[/b] -T4 -A -v -PE
Starting Nmap 5.21 ( http://nmap.org ) at 2013-02-12 12:40 CET
NSE: Loaded 36 scripts for scanning.
Read data files from: /usr/share/nmap
WARNING: No targets were specified, so 0 hosts scanned.
Nmap done: 0 IP addresses (0 hosts up) scanned in 0.34 seconds
Raw packets sent: 0 (0B) | Rcvd: 0 (0B)

avrebbe dovuto essere così:MariusMatutiae » [url=http://forum.ubuntu-it.org/viewtopic.php?p=4319924#p4319924]37 minuti fa[/url] ha scritto:Ok. allora, questo comando ti restituisce le porte aperte sul tuo server:Codice: Seleziona tutto
sudo nmap -p 1-65536 -T4 -A -v -PE
Codice: Seleziona tutto
sudo nmap -p 1-65535 -T4 -A -v -PE 192.168.1.2
Codice: Seleziona tutto
Starting Nmap 5.21 ( http://nmap.org ) at 2013-02-16 09:15 CET
NSE: Loaded 36 scripts for scanning.
Initiating ARP Ping Scan at 09:15
Scanning 192.168.1.2 [1 port]
Completed ARP Ping Scan at 09:15, 0.18s elapsed (1 total hosts)
Initiating Parallel DNS resolution of 1 host. at 09:15
Completed Parallel DNS resolution of 1 host. at 09:16, 13.00s elapsed
Initiating SYN Stealth Scan at 09:16
Scanning 192.168.1.2 [65535 ports]
Discovered open port 23/tcp on 192.168.1.2
Discovered open port 80/tcp on 192.168.1.2
Discovered open port 631/tcp on 192.168.1.2
SYN Stealth Scan Timing: About 43.84% done; ETC: 09:17 (0:00:40 remaining)
Discovered open port 515/tcp on 192.168.1.2
Discovered open port 9103/tcp on 192.168.1.2
Discovered open port 9101/tcp on 192.168.1.2
Discovered open port 9102/tcp on 192.168.1.2
Completed SYN Stealth Scan at 09:17, 67.37s elapsed (65535 total ports)
Initiating Service scan at 09:17
Scanning 4 services on 192.168.1.2
Completed Service scan at 09:18, 66.48s elapsed (7 services on 1 host)
Initiating OS detection (try #1) against 192.168.1.2
Retrying OS detection (try #2) against 192.168.1.2
Retrying OS detection (try #3) against 192.168.1.2
Retrying OS detection (try #4) against 192.168.1.2
Retrying OS detection (try #5) against 192.168.1.2
NSE: Script scanning 192.168.1.2.
NSE: Starting runlevel 1 (of 1) scan.
Initiating NSE at 09:18
Completed NSE at 09:19, 30.02s elapsed
NSE: Script Scanning completed.
Nmap scan report for 192.168.1.2
Host is up (0.036s latency).
Not shown: 65528 closed ports
PORT STATE SERVICE VERSION
23/tcp open telnet Hawking/TRENDnet Print Server telnetd
80/tcp open http print server http config ZOT-PS-17/6.9.0128
|_html-title: AUTH
| http-auth: HTTP Service requires authentication
|_ Auth type: Basic, realm = PrnServr
515/tcp open printer?
631/tcp open http print server http config ZOT-PS-17/6.9.0128
|_html-title: AUTH
| http-auth: HTTP Service requires authentication
|_ Auth type: Basic, realm = PrnServr
9101/tcp open jetdirect?
9102/tcp open jetdirect?
9103/tcp open jetdirect?
1 service unrecognized despite returning data. If you know the service/version, please submit the following fingerprint at http://www.insecure.org/cgi-bin/servicefp-submit.cgi :
SF-Port515-TCP:V=5.21%I=7%D=2/16%Time=511F4093%P=i686-pc-linux-gnu%r(GetRe
SF:quest,C,"Bad\x20command\n")%r(Help,C,"Bad\x20command\n")%r(LPDString,2B
SF:,"Printer\x20default\x20not\x20found\x20\(PS-Intellinet\)\.\n")%r(Gener
SF:icLines,C,"Bad\x20command\n")%r(HTTPOptions,C,"Bad\x20command\n")%r(RTS
SF:PRequest,C,"Bad\x20command\n")%r(SSLSessionReq,C,"Bad\x20command\n")%r(
SF:FourOhFourRequest,C,"Bad\x20command\n")%r(SIPOptions,C,"Bad\x20command\
SF:n");
MAC Address: 00:40:01:26:A3:FE (Zyxel Communications)
No exact OS matches for host (If you know what OS is running on it, see http://nmap.org/submit/ ).
TCP/IP fingerprint:
OS:SCAN(V=5.21%D=2/16%OT=23%CT=1%CU=44030%PV=Y%DS=1%DC=D%G=Y%M=004001%TM=51
OS:1F40F8%P=i686-pc-linux-gnu)SEQ(SP=11%GCD=A000%ISR=AF%TI=I%CI=I%II=I%SS=S
OS:%TS=U)SEQ(SP=2D%GCD=A000%ISR=B0%TI=I%CI=I%II=I%SS=S%TS=U)SEQ(SP=28%GCD=A
OS:000%ISR=B1%TI=I%CI=I%II=I%SS=S%TS=U)SEQ(SP=2E%GCD=A000%ISR=B0%TI=I%CI=I%
OS:II=I%SS=S%TS=U)SEQ(SP=1F%GCD=A000%ISR=AF%TI=I%CI=I%II=I%SS=S%TS=U)OPS(O1
OS:=M5B4%O2=M5B4%O3=M5B4%O4=M5B4%O5=M5B4%O6=M5B4)WIN(W1=B68%W2=B68%W3=B68%W
OS:4=B68%W5=B68%W6=B68)ECN(R=Y%DF=N%T=20%W=B68%O=M5B4%CC=N%Q=)T1(R=Y%DF=N%T
OS:=20%S=O%A=S+%F=AS%RD=0%Q=)T2(R=Y%DF=N%T=20%W=0%S=Z%A=S%F=AR%O=%RD=0%Q=)T
OS:3(R=Y%DF=N%T=20%W=B68%S=O%A=S+%F=AS%O=M5B4%RD=0%Q=)T4(R=Y%DF=N%T=20%W=0%
OS:S=A%A=Z%F=R%O=%RD=0%Q=)T5(R=Y%DF=N%T=20%W=0%S=Z%A=S+%F=AR%O=%RD=0%Q=)T6(
OS:R=Y%DF=N%T=20%W=0%S=A%A=Z%F=R%O=%RD=0%Q=)T7(R=Y%DF=N%T=20%W=0%S=Z%A=S%F=
OS:AR%O=%RD=0%Q=)U1(R=Y%DF=N%T=20%IPL=38%UN=0%RIPL=G%RID=G%RIPCK=G%RUCK=G%R
OS:UD=G)IE(R=Y%DFI=N%T=20%CD=S)
Network Distance: 1 hop
TCP Sequence Prediction: Difficulty=31 (Good luck!)
IP ID Sequence Generation: Incremental
Service Info: Device: print server
HOP RTT ADDRESS
1 35.51 ms 192.168.1.2
Read data files from: /usr/share/nmap
OS and Service detection performed. Please report any incorrect results at http://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 187.87 seconds
Raw packets sent: 66063 (2.910MB) | Rcvd: 65623 (2.626MB)



Codice: Seleziona tutto
system-config-printer
Codice: Seleziona tutto
marco@Intersect:~$ system-config-printer
no talloc stackframe around, leaking memory
No ID match for device socket://192.168.1.2:9100:
MFG:;MDL:;
No ID match for device socket://192.168.1.2:9100:
MFG:;MDL:;
No ID match for device socket://192.168.1.2:9100:
MFG:;MDL:;
No ID match for device socket://192.168.1.2:9101:
MFG:;MDL:;

Codice: Seleziona tutto
http://192.168.1.2:80
Codice: Seleziona tutto
sudo apt-get install samba system-config-samba cifs-utils
Visualizzano questa sezione: 0 utenti iscritti e 3 ospiti