dmiller
8ae3ee2c7c
Avoid crash if only testing port for likely SSL, not host. Fixes #1286
2018-08-06 21:23:07 +00:00
dmiller
c95330ddf0
Avoid calling GetLastError twice.
2018-08-06 21:23:06 +00:00
nnposter
a4237019ac
Fixes indentation
2018-08-05 21:30:42 +00:00
nnposter
1e1f7c80c2
Simplifies code; possibly ipOps candidate
2018-08-05 21:29:37 +00:00
nnposter
3fc825b15e
Takes advantage of freshly implemented ipOps.get_first_ip()
2018-08-05 21:11:48 +00:00
nnposter
57f9a46f73
Changes ipOps.get_ips_from_range() behavior to return true first IP address
...
from a supplied range, not simply copying over the address used to specify
the range. Specifically in case of CIDR notation, the supplied address may
be any address in the range, such as "192.168.1.10/24". Closes #1285
2018-08-05 20:45:08 +00:00
nnposter
6353292c9f
Re-wraps overly long line
2018-08-05 20:38:12 +00:00
dmiller
16193bc5e8
Don't quit if no MAC can be found, just mark the target as down. Unusual case, see #1293
2018-08-05 20:22:43 +00:00
dmiller
087b445f17
Changing lots of patterns to only match within HTTP headers. See #1196
2018-08-02 16:20:56 +00:00
dmiller
6a2bfdfb2a
Use more efficient regexes in some matches. See #1196
2018-08-01 16:22:03 +00:00
nnposter
6c848f1c85
Improves compliance with RFC 7871 by properly zeroing out insignificant bits
...
and discarding insignificant octets.
2018-07-29 01:42:19 +00:00
nnposter
40e6327c64
* Fixes a bug causing the same DNS ECS option table to be useable only once
...
because of a side effect on the address family member.
* Allows the ECS address family to be supplied either as string or integer.
2018-07-29 00:15:24 +00:00
nnposter
ddd48caec0
Removes unused local variables
2018-07-28 23:49:29 +00:00
nnposter
2e08baefd4
Replaces original experimental DNS ECS option code
...
with value prescribed by RFC 7871. Closes #1271
2018-07-28 23:06:27 +00:00
dmiller
f31ef12ca3
Fix ncat -e --ssl on Windows. Fixes #1267 , #1274
2018-07-23 04:56:56 +00:00
dmiller
12f7822950
Add libpcap/grammar.h to avoid build problems. Fixes #1275
2018-07-22 23:08:31 +00:00
dmiller
420618c0db
Check for SSL_ERROR_WANT_READ after SSL_write error. Possibly related: #1267
2018-07-19 05:39:02 +00:00
dmiller
d95bc032c6
Upgrade libpcap to 1.8.1
2018-07-18 13:41:40 +00:00
dmiller
172ef58889
libpcap: Disable unnecessary features
...
The following features are disabled:
* monitor-mode sniffing of wireless interfaces on Linux, via libnl
* building shared libraries
* Bluetooth support
* usb support
* dbus capture support
2018-07-18 13:41:38 +00:00
dmiller
87107dd6b1
libpcap: Don't autogenerate Lex/Yacc files
2018-07-18 13:41:38 +00:00
dmiller
3fc4a6fc95
Upgrade libpcap to 1.8.1 (Nmap-specific patches not yet applied)
2018-07-18 13:41:35 +00:00
nnposter
cbb54f79a8
Minor code clean-up
2018-07-16 03:17:24 +00:00
nnposter
ece05c34ee
Miscellaneous code clean-up
2018-07-15 23:42:31 +00:00
nnposter
78601bc7c3
Rectifies a recently introduced bug that impacted fingerprint loading.
...
Incorrect registry entry was tested for cached fingerprints, which was
preventing the script to run against more than one target host/port.
2018-07-15 23:14:04 +00:00
dmiller
aaf5075c67
Move probespec to its own header to reduce includes of scan_engine.h
2018-07-13 18:18:28 +00:00
dmiller
b2e0efb960
Remove unneeded header include
2018-07-13 18:18:27 +00:00
dmiller
622c14c115
Some fixes for script crashes due to updated shortport.ssl
2018-07-12 04:14:35 +00:00
dmiller
5318e42481
New script-arg http.host to force a particular Host header. Closes #1251
2018-07-12 03:43:11 +00:00
dmiller
e16b6bff83
Update Zenmap copyright date
2018-07-11 21:27:02 +00:00
dmiller
073a3efb23
Let all ssl scripts check for SSL and cache/check SSL status. https://security.stackexchange.com/q/189268/9209
2018-07-11 05:03:13 +00:00
dmiller
33f0f050cf
Use smtp.get_domain instead of example.com for STARTTLS. Closes #1258
2018-07-11 04:12:00 +00:00
dmiller
baed30beed
Changelog entry for #1233 fix
2018-07-10 14:23:13 +00:00
dmiller
3c88c17efe
Correctly wrap sockets, avoiding mixups. Fixes #1233
2018-07-10 14:23:12 +00:00
dmiller
6d72dbb9df
Add more assertions and checks for cross-thread socket use. See #1233
2018-07-07 21:13:46 +00:00
dmiller
cdae588782
Check for additional libs required for inet_pton/ntop, as on Solaris
2018-07-02 16:20:39 +00:00
dmiller
14f439a29e
Use integer division for timestamps. Fixes #1255
2018-06-29 02:53:40 +00:00
dmiller
d25b4df8be
Return not-vuln results, too.
2018-06-28 13:40:30 +00:00
dmiller
6e5e9478f2
Handle error condition. Closes #1254
2018-06-28 13:40:29 +00:00
dmiller
cd3253f5a2
New script, https-redirect
2018-06-28 03:43:27 +00:00
dmiller
dbea852c26
Close open sockets in http-server-header
2018-06-28 03:43:26 +00:00
dmiller
e4f65348cb
Use lua_createtable to prealloc some tables, saving time & memory
2018-06-28 03:43:25 +00:00
dmiller
7d724a69a2
Reduce a level of indirection in traceroute entries in NSE
2018-06-28 03:43:24 +00:00
paulino
a0418c0b89
Makes the signature for OSGi management consoles more generic. Closes #1240
2018-06-23 20:22:02 +00:00
paulino
b3f34bbdd4
Removes target library as IP addresses aren't included
2018-06-23 19:52:45 +00:00
paulino
1335a19d7f
Adds broadcast-jenkins-discover to discover Jenkins servers. Closes #1236
2018-06-23 19:46:51 +00:00
paulino
dc888d0918
Adds broadcast-hid-discoveryd to discover HID devices on a LAN by sending a discoveryd network broadcast probe. Closes #1232
2018-06-23 19:11:30 +00:00
nnposter
f6790a865e
Allows HTTP response status lines without a reason phrase. RFC 7230,
...
section 3.1.2, syntactically requires its presence but prescribes that
clients should ignore it regardless. Some real-world servers do not
use it so NSE could not interact with them without this change.
2018-06-18 20:57:43 +00:00
nnposter
356501dcd0
Converts unit test case definitions from lists to hash tables for better readability
2018-06-18 20:29:21 +00:00
dmiller
65f51df590
Better hex formatting functions for nbstat
2018-06-14 23:45:54 +00:00
dmiller
3248b7f539
Style changes to nbstat.nse
2018-06-14 23:40:09 +00:00