1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 14:11:29 +00:00
Commit Graph

7 Commits

Author SHA1 Message Date
tomsellers
c8fb3889e6 Addressed a condition in db2-das-info.nse where the script would crash
if the DB2 DAS service had discovery mode disabled.  While the service
would be listening, the data would be in an unexpected format.  This 
caused the script to crash at line 412 when it tried to extract the 
server profile from the DB2 response (db2response.info variable).

I will likely tweak the hard setting of the ports in the block that
follows after I perform more testing to verify that it behaves as
expected - Tom
2011-02-16 00:13:38 +00:00
david
3c89e089fc Change calls in these forms:
socket:connect(host.ip, port.number)
socket:connect(host.ip, port.number, port.protocol)

to this:

socket:connect(host, port)

connect can take host and port tables now, and the default protocol is
taken from the port table if possible.
2010-08-16 18:59:30 +00:00
djalal
72a06a3b5c Merge r18160:18278 from nmap-exp/djalal/nmap-nse/ to fix NSE not honoring the exclude directive bug. 2010-06-29 21:56:59 +00:00
fyodor
35a28ea343 canonicalize some license text that differed in whitespace or quote character or line-ending or (in a couple cases) the slightly older wording 2010-06-11 06:54:56 +00:00
david
8a26459cfd Add @output sections for http-passwd, db2-info, db2-das-info, and
pptp-version.
2010-04-08 19:44:20 +00:00
tomsellers
1135590980 Modified portrule to restrict the script to port 523 instead of 523 OR ibm-db2
in order to keep the script from running against the actual database instances.
Also modified the debugging output so that the bulk of the information is 
generated at -d 4 or higher.
2010-01-29 00:51:55 +00:00
tomsellers
9f9ce26425 Add a new script, db2-das-info.nse, that connects to the IBM DB2 Administration Server (DAS)
on TCP or UDP port 523 and exports the server profile.  No authentication is required for 
this request. The script will also set the port product and version if a version scan is
requested. [Patrik Karlsson, Tom Sellers]
2010-01-28 00:48:29 +00:00