1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-17 13:09:02 +00:00
Commit Graph

65 Commits

Author SHA1 Message Date
dmiller
365792fda1 Add more SSL ports/services 2024-06-03 19:00:34 +00:00
dmiller
cf445db7b9 Make shortport.ssl match likely DTLS ports 2024-06-03 19:00:30 +00:00
dmiller
b305ba6b5d Prevent ssl-* from printing to jetdirect ports. Fixes #2237 2021-01-25 17:00:40 +00:00
dmiller
f974b625d2 New, broader portrule for SSH scripts. Closes #1825 2020-01-10 05:32:08 +00:00
dmiller
42bb2feed8 Add 4433 (openssl s_server) to likely SSL ports 2019-11-18 18:31:39 +00:00
dmiller
dcc0e3ed7e New tableaux library containing table auxiliary functions. 2018-10-17 15:34:30 +00:00
dmiller
03639761c3 Move in_port_range to shortport.port_range, expand portnumber to match ranges 2018-10-11 05:11:13 +00:00
dmiller
7a790d3665 shortport.ssl: don't send 2 probes if the first gives obviously not-ssl response 2018-08-11 21:23:57 +00:00
dmiller
8ae3ee2c7c Avoid crash if only testing port for likely SSL, not host. Fixes #1286 2018-08-06 21:23:07 +00:00
dmiller
622c14c115 Some fixes for script crashes due to updated shortport.ssl 2018-07-12 04:14:35 +00:00
dmiller
073a3efb23 Let all ssl scripts check for SSL and cache/check SSL status. https://security.stackexchange.com/q/189268/9209 2018-07-11 05:03:13 +00:00
dmiller
2af7a74e95 Add some more TLS/DTLS services to appropriate lists, based on IANA names and comments 2017-10-27 02:01:10 +00:00
dmiller
091eddf76f Add 5986 (wsmans) as a SSL port. See #951 2017-07-27 03:17:43 +00:00
dmiller
be64d14098 Add njenet-ssl (port 2252) to likely-ssl ports 2016-12-09 04:19:44 +00:00
dmiller
ee97c8f2a9 New MQTT script and library. Closes #352 2016-09-07 20:01:47 +00:00
dmiller
0edbf3f073 Tridium Fox script, probes, sslports. 2016-09-07 03:49:31 +00:00
dmiller
f4619edece Update http urls for nmap.org to https 2015-11-05 20:41:05 +00:00
dmiller
a9320c57eb Add a few http services to shortport.http 2015-10-19 15:57:08 +00:00
paulino
c24322ff9a Adds globalcatssl port to LIKELY_SSL_PORTS. Closes #179 2015-07-20 04:07:41 +00:00
dmiller
dab7b10ebe Add 3389 as an SSL port; Enhanced RDP Security requires TLS 2015-04-02 04:40:26 +00:00
dmiller
1b97aae733 Add https-alt to shortport.http (Fixes #56) 2015-02-18 19:54:05 +00:00
jay
341e447868 Add the nmap.version_intensity() function for use in NSE version scripts. Modify shortport.version_port_or_service() to also take a rarity parameter. 2014-07-30 07:05:58 +00:00
dmiller
ec9074f718 Correct "it's" to "its" where necessary
it's = it is
its = belonging to it
2014-06-19 04:58:46 +00:00
devin
53ca0c01dd Added checks to prevent scripts from indexing a nill value when
scanning localhost.
2014-05-28 02:29:31 +00:00
dmiller
1b71f75aad Spelling fixes for Lua files
Mostly in documentation/comments, but a couple code bugs were caught,
including a call to stdnse.pirnt_debug and a mis-declared variable.
2014-02-19 04:15:46 +00:00
dmiller
961ea25225 Re-indent some NSE libraries.
https://secwiki.org/w/Nmap/Code_Standards
2014-02-03 19:47:34 +00:00
dmiller
620f9fdb34 Remove trailing whitespace in lua files
Whitespace is not significant, so this should not be a problem.
https://secwiki.org/w/Nmap/Code_Standards
2014-01-23 21:51:58 +00:00
kroosec
b940d201d4 Added http-proxy to shortport likely http services. 2012-06-21 01:32:22 +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
david
a2e693fb24 Factor out port and service lists for shortport.http. 2012-01-14 01:03:16 +00:00
david
b6b2b21e2f Add "soap" to shortport.http.
Suggested by Gabe Lawrence.
2012-01-13 03:55:33 +00:00
paulino
a8df084c1f Adds http default ports for LiteSpeed Web Server. 2011-07-24 21:26:37 +00:00
paulino
b39c0515f1 Added HTTP SSL default port for Apache Tomcat. 2011-06-10 02:39:59 +00:00
paulino
183e6c28b8 Added default ports for Apache Tomcat web server. 2011-06-10 01:08:05 +00:00
david
95bca0d2c7 Add port 9001, tor-orport, to LIKELY_SSL_PORTS and LIKELY_SSL_SERVICES. 2011-04-19 00:51:10 +00:00
david
ddaf29c3e4 Fix two bugs in the new shortport.ssl portrule, reported by Tom Sellers.
The first is that "sctp" was being treated as a list of port states,
when it should have been put in the same table as "tcp". The second is
the same bug that we've seen before, which is that it was returning a
function value instead of the result of calling the function.
2011-02-22 20:16:34 +00:00
david
c3ab2d5ea4 Create a shortport.ssl function like shortport.http. Use it in ssl
scripts.
2011-02-22 00:46:28 +00:00
david
3f2a6606af Add "vnc-http" and port 5800 to shortport.http. 2010-12-16 02:00:23 +00:00
david
fbe60bdcc9 Add a new function, shortport.http, that will be used as the portrule
for HTTP scripts.
2010-08-09 22:23:43 +00:00
david
7d0c08a097 Brief copyediting of NSEDoc for modules. 2010-07-12 19:42:43 +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
david
1f76d5cc0b Rework shortport.lua to simplify some code and remove leading underscores from
parameter names.
2009-01-20 00:11:05 +00:00
david
d9db019495 Let the proto parameter in the shortport functions take a table like the other
functions do, so you can say {"tcp", "udp"}.
2009-01-19 21:54:00 +00:00
david
5a5df904f1 Factor out the code that checks for an element in a table from shortport.lua to
eliminate some nested loops.
2009-01-19 21:46:39 +00:00
david
af4497669b Proofread and update documentation of pop3, shortport, snmp, ssh1, ssh2,
strbuf, tab, unpwdb, and url.
2008-10-24 20:12:36 +00:00
david
7e15f259a4 Standardize the @copyright fields of NSE modules; change "See nmaps COPYING for
license" to "Same as Nmap--See http://nmap.org/book/man-legal.html" like
scripts commonly use. I added the field to some modules I know to be under the
Nmap license: bin, datafiles, dns, nmap, unpwdb. I left alone bin, bit, pcre,
and url, which come from outside sources.
2008-10-24 00:44:22 +00:00
david
f58f559b81 Reformat and merge documentation for stdnse, shortport, strbuf, snmp, ssh1,
ssh2, smb, pop3, and msrpc.
2008-10-16 00:38:53 +00:00
batrick
670792a4a6 Updated all libraries documentation.
packet and url both need more work.
2008-08-18 04:03:45 +00:00
batrick
462c289f4a Fixed all the modules to give a default name if absent.
Also necessary for the documentation system to know the name
of the module.
2008-08-16 04:20:15 +00:00
kris
841071b121 Simple change: make state_table local in the NSElib shortport.service() 2008-04-10 15:24:49 +00:00