1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-04 05:39:01 +00:00
Commit Graph

12022 Commits

Author SHA1 Message Date
dmiller
162aa15d25 Delete unreferenced file. 2019-12-20 19:37:40 +00:00
dmiller
6a971163ac Fix calls to super from old-style classes. 2019-12-20 19:36:48 +00:00
nnposter
ccdb816552 Avoid traversing dot and dot-dot directories 2019-12-19 20:16:23 +00:00
nnposter
6998bfca49 Refactors function smb.find_files()
- Replaces its coroutine design to avoid sharing sockets across threads
    (Fixes #1837)
  - Corrects conversion of file attributes into bitmask
  - Removes side effect of modifying parameter "options" by populating
    member "srch_attrs"
  - Implements options.maxfiles to take advantage of script arg ls.maxfiles,
    reducing file requests that would be ultimately ignored anyway
  - Improves performace by supporting larger SMB block sizes
  - Implements rudimentary support for Trans2_Data by smb.send_transaction2()
  - Adds standard definitions for SMB file attributes
2019-12-19 20:13:16 +00:00
dmiller
1d8ed90a5c Change from mktemp to mkstemp. Related #1834 2019-12-19 05:27:48 +00:00
dmiller
d0c61b9cbb Avoid DeprecationWarning due to accessing BaseException.message 2019-12-19 05:25:21 +00:00
dmiller
260fa12cce Fix up some unused test code to silence LGTM. See #1834 2019-12-16 05:55:46 +00:00
dmiller
fa0353badd Fix 'Missing call to __init__ during object initialization' from LGTM. See #1834 2019-12-16 05:55:45 +00:00
nnposter
be3d719dd7 Correct a constant value typo 2019-12-15 20:45:54 +00:00
dmiller
4a1c9424d3 Replace localtime calls with thread-safe alternative. See #1834 2019-12-15 05:05:57 +00:00
dmiller
6995af0743 Note the fix to #1723 in changelog 2019-12-15 05:05:56 +00:00
david
5cc813f394 Fix an off-by-one error in stun.lua.
https://seclists.org/nmap-dev/2019/q4/8
2019-12-13 23:12:45 +00:00
dmiller
a5a945347b Use keeppattern=true when using match.numbytes. Fixes #1855 2019-12-13 18:11:52 +00:00
dmiller
ff61845ce2 Avoid encoding errors in exception handler. See #1839 2019-12-10 20:51:56 +00:00
david
112fc96c50 Add UDP payload for STUN. 2019-12-06 23:16:43 +00:00
dmiller
33f421fd6e Avoid assertion failure when unsolicited ARP response received
We probably want a more explicit handling of the case where we get an
ARP response to a request that we did not send (system's own, or another
Nmap scan running at the same time). In any case, this ought to solve
the crashes reported as #1797 and #1764.
2019-12-03 17:04:13 +00:00
nnposter
e7e7e9e8c7 Fingerprint for Tomcat Host Manager. Closes #1755 2019-12-03 02:28:41 +00:00
dmiller
04a3effbed Note that --iflist quits immediately without performing any scanning. Fixes #1835 2019-11-22 17:54:09 +00:00
dmiller
72fba4be5d Use std::vector::clear() instead of empty() to clear a list 2019-11-22 17:51:54 +00:00
dmiller
f6ab7a898a Clear up a name that conflicts with global 'ports' struct 2019-11-22 17:51:53 +00:00
dmiller
ed66ed03ec Use unique header guards 2019-11-19 17:53:42 +00:00
dmiller
1a510d0940 Document Nmap modifications to libpcap 1.9.1. 2019-11-19 17:53:41 +00:00
dmiller
7789fc8446 Apply patch 1 to avoid rebuilding scanner and grammar files 2019-11-19 17:53:40 +00:00
dmiller
2d256eda3d Generate libpcap files, remove extra content, apply patch 2 2019-11-19 17:53:39 +00:00
dmiller
f1107301e8 Update to libpcap 1.9.1 (initial commit, no Nmap-specific patches) 2019-11-19 17:53:36 +00:00
dmiller
42bb2feed8 Add 4433 (openssl s_server) to likely SSL ports 2019-11-18 18:31:39 +00:00
nnposter
6785355374 Add a comment about suspect code 2019-11-17 03:23:53 +00:00
nnposter
67fe6bb0fb MongoDB wire protocol is using signed int32. Fixes #1802
Unlike the old bin library, Lua string.pack does not support silent conversions:
Negative integers cannot be "I" packed and 0xFFFFFFFF cannot be packed with "i4"
2019-11-17 03:05:30 +00:00
dmiller
45994bf3e4 Note an important fixed bug in Nmap 7.80 changelog 2019-11-15 22:11:42 +00:00
dmiller
bb346e24c0 Reorder AC_CHECK_FUNCS and AC_SEARCH_LIBS for future safety. 2019-11-14 17:34:20 +00:00
dmiller
6844a8134c Call AC_SEARCH_LIBS before AC_CHECK_FUNCS 2019-11-14 16:37:00 +00:00
nnposter
71034a0b09 String value in "elements" contains null bytes so "z" packing cannot be used. See #1802 2019-11-13 23:59:55 +00:00
nnposter
90f177843b Marginally cleaner variant of commit r37751 2019-11-13 23:39:02 +00:00
dmiller
f566d59595 Clean up output and clarify warnings. See #1818 2019-11-11 14:54:53 +00:00
dmiller
6c18bfe10f Guard some symbols for ancient (pre-2004) versions of zlib 2019-11-11 14:41:36 +00:00
dmiller
9ea82c000c Avoid trying to find flex/bison when configuring libpcap (we pre-generate those files) 2019-11-11 14:41:35 +00:00
nnposter
29b147e4b6 Corrects a typo. Closes #1816 2019-11-08 20:35:14 +00:00
nnposter
08a6d8db4b Fix for two RTSP request assembly defects introduced in r37474:
* Adds missing header-terminating empty line to the request string
* Rectifies a code crash when the header table is empty
Fixes #1781, closes #1796
2019-11-06 22:15:32 +00:00
fyodor
97ea08b8c2 fix typo noted by Patrick Higgins 2019-11-01 17:46:17 +00:00
dmiller
3a744a85c2 Check o.debugging *after* parsing options, otherwise it's always false. 2019-10-30 23:34:34 +00:00
dmiller
ec30dbab3f Actually use custom libssh2 lib/header path if given 2019-10-07 04:04:25 +00:00
dmiller
edb130e908 Replace some print calls with proper debug functions. See #1774 2019-10-07 03:13:09 +00:00
dmiller
1ae88d2620 Upgrade libssh2 to 1.9.0 2019-09-25 04:42:40 +00:00
dmiller
41b05333c6 Remove problematic fingerprint at request of licensee. 2019-09-23 15:04:05 +00:00
dmiller
128c136d44 A couple code warnings in dicom.lua 2019-09-20 04:40:21 +00:00
dmiller
3c24eda4be Consolidate some error handling, standardize geoip coordinates, fix output bugs. Fixes #1744 2019-09-20 04:40:20 +00:00
dmiller
634fc19089 Update translated docs to mention number, not time, for parallelism and hostgroup. Fixes #1745 2019-09-19 18:37:19 +00:00
dmiller
14f035a2e7 Replace deprecated CPE for IIS. Fixes #1749 2019-09-19 18:01:33 +00:00
dmiller
881c38cefb Fix a bug in broadcast-ping: concat instead of comma 2019-09-19 17:31:58 +00:00
dmiller
e38e834ffc port_or_service takes 2 args, not a table. Fixes #1748 2019-09-19 17:31:57 +00:00