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

12167 Commits

Author SHA1 Message Date
dmiller
aa6245b53a New issue templates for Github Issues 2020-05-20 20:11:22 +00:00
nnposter
3019f0c9de Fix DALC structure unmarshalling in TNS. Fixes #2010
The algorithm got broken in r37418 (4009f5fb17),
when string concatenation was replaced with table concatenation.
2020-05-20 20:08:38 +00:00
dmiller
df1874cedd Reduce CPU usage of OS scan by 50%
expr_match was wasting cycles implementing syntax not used or documented
elsewhere (boolean AND, "+" to mean non-zero), copying and allocating new
strings. Replacement reduces number of comparisons and performs parsing
in-place on the const input expression.
2020-05-20 05:23:47 +00:00
nnposter
fb1406a51a Add new vhost entry. Closes #2041 2020-05-20 01:48:35 +00:00
nnposter
0d966d9fee True up the full virtual host probing list
The last update to vhosts-default.lst (r32488, bb77ad2abc) should have covered vhosts-full.lst as well.

It should be reviewed whether the above-mentioned update added too much into
the default list, increasing its size five-fold. For performance reasons,
this list is apparently intended to cover only the most common names.
2020-05-20 00:02:18 +00:00
nnposter
b64f17b1ad Already implemented in r29399
See Github commit 1441aea655
2020-05-19 23:26:10 +00:00
nnposter
eefc08e795 Add music/photo/video detection. Closes #2048 2020-05-19 22:51:29 +00:00
dmiller
875a51fb0f Be more parallel with ARP discovery
Two essential changes:

1. (ab)Use the ratelimit detection feature to hold off sending retransmissions,
preferring to send new ARP probes. Late responses will still be recorded, but no
longer counted as drops. This also gives each target the longest amount of time
to respond.

2. Send timing pings much more frequently. Since we're not sending any
retransmissions until timeout + ratelimit, we wouldn't otherwise have any data
on drops in order to speed up or slow down.

