1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

3008 Commits

Author SHA1 Message Date
nnposter
ddcbf14ff5 Improve the script screen output. Fixes #1637
- properly handle indentation and line termination of multi-line command output
- strip off control characters
- replace tabs with spaces to maintain column alignment
- clean up documentation
2019-07-21 01:12:30 +00:00
dmiller
b445faab35 New oops.lua library
Loosely inspired by Rustlang's std::Result type:
https://doc.rust-lang.org/beta/std/result/index.html

This ought to be easy to use to replace uses of
`stdnse.format_output(false, ...)`
2019-06-28 20:44:19 +00:00
dmiller
cd4da05e38 add missing local 2019-06-27 19:14:49 +00:00
dmiller
2f7f6c7b6a Remove unused requires 2019-06-27 19:13:41 +00:00
dmiller
fbcaa39fa2 Document mincvss arg, ensure consistent ordering in vulners.nse 2019-06-26 17:06:48 +00:00
dmiller
a08be753fb Enable vulners.nse to work during IPv6 scans 2019-06-26 17:06:47 +00:00
dmiller
70f1cbba3d Structured output for vulners.nse 2019-06-26 17:06:47 +00:00
dmiller
86d448e31f Avoid excessive string concatenation in vulners.nse 2019-06-26 17:06:46 +00:00
dmiller
ba530533db Whitespace and NSEdoc formatting for vulners.nse 2019-06-26 17:06:45 +00:00
dmiller
2056ef91e1 Initial commit of upstream vulners.nse 2019-06-26 17:06:44 +00:00
dmiller
35ac318751 Document the new fingerprint formats 2019-06-26 03:22:26 +00:00
dmiller
9d002c029c Use bitmask instead of string.find for ssh hostkey fingerprint format 2019-06-26 03:22:25 +00:00
dmiller
9aebe62edb Add support for SHA256 hostkey fingerprints. Closes #1644 2019-06-26 03:22:24 +00:00
dmiller
24c1b54c80 http-server-header: interfere less with -sV results, especially softmatches 2019-06-19 18:33:51 +00:00
tomsellers
19c756aedf Add NSE script rdp-ntlm-info. Closes #1633 2019-06-14 12:08:28 +00:00
tomsellers
a4f3c85eb9 Add TLS support to rdp-enum-encryption Closes #1614 2019-06-04 19:38:28 +00:00
tomsellers
95f9e2cf91 Address rdp protocol parsing issues in rdp.lua and rdp-enum-ciphers.nse Closes #1611 2019-05-28 23:01:21 +00:00
nnposter
6cffee9e5d Add CARBANAK certificate thumbprint. Closes #1609 2019-05-26 02:03:00 +00:00
nnposter
168cbfde8e Fixes a bug that prevented the script to find its resource file. Fixes #1608 2019-05-24 00:24:51 +00:00
dmiller
61e2976e95 Avoid clobbering ignore_404 and severity values in http-enum. Closes #1467 2019-05-20 03:43:11 +00:00
paulino
9ec6bd1651 Updates execution rule to include alternate ports. Closes #1565 2019-05-07 20:15:22 +00:00
dmiller
85ec647932 Support RPCBIND 3 and 4, not only portmap 2. See #1469 2019-04-15 19:35:24 +00:00
dmiller
ef132f2f24 Clean up response matching and avoid requiring string lib 2019-04-13 21:42:56 +00:00
paulino
d014a474dc Adds NSE script to extract info from HP iLO servers. Closes #1082 and #1016 2019-04-08 15:35:36 +00:00
nnposter
a520bf8f23 Removes OSVDB references from scripts. Closes #1534
Code specific to OSVDB in vulns.lua is retained for historical reasons
2019-04-02 16:51:36 +00:00
nnposter
e945f8363f Remove dead link to esentire.com. See #1534 2019-03-31 01:43:56 +00:00
nnposter
538141539e Align portrule with script rmi-dumpregistry. Closes #1531 2019-03-28 14:19:45 +00:00
nnposter
0b47abe713 Comment clean-up
See 8c3b0075e7
2019-03-28 14:16:05 +00:00
paulino
a6cd5a4dfb Adds lu.nse that attempts to enumerate Logical Units of TN3270E servers. Closes #1455 2019-03-21 04:15:20 +00:00
paulino
f9a08ccd2c Updates TN3270.lua and scripts. It also adds an argument to disable TN3270. Closes #1455 2019-03-21 04:07:55 +00:00
nnposter
e006a18fa5 Prevent endless post-authentication looping when encountering SYST errors.
Closes #1478
2019-02-17 19:37:41 +00:00
dmiller
98ab8c298b Add missing library require 2019-02-11 18:07:07 +00:00
nnposter
7b828b89b4 Corrects argument name in the documentation. Closes #1468 2019-02-11 16:45:46 +00:00
tomsellers
75eed6799c New script to extract information from the Ubiquiti Discovery service and assist version detection. Closes #1457 2019-02-09 20:08:32 +00:00
paulino
062c8cd0d8 Removes hostmap-ip2hosts 2019-01-31 23:28:21 +00:00
paulino
96448ae5d4 Removes hostmap-ip2hosts as the service will be shut down soon. 2019-01-31 23:28:00 +00:00
nnposter
483f10da4d Simplify code by using random_alpha 2019-01-30 03:09:56 +00:00
nnposter
9ad1808726 Correct function name for rand.random.alpha. Closes #1449 2019-01-30 03:00:17 +00:00
paulino
9af581ec03 Removes default timeout value of 5s as there are reports (and it makes sense) that this default value is too short for some environments. Now the default timeout for sockets is used. Closes #1312 2019-01-08 21:49:58 +00:00
paulino
3de3ee8aff Adds TN3270E support to the tn3270 library. Additionally adds support for logical unit setting. Closes #1318 2019-01-08 21:34:37 +00:00
paulino
65c0376c59 Updated product codes, check for response length, update to string.unpack. (NothinRandom). Closes #1346 2019-01-08 21:26:06 +00:00
nnposter
20b6bbda98 Report empty credentials as <blank> 2019-01-06 18:18:12 +00:00
nnposter
fc3c9159be Adds searching by fingerprint name 2018-12-18 17:30:30 +00:00
nnposter
f893372ddd Renamed variable to better reflect its nature 2018-11-27 20:14:55 +00:00
nnposter
f0dd1b8c8d Variable is_ssl is not a flag but a protocol string. Fixes #1400 2018-11-27 19:28:24 +00:00
dmiller
110d9b7adf Fix wrong library typo 2018-11-06 15:07:01 +00:00
dmiller
5a34fd3d8d Add script.db entries for new scripts 2018-11-05 18:07:42 +00:00
dmiller
1c2829cbd0 Fix a bug: if service is vulnerable, this is a table, not a string. 2018-10-25 16:30:48 +00:00
dmiller
8cb2b0ea2a Add or fix See Also links between scripts 2018-10-24 19:36:04 +00:00
dmiller
8fef7f7df5 Compatibility hack for older Nmap versions 2018-10-24 16:35:33 +00:00