Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos

Nmap Development: Re: [Bug]? Script Directories 4.23RC3 on MSWin32

Re: [Bug]? Script Directories 4.23RC3 on MSWin32

From: jah <jah_at_zadkiel.plus.com>
Date: Mon, 10 Dec 2007 01:53:04 +0000

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

[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]