Nmap Development mailing list archives
Re: NSE Socket Operation on a non-socket
From: David Fifield <david () bamsoftware com>
Date: Sat, 18 Jul 2009 23:05:09 -0600
On Sat, Jul 18, 2009 at 04:54:41AM +0100, jah wrote:
I've been struggling with an error which I can reliably reproduce with the following (r14408) nmap command against a windows machine with tcp ports 445 and 3389 open: nmap -sSV -p 445,3389 -PN -n --script banner,smb-enum-shares -d <target> The error looks like this: NSOCK (-1950392.4020s) nsock_loop error 10038: An operation was attempted on something that is not a socket. NSE: Script Engine Scan Aborted. An error was thrown by the engine: a fatal error occurred in nsock_loop stack traceback: [C]: ? [C]: in function 'nsock_loop' C:\Program Files\Nmap\nse_main.lua:605: in function 'run' C:\Program Files\Nmap\nse_main.lua:734: in function <C:\Program Files\Nmap\nse_main.lua:693> [C]: ?
I got this error too on Windows a few days ago while running an NSE benchmark test for Patrick. It happened every time with nmap.exe -v -d --datadir . -n -PN --host-timeout 10m --min-hostgroup 512 \ --max-parallelism 10 -p 20-25,53,80,443,113,8080,110,995 --script \ "(safe or default) and not whois" -iL common_ips.txt nmap.exe -v -d --datadir . -n -PN --host-timeout 10m --min-hostgroup 512 \ --max-parallelism 100 -p 20-25,53,80,443,113,8080,110,995 --script \ "not intrusive" -iL common_ips.txt It happened maybe 10% of the time with nmap.exe -v -d --datadir . -n -PN --host-timeout 10m --min-hostgroup 512 \ --max-parallelism 100 -p 80 --script html-title -iL common_ips.txt David Fifield _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- NSE Socket Operation on a non-socket jah (Jul 17)
- Re: NSE Socket Operation on a non-socket Joao Correa (Jul 18)
- Re: NSE Socket Operation on a non-socket jah (Jul 18)
- Re: NSE Socket Operation on a non-socket Brandon Enright (Jul 18)
- Re: NSE Socket Operation on a non-socket jah (Jul 19)
- Re: NSE Socket Operation on a non-socket Joao Correa (Jul 18)
- Re: NSE Socket Operation on a non-socket jah (Jul 18)
- Re: NSE Socket Operation on a non-socket Joao Correa (Jul 18)
- Re: NSE Socket Operation on a non-socket David Fifield (Jul 18)
- Re: NSE Socket Operation on a non-socket Joao Correa (Jul 19)
- Re: NSE Socket Operation on a non-socket jah (Jul 19)
- Re: NSE Socket Operation on a non-socket Joao Correa (Jul 21)
- [NSE] - dns.query() return types jah (Jul 21)
- Re: [NSE] - dns.query() return types David Fifield (Jul 21)
- Re: [NSE] - dns.query() return types jah (Jul 22)
- Re: NSE Socket Operation on a non-socket Joao Correa (Jul 19)
- Re: NSE Socket Operation on a non-socket jah (Jul 21)