1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-05 13:06:32 +00:00
Commit Graph

1628 Commits

Author SHA1 Message Date
nnposter
5ef8d01a7f Simplifies a few logical expressions 2017-04-09 14:25:08 +00:00
nnposter
3952e2fd62 Fixes an issue that caused long integers to be expressed in scientific notation. Fixes #807 2017-04-09 13:33:31 +00:00
dmiller
44a315b548 Fix a unit test in asn1.lua 2017-04-04 16:26:09 +00:00
nnposter
e4d923f076 Allows the port to be a simple number 2017-04-01 22:33:37 +00:00
nnposter
3a9b4d93af Allows the port to be a simple number 2017-04-01 22:05:36 +00:00
nnposter
5636767c85 Fixes hard-to-read code indentation 2017-04-01 21:11:47 +00:00
nnposter
11a8c315ed Includes port information in the Host header for non-standard ports. Fixes #766 2017-04-01 14:33:54 +00:00
nnposter
1bdbc2a680 Improves parsing of the HTTP status line. Fixes #772 2017-04-01 14:25:36 +00:00
dmiller
ffda9402f9 Correctly handle ASN.1 booleans (was opposite) and add unit tests. 2017-04-01 02:00:40 +00:00
dmiller
d55b11ca31 Localize unittest.identical helper function, avoiding crash and speeding it up 2017-04-01 02:00:39 +00:00
dmiller
50bd248c2d Add test ID numbers in lieu of (missing) descriptions for CoAP unit tests 2017-04-01 02:00:38 +00:00
nnposter
2bc67aa4d1 Standardizes coding of header-based conditions 2017-03-30 04:03:32 +00:00
nnposter
3e8bbcb49c Standardizes variable naming for HTTP responses 2017-03-30 04:02:02 +00:00
nnposter
50bfc7c5bb Cleans up another triviality 2017-03-30 01:13:36 +00:00
nnposter
a7b8d0df4f Cleans up a few fingerprint trivialities 2017-03-30 01:04:00 +00:00
nnposter
512e620899 Abstracts out code for testing cookie values 2017-03-30 00:37:16 +00:00
nnposter
afc310c0c9 Cleans up XML request build-up by externalizing XML encoding and allowing for white-space indentation 2017-03-30 00:06:03 +00:00
dmiller
7e6146d4c5 Convert snmp.lua from bin to string packing 2017-03-29 21:12:42 +00:00
dmiller
877136858f Tag decoder stub for Report-PDU 2017-03-29 20:58:37 +00:00
dmiller
783e0fb05c Replace bit.lua with bitwise ops in asn1.lua 2017-03-29 20:58:36 +00:00
dmiller
b75446db64 Note bitwise operator replacements for most of bit.lua 2017-03-29 20:58:36 +00:00
dmiller
4cef14a873 Switch to string packing instead of bin packing and return order for asn1-related libs 2017-03-29 20:42:01 +00:00
dmiller
3dec043ead Fix NSE hangs when service sends non-matching data to receive_buf 2017-03-29 20:41:59 +00:00
dmiller
85e10c6b2b Use byte values instead of hex strings for ASN.1 types, avoiding upper/lower case mixups 2017-03-29 20:41:57 +00:00
dmiller
49231a2782 Fix decoding of OID sequences caused by Lua 5.3 integer/number handling 2017-03-29 17:10:40 +00:00
nnposter
af5f88dd00 Implements a new member, fragment, of the HTTP response body. It contains
a partially received body (if any) when the overall request fails to complete.
2017-03-29 15:58:39 +00:00
dmiller
0073334d30 Fix snmp.lua after conversion to tohex instead of pack('H') changed hex to lowercase 2017-03-29 14:14:39 +00:00
dmiller
1d3b5142be Fix some NSEdoc using the wrong script names 2017-03-24 22:05:51 +00:00
nnposter
36702702e5 Removes duplicate entries. Patch provided by Rewanth Cool. Closes #782 2017-03-21 14:17:01 +00:00
nnposter
b34eaabb3b Allows the HTTP Set-Cookie parser to handle a trailing semicolon. Fixes #731 2017-03-21 13:46:30 +00:00
dmiller
8b8f56eced Fix a bug in ospf.lua added in the recent changes. Closes #761 2017-03-20 17:26:25 +00:00
nnposter
bbfb5dfed6 Corrects a debug message. Removes confusion about any_af. 2017-03-16 19:36:50 +00:00
dmiller
e973ad72f5 Optionally brute force usernames for VNC 2017-03-15 20:31:24 +00:00
dmiller
d244738246 Support ATEN/Supermicro KVM VNC 2017-03-15 19:39:34 +00:00
dmiller
8854d2e33a Handle cases of no tunnels and no auth types for TightVNC 2017-03-15 16:19:54 +00:00
dmiller
772bd8d824 Correct typos: receive, successfully, length 2017-03-15 02:23:09 +00:00
dmiller
83c9e060fc Fix a typo in vulns.lua 2017-03-15 02:23:07 +00:00
dmiller
f89d7610b0 Replace IP address parsing with functions from ipOps 2017-03-14 18:59:12 +00:00
dmiller
cc644955c4 Use string unpacking instead of manual bit manipulation in bittorrent.lua 2017-03-14 14:36:14 +00:00
dmiller
629e50a900 Replace bin.pack('H') calls with fromhex or equivalent simplifications 2017-03-14 14:36:12 +00:00
dmiller
edfc5e3835 Remove useless bin.pack('A') calls (equivalent to tostring) 2017-03-14 02:51:06 +00:00
dmiller
32b1d1711e Convert ospf.lua from bin.lua to string.pack/unpack 2017-03-14 02:51:05 +00:00
dmiller
84a824c2cf New script broadcast-ospf2-discover. Closes #743 2017-03-14 00:15:22 +00:00
dmiller
2091ce3199 Fix endianness in unpacking IP addresses, since ipOps.fromdword is fixed. Fixes #750 2017-03-13 14:58:57 +00:00
dmiller
090b522c06 new tests for ipOps.fromdword and todword 2017-03-13 14:58:55 +00:00
dmiller
d334620aa0 New stdnse function 'fromhex' does hex decoding like bin.pack('H') 2017-03-10 17:29:51 +00:00
dmiller
001318408c Localize string.(un)pack functions for a little performance boost in ipOps which uses them heavily 2017-03-09 05:13:45 +00:00
dmiller
a2e22523a4 Use string packing instead of bitwise operators in ipOps.lua 2017-03-09 05:13:45 +00:00
dmiller
5fe8df548d Convert json.lua to native bitwise operators 2017-03-09 05:13:44 +00:00
dmiller
bc7026e378 Convert unicode.lua to use native bitwise ops 2017-03-09 04:04:06 +00:00