nmap/nselib
ron 727661921a Implemented some changes (mostly in error handling) to let smb scripts run in parallel with each other against a single host. Previously, I had used a mutex to prevent that from happening. The changes are summarized in the following post: http://seclists.org/nmap-dev/2010/q3/819, but it comes down to three things:
1) Set the 'vc' ('virtual circuit') id to a non-zero value (if it's 0, the smb server will disconnect all hosts who are already connected)
2) Handle the authentication error NT_STATUS_REQUEST_NOT_ACCEPTED, which indicates that there are too many connected hosts (11 is the default on most versions of Windows, or 10 for the anonymous account). If we see the error, we wait and try again. 
3) Handle the file creation error, NT_STATUS_PIPE_NOT_AVAILABLE, which appears to be caused by a race condition of some sort. It happens when a large number of connections are attempted simultaneously, and is fixed by a short backoff (50ms worked fine, but I'm using 100ms)
The end result is a significant speedup in our SMB checks without losing data.
2010-10-03 22:40:41 +00:00
..
data Significant changes, both bugfixes and best practice changes, to smb-psexec.nse. Primarily: 2010-08-07 19:36:47 +00:00
afp.lua Change calls in these forms: 2010-08-16 18:59:30 +00:00
asn1.lua Brief copyediting of NSEDoc for modules. 2010-07-12 19:42:43 +00:00
base64.lua Brief copyediting of NSEDoc for modules. 2010-07-12 19:42:43 +00:00
bin.luadoc Brief copyediting of NSEDoc for modules. 2010-07-12 19:42:43 +00:00
bit.luadoc Brief copyediting of NSEDoc for modules. 2010-07-12 19:42:43 +00:00
brute.lua Pass the driver_options whenever constructing a driver in brute.lua. This could 2010-09-27 01:20:52 +00:00
citrixxml.lua Fix NSEDoc. 2010-03-31 20:28:14 +00:00
comm.lua Pass host and port tables instead of host.ip and port.number in http.lua 2010-08-16 17:41:57 +00:00
datafiles.lua Brief copyediting of NSEDoc for modules. 2010-07-12 19:42:43 +00:00
dhcp.lua Merge from /nmap-exp/patrick/nse-nsock-maintenance. 2010-09-18 20:35:09 +00:00
dns.lua Brief copyediting of NSEDoc for modules. 2010-07-12 19:42:43 +00:00
drda.lua Change calls in these forms: 2010-08-16 18:59:30 +00:00
giop.lua o [NSE] Added GIOP library and a small script that makes use of it: 2010-08-19 23:14:39 +00:00
http.lua Increase the debug level required to print out the http.lua cache size. 2010-09-27 18:51:04 +00:00
imap.lua Change calls in these forms: 2010-08-16 18:59:30 +00:00
informix.lua o [NSE] Added an Informix library and three scripts that make use of it: 2010-08-19 22:47:52 +00:00
ipOps.lua Brief copyediting of NSEDoc for modules. 2010-07-12 19:42:43 +00:00
json.lua Brief copyediting of NSEDoc for modules. 2010-07-12 19:42:43 +00:00
ldap.lua Brief copyediting of NSEDoc for modules. 2010-07-12 19:42:43 +00:00
listop.lua Brief copyediting of NSEDoc for modules. 2010-07-12 19:42:43 +00:00
match.lua Brief copyediting of NSEDoc for modules. 2010-07-12 19:42:43 +00:00
mongodb.lua Brief copyediting of NSEDoc for modules. 2010-07-12 19:42:43 +00:00
msrpc.lua Fixed a spelling mistake in a variable name in msrpc.lua 2010-09-24 03:38:11 +00:00
msrpcperformance.lua Lots of little bugfixes throughout several smb scripts, mostly related to bad use of global variables 2010-09-24 00:31:12 +00:00
msrpctypes.lua Brief copyediting of NSEDoc for modules. 2010-07-12 19:42:43 +00:00
mssql.lua Change calls in these forms: 2010-08-16 18:59:30 +00:00
mysql.lua Fixed a number of incorrect receives and replaced them with receive_bytes. 2010-08-24 20:25:46 +00:00
netbios.lua Brief copyediting of NSEDoc for modules. 2010-07-12 19:42:43 +00:00
nmap.luadoc Merge from /nmap-exp/patrick/nse-nsock-maintenance. 2010-09-18 20:35:09 +00:00
nrpc.lua o [NSE] Added a smallish Lotus Domino rpc library (nrpc.lua) and some Lotus 2010-08-19 23:02:58 +00:00
nsedebug.lua Brief copyediting of NSEDoc for modules. 2010-07-12 19:42:43 +00:00
openssl.luadoc Removed references to MD2, as OpenSSL 1.x.x doesn't support it anymore 2010-08-20 06:05:08 +00:00
packet.lua Brief copyediting of NSEDoc for modules. 2010-07-12 19:42:43 +00:00
pcre.luadoc Brief copyediting of NSEDoc for modules. 2010-07-12 19:42:43 +00:00
pgsql.lua Change calls in these forms: 2010-08-16 18:59:30 +00:00
pop3.lua Brief copyediting of NSEDoc for modules. 2010-07-12 19:42:43 +00:00
proxy.lua Change calls in these forms: 2010-08-16 18:59:30 +00:00
rpc.lua Whitespace formatting and some code cleaning. 2010-09-27 13:19:25 +00:00
shortport.lua Add a new function, shortport.http, that will be used as the portrule 2010-08-09 22:23:43 +00:00
smb.lua Implemented some changes (mostly in error handling) to let smb scripts run in parallel with each other against a single host. Previously, I had used a mutex to prevent that from happening. The changes are summarized in the following post: http://seclists.org/nmap-dev/2010/q3/819, but it comes down to three things: 2010-10-03 22:40:41 +00:00
smbauth.lua Added the REQUEST_TARGET flag to the extended authentication packet. I have no clue what that flag does, and I can't find any documentation, but Nmap completely fails against Windows 7 unless it's set. 2010-09-24 03:42:38 +00:00
snmp.lua Brief copyediting of NSEDoc for modules. 2010-07-12 19:42:43 +00:00
ssh1.lua Merge from /nmap-exp/patrick/nse-nsock-maintenance. 2010-09-18 20:35:09 +00:00
ssh2.lua Merge from /nmap-exp/patrick/nse-nsock-maintenance. 2010-09-18 20:35:09 +00:00
stdnse.lua Change " \n" to just "\n" where appropriate in NSE. Leading newlines are 2010-09-30 05:03:39 +00:00
strbuf.lua Brief copyediting of NSEDoc for modules. 2010-07-12 19:42:43 +00:00
strict.lua Brief copyediting of NSEDoc for modules. 2010-07-12 19:42:43 +00:00
tab.lua Brief copyediting of NSEDoc for modules. 2010-07-12 19:42:43 +00:00
target.lua Clean debug messages and make debug level 3 the default debug level for the 'adding new targets' code. 2010-09-03 17:53:34 +00:00
tns.lua o [NSE] Added a Oracle TNS library and two new scripts that make use of it. 2010-08-19 23:09:32 +00:00
unpwdb.lua Brief copyediting of NSEDoc for modules. 2010-07-12 19:42:43 +00:00
url.lua Brief copyediting of NSEDoc for modules. 2010-07-12 19:42:43 +00:00
vnc.lua Fix NSEDoc typo. 2010-09-13 17:51:34 +00:00