dmiller
3635595b24
Do not search NMAPDATADIR on Windows as it is not defined. See #2051
2020-08-28 15:06:08 +00:00
dmiller
210adf941e
Remove nmap-update
...
This feature was never publicly released, and has not been distributed
in our binary builds for a couple versions now. It needed to be removed
in order to reduce the number of places Nmap looks for data files. See #2051
2020-08-27 19:13:31 +00:00
dmiller
bdc676238f
Fix --resume from IPv6 scans
2020-07-13 16:10:00 +00:00
dmiller
ee32b56ebb
Comment some empty blocks. #1834
2019-12-25 20:01:18 +00:00
dmiller
8192ce2b6c
Avoid using global names as function params. #1834
2019-12-25 20:01:14 +00:00
dmiller
e356ad1123
Add thread-safe wrapper for ctime.
2019-12-20 20:53:32 +00:00
dmiller
4a1c9424d3
Replace localtime calls with thread-safe alternative. See #1834
2019-12-15 05:05:57 +00:00
dmiller
3a744a85c2
Check o.debugging *after* parsing options, otherwise it's always false.
2019-10-30 23:34:34 +00:00
dmiller
7d7f0672d2
Use 64-bit file sizes when resuming scans. See #1742
2019-09-16 16:33:04 +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
a668cdb9c7
Remove some unused windows headers and silence warnings
2019-05-29 16:39:05 +00:00
dmiller
d639a53088
Bump copyright date in license headers
2019-05-28 21:36:04 +00:00
dmiller
8962c827e1
Avoid crashing --version when Npcap can't be loaded (missing)
2019-04-08 14:58:54 +00:00
dmiller
b1efd74249
Warn for raw scan options without needed privileges
2018-11-29 20:27:05 +00:00
dmiller
3a240371fc
Require 'options' to -s* and -P* to be joined to them, e.g. not '-s SUV'
2018-11-27 18:12:43 +00:00
dmiller
8605dea33a
Fall back to TCP connect ping on Windows without pcap
...
While Windows raw sockets can send and receive ICMP packets, Nmap relies on
libpcap packet capture to spot responses, so if pcap isn't available
(--unprivileged or Npcap not installed), we need to fall back to TCP connect for
host discovery, just like we do for unprivileged users on other operating
systems. Previous behavior was a fatal error suggesting unhelpfully to use
--unprivileged.
2018-11-08 15:28:13 +00:00
dmiller
824f9dcb2f
Rearrange declarations to put all addrset functions in nbase.h, hide struct addrset internals.
2018-11-01 04:35:00 +00:00
dmiller
27807aadb4
Straighten out some headers and the (struct) addrset type
2018-11-01 04:34:59 +00:00
dmiller
d03b10ea36
Deprecate/disable -PR option as it was not really being checked.
...
Fixes #1361
2018-10-24 03:55:42 +00:00
dmiller
466bf8ff65
Limit -v and -d to 10 max.
2018-10-08 20:49:20 +00:00
dmiller
356831b129
Add a requested feature
2018-10-01 19:32:10 +00:00
dmiller
b25f9bc8ef
Use correct ordinals for Nmap's age
2018-09-01 18:50:19 +00:00
dmiller
aa1a94db53
Skip whole quoted program name when parsing args with --resume
2018-04-05 19:22:08 +00:00
dmiller
7acdd4b41f
Quote args with spaces in invocation summary
2018-04-05 19:22:07 +00:00
dmiller
01e7430797
Remove the old optparse function; options must be specified with hyphens.
2018-02-20 17:37:47 +00:00
dmiller
23d95f5126
Remove deprecated long option aliases
2018-02-20 17:37:46 +00:00
dmiller
3abbbebedd
Remove blank line at start. See #1128
2018-02-06 18:46:17 +00:00
nnposter
6889a2f6a5
Resolves crash opportunities caused by unexpected libpcap version string format. Fixes #1112
2018-02-01 17:19:35 +00:00
fyodor
ff62300249
Bump copyright dates to 2018 and slightly improve wording (doesn't change meaning) of Nmap license header text
2018-01-28 21:18:17 +00:00
dmiller
2a1f81d42d
Use bool not int for boolean options
2017-12-07 18:20:07 +00:00
dmiller
f1488554bd
Add the --resolve-all option
2017-12-06 04:17:06 +00:00
dmiller
d9b66b20a3
Rename o.resolve_all to o.always_resolve
...
This is the flag for the -R option. "always" is more appropriate than
"all," since "resolveall.nse" does something different, and there is a
"resolve_all" function that does that thing as well, unrelated to the -R
option.
2017-12-06 04:17:04 +00:00
paulino
e66740a16d
Improves error message. Closes #1056
2017-11-23 23:47:15 +00:00
nnposter
9d11605113
Adds protection against dealing with excessive timer values.
...
As a side effect it silences current MSVC compiler warning about
"possible loss of data". See #995
2017-09-23 23:24:14 +00:00
rewanth
6ee953a5ff
Removes trailing spaces in 69 files. Closes #971 .
2017-08-23 08:52:40 +00:00
dmiller
675ae460b3
Move NewTargets class to its own h/cc files
2017-08-05 21:11:00 +00:00
dmiller
fd0db09749
Report appropriate zlib/libssh2 versions. Closes #957
2017-08-03 15:16:49 +00:00
dmiller
f784d350e4
Allow --script-timeout 0 to mean 'no timeout' to override -T5
2017-08-03 02:10:00 +00:00
dmiller
9ddb870666
Add --script-timeout 10m to the defaults for -T5
2017-08-03 02:06:58 +00:00
dmiller
31dd0876a4
Move some functions to more appropriate files
2017-08-02 05:10:19 +00:00
dmiller
011ebd731b
Fixes to configure for libssh2+libz
2017-07-31 16:56:48 +00:00
dmiller
17bcd4c4fc
Show nmap- prefix for included libssh2 and libz
2017-07-29 19:42:47 +00:00
evangel
0c142333bb
Merged gsoc-ssh branch. Closes #910
2017-06-29 21:27:35 +00:00
dmiller
9c7ea727a7
Update license terms for 2017
2017-06-07 12:32:38 +00:00
dmiller
ab5e247cee
Include netutil.h for IPPROTO_SCTP constant where necessary. Fixes #868
2017-04-26 18:55:16 +00:00
dmiller
339283d4b0
Remove some unused/overused includes
2017-04-19 14:53:24 +00:00
dmiller
891c3be3b9
remove tcpip.h from other headers' includes
2017-04-19 13:53:57 +00:00
dmiller
24f6cec25a
Move scan lists structs and functions to scan_lists files.
2017-04-19 04:14:43 +00:00