Results are faster ARP scans with fewer missed targets. See #92.
2020-05-15 18:18:18 +00:00
dmiller
bfef89e943 Also fudge received times for NS scan 2020-05-15 17:49:49 +00:00
dmiller
4fcc04cce5 Avoid printing null timestamp if scan was skipped. Fixes nmap/nmap#1725 2020-05-14 18:11:41 +00:00
dmiller
069af655eb ARP: Look for an earlier probe if response seems too fast. See #92 2020-05-11 17:20:11 +00:00
dmiller
a41e8c8e58 Update copyright language for Windows. 2020-05-11 17:18:27 +00:00
nnposter
351eea1986 PROTOCOL_IDS is a table. Fixes #1999, closes #2005 2020-04-14 18:11:23 +00:00
dmiller
5b6645e09d Copy link header from beginning of frame, not beginning of IP header. 2020-04-06 21:39:58 +00:00
nnposter
38023d1346 Update fingerprint to cover EPC3928AD. Fixes #1984 (no pun intended) 2020-04-01 18:35:08 +00:00
tomsellers
900e1c55f1 Added service fingerprinting for MySQL 8.x, Microsoft SQL Server 2019,
MariaDB, and Crate.io CrateDB. Updated PostreSQL coverage and added
specific detection of recent versions running in Docker. Closes PR#1963
2020-03-31 12:17:33 +00:00
paulino
0af31da502 Adds Atlassian products submitted by Mark Adams. Closes PR #1649 2020-03-22 03:20:40 +00:00
paulino
571340dcdd Fixes nested table in ArangoDB signature breaking the database 2020-03-22 02:45:29 +00:00
dmiller
f83de100b3 Avoid integer overflow in nping elapsedRuntime. Fixes #1961 2020-03-11 21:24:56 +00:00
nnposter
4097f39090 Do not treat HTTP 400 as login success. Closes #1942 2020-03-04 20:58:49 +00:00
nnposter
97a891b3e9 Updated BACnet vendor list. Closes #1936 2020-03-01 16:31:34 +00:00
nnposter
44d7dbc517 Streamline Luhn checksum code
Removes various floating-point hazards. Fixes #1931, closes #1932
2020-03-01 03:50:42 +00:00
nnposter
80f4733c32 Correct RPC reserved port range is 512-1023
Some RPC services are strict about this and reject calls when the source port
is outside this range, causing nmap RPC calls to fail 50% of the time.
2020-02-29 22:29:51 +00:00
dmiller
6753d2efdd Report actual number of hosts being resolved. Fixes #1918 2020-02-20 16:35:22 +00:00
dmiller
aaea7ab4e9 Allow a socket created/connected in one thread to be used in another. See #1233 2020-02-18 19:41:29 +00:00
dmiller
36018c07d7 Fix a copy-paste error 2020-02-18 19:39:03 +00:00
dmiller
ad2eb47aa7 Disable Robtex NSE scripts due to API changes. 2020-02-18 19:21:46 +00:00
dmiller
2f0e104f02 Allow numeric-string port numbers as arguments to http.lua funcs 2020-02-18 18:29:57 +00:00
dmiller
e4b3f018ff Fix tor-consensus-checker, several issues.
* Update list of directory servers from current Tor source
* Since consensus is agreed on by all directories, stop after retrieving the first one.
* Use numeric port number, not string. http.lua to be updated later to allow strings, too.
* Do not use http.lua's cache for this big document, since we're caching it ourselves.
* Permit sizes up to 3 MiB, since consensus is larger than default 2 MiB limit.
2020-02-18 18:28:54 +00:00
dmiller
4a38853631 Don't let UDP decoding bugs kill broadcast-listener main thread 2020-02-18 17:37:57 +00:00
dmiller
5d281d0e6e Avoid infinite runtime in snmp-brute due to 'Invalid reuse of a socket' killing send thread. 2020-02-18 17:02:39 +00:00
nnposter
648a08eecf Fix a typo. Closes #1914 2020-02-08 23:56:50 +00:00
dmiller
f37a4bc42e Fix a variable name (broke Windows build in r37875, 7faec7f15) 2020-02-07 05:07:09 +00:00
dmiller
f15fc6bb78 Allow broadcast-dhcp-discover to receive more than 1 response. Fixes #1908 2020-02-05 18:32:14 +00:00
dmiller
688f8b6f76 Better string pack formats 2020-02-05 04:30:56 +00:00
dmiller
6fb2172ca2 Fix script crash: can't pack binary data as zero-terminated if it contains zeros. 2020-02-05 04:30:56 +00:00
dmiller
0d7f8a631d Fix a missing local in outlib 2020-02-05 04:30:55 +00:00
dmiller
d341c45cf4 Fix io.close calls in whois-ip 2020-02-04 18:57:02 +00:00
dmiller
8515e83671 Handle redirect URLs without a host, e.g. https:///path 2020-02-04 18:54:20 +00:00
dmiller
1b1a85cc6b Clarify proxy type support in Ncat server. Fixes #1901 2020-02-03 20:18:44 +00:00
dmiller
a2d44ab1b4 Add hosthint element to DTD as child of nmaprun 2020-01-30 04:59:39 +00:00
dmiller
373a789a79 Fix Ndiff assertion failure due to new hosthint element. 2020-01-30 04:59:39 +00:00
dmiller
0b7e02c15a Process more service submissions; 2 new probes: teamtalk-login, insteonPLM 2020-01-27 18:06:34 +00:00
dmiller
707a8aa2e7 Process more service fingerprints. 2020-01-20 15:08:54 +00:00
dmiller
817797290a New script uptime-agent-info 2020-01-20 15:02:29 +00:00
dmiller
3e886664ba Fix a typo 2020-01-20 15:02:28 +00:00
dmiller
b1620387ba Add thread-safe gmtime equivalent to nbase 2020-01-19 16:37:37 +00:00
dmiller
8df11582e6 Move comma-separated list code to outlib 2020-01-19 16:37:36 +00:00
dmiller
8e145819c2 Remove an unneeded very verbose debug statement. 2020-01-19 16:37:35 +00:00
dmiller
0acdeb5487 Fix output ordering for ssl-cert, including support for EC certs. 2020-01-16 19:12:59 +00:00