jah wrote:
>
> A scan such as the following against a windows machine will (assuming
> portrules true) run netbios-smb-os-discovery.nse:
>
> nmap 192.168.1.1 -sSV -p139,445 -n -PN -d --script-trace --script
> myscripts
> ...
> SCRIPT ENGINE: Will run C:\Program
> Files\Nmap\scripts\netbios-smb-os-discovery.nse against 192.168.1.1
> ...
> Host script results:
> |_ Discover OS Version over NetBIOS and SMB: Windows XP
>
>
> but specifiying, incorrectly, a script or dir will cause script
> scanning to abort
>
> nmap 192.168.1.1 -sSV -p139,445 -n -PN -d --script-trace --script
> garbage
> ...
> SCRIPT ENGINE: No such category, file or directory: 'garbage'
> SCRIPT ENGINE: Script scanning completed.
> SCRIPT ENGINE: Aborting script scan.
> ...
>
>
> I wondered if this was a fault because I'm of the opinion that the
> garbage shouldn't cause the abortion.
>
I've compared packet captures in wireshark for the above case and found
the script is actually run, it just doesn't get reported.
jah
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org
Received on Dec 09 2007