patrik
bc0defc8ff
o [NSE] Added SPNEGO authentication supporting Windows 7 and Windows 2008 to
...
the smb library. [Patrik Karlsson]
2012-06-09 12:17:01 +00:00
patrik
721ac80024
reverted previous commit, due to unfinnished changes in smb, asn1 and smbauth
...
libraries.
2012-06-06 22:04:28 +00:00
patrik
c4617f8d31
Fixed a bunch of errors reported by Ron Bowes;
...
http://seclists.org/nmap-dev/2012/q2/639
2012-06-06 21:57:00 +00:00
batrick
000f6dc4d9
Lua 5.2 upgrade [1] for NSE.
...
[1] http://seclists.org/nmap-dev/2012/q2/34
2012-05-27 08:53:32 +00:00
patrik
23d2e0d31f
o [NSE] Applied patch from Chris Woodbury that adds the following additional
...
information to the output of smb-os-discovery:
+ Forest name
+ FQDN
+ NetBIOS computer name
+ NetBIOS domain name
2011-07-12 06:08:43 +00:00
david
3447e2a6a2
Use get_script_args to handle smb-related flag options, to use our
...
common true/false logic and not hardcode "1" and "true" in places. Patch
by Chris Woodbury.
2011-04-20 21:35:10 +00:00
ron
9ae7fb6a5d
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
david
7d0c08a097
Brief copyediting of NSEDoc for modules.
2010-07-12 19:42:43 +00:00
ron
12fe785185
Added the script-arg 'smbnoguest' to the smb scripts. It disables use of the guest account. Andrew Smith on nmap-dev commented that trying the guest account raised an IDS flag, and asked for a way to disable it.
2010-04-29 11:46:58 +00:00
david
5fa554266b
Fix NSEDoc.
2010-03-31 20:28:14 +00:00
david
f94e871385
Change a reference to smb-pwdump to smb-psexec.
2010-02-11 02:46:35 +00:00
ron
7d67b08e66
Merged in my changes from nmap-smb. The primary changes are:
...
* Updated the way authentication works on smb -- it's significantly cleaner now
* smb-enum-shares.nse gives significantly better output now (it checks if shares are writable)
* Added a script that checks if smbv2 is enabled on a server
* Added smb-psexec, a script for executing commands on a remote Windows server. I also included some default scripts, a compiled .exe to run everything, and a ton of documentation (in the form of NSEDoc)
* Added 'override' parameters to some of the functions in smb.lua, which lets the programmer override any field in an outgoing SMB packet without modifying smb.lua.
* Lots of random code cleanups in the smb-* scripts/libraries
2009-11-08 21:31:06 +00:00
batrick
90a712ae2b
Patch to libraries that were inappropriately using globals.
...
Often two (or more) scripts using the same library would
overwrite the globals each was using. This would result
in (at best) an error or (at worst) a deadlock.
The patch changes the global accesses to local.
2009-07-07 00:20:52 +00:00
ron
ab59b09c03
Miscellaneous code cleanups in my smb-* libraries/scripts (removed unused includes, old debug code, etc.)
2009-06-10 23:13:15 +00:00
ron
4b81a92681
Fixed a bug reported where running openssl.encrypt() on an emptys tring would cause an assertion failure. I fixed it by printing a warning message if an empty challenge is encountered and faking out the challenge (if they sent an empty challenge, they're breaking the protocol anyways). This will cause the login to fail, and it will fall back to an anonymous check.
2009-04-02 01:14:15 +00:00
ron
a0d8875867
Fixed a bug where MSRPC would try to sign messages using OpenSSL, even if it wasn't available
2009-03-30 21:32:41 +00:00
ron
45744eddc3
Merge in changes from my private branch, primarily smb-brute.nse and smb-pwdump.nse, among other smaller changes.
2009-03-05 02:03:29 +00:00