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

12968 Commits

Author SHA1 Message Date
nnposter
c491143358 Do not trust SMB challenge length field with Extended Security in use
Some Samba servers fail to zero it out. See
https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-smb/d883d0a5-5a0a-4626-8e3e-87b0b66b79aa
Fixes #1707, closes #1476
2019-09-08 00:40:27 +00:00
nnposter
d608b26eb5 Fix off-by-one bug 2019-09-07 22:50:33 +00:00
nnposter
3bb6062ede Use a more accurate variable name 2019-09-07 22:43:47 +00:00
nnposter
ce28753b89 Rectify error "bad argument #2 to 'format'" in SMB scripts
Fixes #1713, closes #1714, closes #1480
2019-09-06 04:13:07 +00:00
nnposter
991a2fa888 Rectifies an error when smb.list_dialects() fails. Closes #1726 2019-09-05 22:36:26 +00:00
nnposter
59c53f07fd Prevent an error when optional argument "overrides" is not passed
Prevent a potentially unexpected side-effect when the argument is passed.
2019-09-05 21:56:54 +00:00
nnposter
90a2063c9d Only one dialect is returned by smb.negotiate_v1() 2019-09-05 21:28:44 +00:00
nnposter
9e8852a7c7 Rectify undefined behavior of out-of-range shift op
Fixes #1717, closes #1718
2019-09-03 21:56:31 +00:00
dmiller
8d59507aad Support Npcap 0.9983's new loopback behavior 2019-09-03 19:13:14 +00:00
nnposter
ef2825b3bc Populate ID Authority with the correct value. See #1720 2019-09-01 03:53:04 +00:00
nnposter
729260e2d1 Account for a possibly nil argument 2019-09-01 03:09:49 +00:00
nnposter
e5c4f4886b Make sure that argument pos is always defined. See #1720 2019-09-01 02:57:34 +00:00
nnposter
be409657c2 Replace references to stdnse.strjoin with stringaux.strjoin. See #1720 2019-09-01 02:07:19 +00:00
nnposter
96bb8f9bc2 General clean-up. Closes #1687 2019-08-31 02:27:01 +00:00
dmiller
ac2e140a14 Changelog entry for #1371 [ci skip] 2019-08-23 19:52:10 +00:00
david
8712cbf9a2 Fix /author/.../feed/ capture in http-wordpress-users.nse.
Patch by Duarte.
https://seclists.org/nmap-dev/2019/q3/17

The regular expression for the case when the server returns a 200 HTTP
status is too open, it needs to be more specific.

When there is a link similar to the feed link that occurs before the
feed link, the expression will include everything between that initial
link and the feed link.

To fix this, the group that matches/captures the author username will
only do so until it finds a forward slash.
2019-08-22 23:08:31 +00:00
dmiller
862054bf5d Always delete old IOD before attempting reconnect
Trying to connect on the same IOD was leaking sockets, and may have
contributed to high CPU usage on Windows (See #1688)
2019-08-15 18:31:59 +00:00
dmiller
944963dcdc regen docs [ci skip] 2019-08-15 18:31:58 +00:00
dmiller
a36a34aa69 Bump version to 7.80SVN after release 2019-08-14 18:56:24 +00:00
dmiller
9141a09d1f Revert an accidental change to nmap-services 2019-08-13 03:37:23 +00:00
dmiller
b1d50f1951 Added a changelog entry for #1396 [ci skip] 2019-08-13 03:35:31 +00:00
dmiller
f05296d7f7 Merge changes from Nmap 7.80 release branch 2019-08-11 05:30:19 +00:00
dmiller
0b49f7f933 Resume scan supports XML logs since 7.40. 2019-08-08 01:10:35 +00:00
paulino
0066c8eefa Removes protocol version from associate() as it is not used in that function 2019-08-05 20:00:00 +00:00
paulino
645a9180ed Fixes script.db 2019-08-05 18:28:09 +00:00
paulino
82c0361f10 Fixes nil access error. Checks for object before calling the function isReduce 2019-08-05 15:19:24 +00:00
paulino
4f5b659767 Adds new NSE library for DICOM and scripts dicom-ping and dicom-brute to discover and brute force DICOM servers 2019-08-05 06:30:36 +00:00
nnposter
f513575f5c Rectify an HTTP digest authentication crash. Fixes #1665 2019-08-05 00:14:10 +00:00
dmiller
14b63a8ffe Update script.db 2019-08-02 04:21:40 +00:00
dmiller
cbb759565f Fix a bug: string.gsub, not string.sub 2019-08-02 04:21:39 +00:00
dmiller
13d70d9ac7 Avoid a crash by making sure response *has* a location header 2019-08-02 04:21:38 +00:00
dmiller
5ad05bdbab Note that resolveall.nse is replaced by --resolve-all option [ci skip] 2019-07-25 14:13:28 +00:00
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
nnposter
7e9cf65489 Prevent backslash-escaping of CR characters in XML output. Fixes #1648 2019-07-21 00:44:32 +00:00
nnposter
5f5c8b32f6 Add support for gzip-encoded, yet empty body. Closes #1662 2019-07-20 23:37:32 +00:00
nnposter
635675b143 Reduced resume argument buffer back to 4K
This will align it with arg_parse() in utils.cc
2019-07-14 16:54:55 +00:00
nnposter
4e6fef4a0d Increases resume command line buffer. Closes #1659 2019-07-14 16:15:45 +00:00
dmiller
23ee017b95 Check for WSL and warn, suggest native Windows build of Nmap. 2019-07-08 16:12:08 +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
5a1b396f67 Changelog entry for vulners.nse 2019-06-26 20:13:44 +00:00
dmiller
73ce19e7b6 Use Lua integers in more places where floats are unexpected. Fixes #1647 2019-06-26 20:13:43 +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
a5f13ab32d Expand MongoDB match line for changes in more recent versions. 2019-06-26 17:06:45 +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