while running:
nmap -n -PN -sT -T4 -p 445,139 10.0.40.0/24
i get:
Interesting ports on 10.0.40.6:
PORT STATE SERVICE
139/tcp filtered netbios-ssn
445/tcp filtered microsoft-ds
if I specifically scan a single ip
nmap -n -PN -sT -T4 -p 445,139 10.0.40.6
Interesting ports on 10.0.40.6:
PORT STATE SERVICE
139/tcp open netbios-ssn
445/tcp open microsoft-ds
why there is a difference?
Note:
if I omit the -sT from the sub net scan I get:
PORT STATE SERVICE
139/tcp open netbios-ssn
445/tcp open microsoft-ds