1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-10 17:59:04 +00:00
Commit Graph

49 Commits

Author SHA1 Message Date
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
fyodor
165e79a95d Fix a problem which prevented proper port number matching in port_or_service() because the port variable passed to portnumber is shadowed by the variable passed during portrule check. Report and patch are from Sven Klemm 2008-01-05 07:21:55 +00:00
diman
8c89c0f4d9 default port state for shortports is now open or open|filtered instead of only open 2007-12-08 19:25:09 +00:00
diman
005a84fc59 open / open|filtered tables work for shortport.service now 2007-12-08 15:28:55 +00:00
fyodor
454e4e3b17 I hope this will recover nselib history 2007-11-27 22:50:00 +00:00
fyodor
bbb0744761 now move nselib to recover history 2007-11-27 22:42:39 +00:00
diman
c0f07c99ac adding nselib nselib-bin second (should work on unix now) 2007-11-27 22:18:59 +00:00
diman
335ec2868f adding nselib and nselib-bin the first 2007-11-27 22:17:30 +00:00
ejlbell
34763e08f4 Added support for multiple states in portnumber() rules 2007-11-14 20:04:45 +00:00
fyodor
179d2b5766 merge soc07 r5191:5202 - portstates now takes list; script to download robots.txt; open proxy script; fix default shortport state value 2007-08-11 05:51:31 +00:00
fyodor
ed6a634ebc merge soc07 r5144 - added a seperate strbuf-module (code mainly taken from eddies implementation in stdnse.lua 2007-08-11 05:45:11 +00:00
fyodor
ed8b7899a0 merge soc07 r5073:5077 - renamed listopt(ions?!) to listop(erations); removed nse_bitlib.* from the Makefile.in in nselib/; removed unused MAKEDEPEND 2007-08-11 05:10:24 +00:00
fyodor
475393bc2c merge soc07 r5049:5063 - added string split/join methods; Bruteforce telnet script; fixed a few typos; updated to escape some common url constructs; refactored shorport library; Added a family of string buffer functions to nselib as concatenation is not efficient; Updated a couple of scripts to use string buffers; resolved a couple of naming conflicts 2007-08-11 04:58:05 +00:00
fyodor
88b0e212df merge soc07 r4906 - NSE bugfixes 2007-08-11 04:16:56 +00:00
fyodor
6877d8329d merge soc07 r4896:4898 - added new scripts; made shortport.port_or_service work as intended, it now returns a function instead of a boolean 2007-08-11 04:14:01 +00:00
fyodor
cafec3593d merge soc07 r4891 - nse improvements 2007-08-11 04:12:45 +00:00