1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-02 03:29:02 +00:00
Commit Graph

1616 Commits

Author SHA1 Message Date
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
dmiller
5f87f3a1ac Update unicode.lua to use string.(un)pack over bin.(un)pack 2017-03-09 04:04:06 +00:00
dmiller
2a902d05e1 Fix parsing output from multiple redis commands returning strings. 2017-03-07 21:24:31 +00:00
dmiller
4a5ff0472a Convert ipOps from bin.lua to string.pack. Improved efficiency and added tests 2017-03-07 21:24:30 +00:00
nnposter
dcac460ad6 Belkin and Arris share this code so the detected device can be either one of them. 2017-03-06 03:44:46 +00:00
nnposter
40e61967e8 Unifies variable naming across fingerprints 2017-03-05 17:42:41 +00:00
nnposter
99fa80851c Preserves targetname for connections requested with option any_af.
Relocates option any_af to comm.lua to make it more broadly available.
2017-03-05 15:41:46 +00:00
dmiller
b61d517a71 Fix lookup order of script args and allow plain 'name.arg' to be specified as 'arg' 2017-03-04 19:54:55 +00:00
nnposter
fe622e182d Adds 8 new http-enum fingerprints for Hadoop infrastructure components.
Originally submitted as NSE scripts by Thomas Debize. (Closes #620)
Refactored as entries for http-fingerprints by Varunram Ganesh. (Closes #715)
2017-03-03 23:41:12 +00:00
dmiller
1cf8396cfd Improve docs on comm.tryssl 2017-03-02 22:32:39 +00:00
nnposter
4bd51e9f3b Adds a fingerprint for APC Management Card. Original version submitted by xelphene. Closes #629 2017-03-02 14:06:01 +00:00
dmiller
69e1423363 Add a check to dhcp.lua to avoid crash and provide debug output 2017-03-01 20:41:20 +00:00
dmiller
f0e26cb709 More output from ike-version 2017-02-26 03:49:09 +00:00