dmiller
d639a53088
Bump copyright date in license headers
2019-05-28 21:36:04 +00:00
nnposter
aac899be8f
Fixes a platform-dependent integer size mismatch. Fixes #966
2019-01-21 01:21:08 +00:00
nnposter
973b471c11
Corrects a few issues related to snprintf return values
2018-08-26 02:29:14 +00:00
dmiller
d8ff55b72e
Start timeout clocks closer to first probe, not in batches. Closes #1150
2018-08-13 19:24:06 +00:00
dmiller
c3113037b0
Avoid NULL ptr deref crash if pcre_study returns NULL. Fixes #1302
2018-08-10 17:12:19 +00:00
nnposter
684803ce30
Fixes a comment to match opening ifdef
2018-08-08 17:33:01 +00:00
dmiller
6d8bb6df22
Set limits on PCRE matches to avoid issues like #1147
2018-08-08 16:36:21 +00:00
dmiller
b94ceaa05b
Fix error message, copy/paste mistake. See #1183
2018-04-14 02:11:00 +00:00
dmiller
09d8bf81be
Send any matching probes after a softmatch; do not filter by rarity
2018-02-12 04:36:43 +00:00
dmiller
5ea4a27650
Make --version-all send all version probes
2018-02-06 04:33:57 +00:00
dmiller
06c38c79dd
Fix softmatches: enable skipping port-matching probes, too.
2018-02-04 21:31:41 +00:00
fyodor
ff62300249
Bump copyright dates to 2018 and slightly improve wording (doesn't change meaning) of Nmap license header text
2018-01-28 21:18:17 +00:00
tomsellers
a67240b58c
version.bind cleanup, cross protocol version probe fallbacks Closes #977
...
Full description in GitHub PR#977
o [GH#977] Improved DNS service version detection coverage and consitentcy
by using data from a Project Sonar Internet wide survey. Numerouse false
positives were removed and reliable softmatches added. Match lines for
version.bind responses were also conslidated using the technique below.
[Tom Sellers]
o [GH#977] Changed version probe fallbacks so as to work cross protocol
(TCP/UDP). This enables consolidating match lines for services where the
responses on TCP and UDP are similar. [Tom Sellers]
2017-09-13 11:03:40 +00:00
dmiller
1323cad17b
New helper function to unpack integers in nmap-service-probes
2017-08-01 22:09:22 +00:00
dmiller
9c7ea727a7
Update license terms for 2017
2017-06-07 12:32:38 +00:00
dmiller
ab5e247cee
Include netutil.h for IPPROTO_SCTP constant where necessary. Fixes #868
2017-04-26 18:55:16 +00:00
dmiller
e813de759a
Reduce use of utils.h for error functions
2017-04-20 22:39:08 +00:00
dmiller
24f6cec25a
Move scan lists structs and functions to scan_lists files.
2017-04-19 04:14:43 +00:00
fyodor
4bd67aa2fb
Update the Nmap license/header text to reflect latest updates to docs/legal-notices.xml
2016-12-14 00:12:23 +00:00
dmiller
9370f5bd5d
Strip carriage returns (\r) from output to prevent spoofing
2016-09-21 03:55:12 +00:00
dmiller
b012b84a8e
Avoid undefined behavior from calling front() on possibly empty std::list
2016-06-17 16:11:33 +00:00
dmiller
6e33d6ac3c
Bump date in copyright headers
2016-04-04 15:38:44 +00:00
dmiller
0577e3bb1e
Avoid crashing when Nsock connect calls the callback immediately due to parameter errors
2016-03-04 23:04:01 +00:00
dmiller
8529188f6a
Handle ENETRESET/WSAENETRESET on WIN32
...
When this case was added in r29097, the #ifndef was mistaken for #ifdef.
The error, which was only discovered on Windows, was therefore not
handled only on Windows systems. This commit makes the check
unconditional. http://seclists.org/nmap-dev/2015/q4/217
2015-12-13 21:39:48 +00:00
dmiller
ea4096c681
Strip or relocate more includes from nmap.h
2015-07-01 21:25:39 +00:00
dmiller
0d2f16a8f4
Fix length when parsing tcpwrappedms (nnposter) Fixes #178
2015-06-29 11:52:29 +00:00
henri
b55ff2d68f
Don't associate nsock logging info to a nspool.
...
Make current loglevel and current log callback global
to the library. Attaching them to the nsock pool doesn't
bring any benefit and prevents from logging activity in
code sections that don't have access to a pool (such as
proxy chain specification parsing).
Updated external calls and nsock tests accordingly.
2015-06-27 08:21:53 +00:00
henri
b75233ce98
Consistently renamed nsi_XXX calls into nsock_iod_XXX
...
This is part of the effort to make nsock expose only
nsock_ prefixed symbols and simplify the API.
2015-06-27 08:21:33 +00:00
henri
fd40b8df08
Simplify Nsock SSL init API
...
Replaced nsock_pool_ssl_init_max_speed() by a NSOCK_SSL_MAX_SPEED
flag to be passed to nsock_pool_ssl_init(). Default (flag=0) means
secure.
2015-06-27 08:21:22 +00:00
henri
0348359f60
Enforce nsock naming scheme.
...
convert nsp_* calls into nsock_pool_*. Separate words with underscores
where appropriate.
2015-06-27 08:21:16 +00:00
dmiller
68409b2226
Update copyright date to 2015
2015-06-03 13:01:29 +00:00
dmiller
90a9f8b255
Adjust how timeouts are handled with labeling services tcpwrapped. Fixes #39
2015-06-01 03:08:43 +00:00
dmiller
311c2c3065
Fix a crash due to ICMP type 3 code 2 received during service scan
2015-04-01 19:52:52 +00:00
dmiller
111fbe4b41
Modify some offensive terminology in comments.
2014-11-05 15:02:09 +00:00
dmiller
5adfb3b1de
Update copyright notice to 2014
2014-08-16 01:52:33 +00:00
jay
8d5ec9e310
Reapply r33420, r33421. Fix a missing right parenthesis. https://xkcd.com/859/
2014-08-15 12:09:22 +00:00
fyodor
f6f59a7cd7
Auto regeneration with latest template files, etc.
2014-08-13 22:57:43 +00:00
jay
d4cf544df6
Fix a missing bracket at the end of the IMPORTANT NMAP LICENSE TERMS part in each file
2014-08-02 19:29:50 +00:00
d33tah
a80c90608c
sed -i 's/if ( /if (/g' *.cc *.h; sed -i 's/for ( /for (/g' *.cc *.h; sed -i 's/( /(/g' nmap_amigaos.h tcpip.h service_scan.cc
...
There's still quite a lot of code like this, nse_openssl.cc being most
messy IMHO. Also, I left out "if( something )" syntax.
2014-06-25 15:40:54 +00:00
d33tah
421176fc00
Get rid of double newline at the EOF I accidentally introduced in the
...
last commit.
2014-06-18 11:30:02 +00:00
david
f146bdc562
Add ENETUNREACH to the list of known error codes in service_scan.
...
Nathan Stocks reported the crash:
Unexpected error in NSE_TYPE_READ callback. Error code: 101 (Network is unreachable)
It was traced to a middlebox sending admin-prohibited messages, which
were surfacing in the socket API as ENETUNREACH.
Compare to r17488, which added EPROTO.
2014-05-05 23:29:39 +00:00
dmiller
3f0d0c16f9
Spellcheck on Nmap, Nsock, Nbase source files
2014-02-20 18:44:12 +00:00
dmiller
c9714990c7
Remove trailing whitespace from C/C++ files
...
https://secwiki.org/w/Nmap/Code_Standards
2014-02-12 20:25:51 +00:00
d33tah
4816358475
Replace all tab characters at the beginnings of lines with 8 spaces.
...
Mixed indentation annoyed my vim.
2014-01-05 19:14:26 +00:00
d33tah
ccd0c02a4c
Add a lacking space in the license comment. The command I used to do this is:
...
for file in `grep "* including the terms and conditions of this license text as well. \*" * -r --files-with-match `; do sed "s/\* including the terms and conditions of this license text as well. \*/* including the terms and conditions of this license text as well. */g" -i $file; done
2013-09-11 19:06:20 +00:00
fyodor
6e01ecd452
Update an email address, fix a typo, and slightly reword a sentence.
2013-07-30 00:02:00 +00:00
fyodor
83fb10ec56
Update the Nmap copyright/license files. This isn't the new Nmap Public Source License we've been discussing on the list, but rather just a 'quick patch' to hopefully prevent some of the abuse we've been seeing from companies lately. More details on the changes will be posted to the dev list. Also, the copyright year was updated to 2013 (which is the only change to Nsock license statements).
2013-07-28 22:05:05 +00:00
henri
99258673ad
Added handling of the new NSE_STATUS_PROXYERROR case.
2013-04-22 19:32:36 +00:00
henri
34e825f26e
Use the new API that nsock provides for proxychain parsing/handling.
2013-04-22 19:29:50 +00:00
henri
a6bcd9cb7e
Added proxy support to service_scan.
2013-04-22 19:29:08 +00:00