1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-20 14:39:02 +00:00
Commit Graph

10291 Commits

Author SHA1 Message Date
dmiller
be6414dfea Fix a memory leak when an address fails to resolve 2015-06-30 13:08:30 +00:00
dmiller
5e47450bdc Use forward-declaration of class FingerPrintResults in Target.h 2015-06-30 04:04:51 +00:00
dmiller
80f8eb6bce Use forward-declaration of class Target instead of including Target.h in *.h 2015-06-30 04:04:48 +00:00
dmiller
0d2f16a8f4 Fix length when parsing tcpwrappedms (nnposter) Fixes #178 2015-06-29 11:52:29 +00:00
david
2e43cb2326 Let imap-capabilities.nse run for imaps (port 993) as well.
$ ./nmap -Pn --script imap-capabilities imap.gmail.com -p imaps
PORT    STATE SERVICE
993/tcp open  imaps
|_imap-capabilities: all she XYZZY QUOTA X-GM-EXT-1 ID XLIST CHILDREN UNSELECT m1mb423345642pdn wrote SASL-IR IMAP4rev1 Thats NAMESPACE OK AUTH=PLAIN-CLIENTTOKEN AUTH=XOAUTH2 AUTH=PLAIN IDLE AUTH=XOAUTHA0001
2015-06-28 15:50:54 +00:00
henri
ea495ddecd Cosmetic fixes
Removed unneeded NULL-checks before free()
Flattened code structures
2015-06-27 08:21:56 +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
henri
ab161bbb0b Remove nsock_pool unique identifiers.
This isn't used anywhere and I cannot think of any use case.
The NSP is supposed to be unique and global as it controls the
event loop.
2015-06-27 08:21:05 +00:00
dmiller
4ad794dc99 Sync CHANGELOG with released version 2015-06-25 19:43:05 +00:00
dmiller
f846e7c818 Allow make nse_check to pass when configured --without-openssl 2015-06-25 14:00:53 +00:00
dmiller
4aeabca374 Address some pep8 issues with zenmap_wrapper.py 2015-06-23 22:00:05 +00:00
dmiller
8941682afb Remove DYLD_LIBRARY_PATH from zenmap_wrapper.py. Fixes #164 2015-06-23 22:00:04 +00:00
dmiller
2e74e48a2b Work around long handshake intolerance in ssl-enum-ciphers
https://github.com/ssllabs/research/wiki/Long-Handshake-Intolerance
2015-06-23 21:20:23 +00:00
gyani
0609a9c20f Fixed @xmloutput. 2015-06-23 21:15:27 +00:00
gyani
e738915a12 Added a few scripts i comitted to CHANGELOG. Updated http-put to add
xmloutput and relax resposne status checks. Closes #150.
2015-06-23 21:15:19 +00:00
dmiller
638a123ba6 Move osscan structs from global_structures to osscan2.h 2015-06-23 15:53:05 +00:00
dmiller
2e602435f5 Move osscan-related structs to osscan.h from global_structures.h 2015-06-23 15:53:02 +00:00
dmiller
764cb886ae Remove or relocate some old structs from global_structures.h 2015-06-23 15:53:00 +00:00
dmiller
76f9861272 Remove another nmap.h include 2015-06-23 15:52:58 +00:00
dmiller
66aeba6650 Move includes of stdarg.h closer to their use. 2015-06-23 15:52:57 +00:00
dmiller
84d0e45641 Remove some unneeded includes of utils.h 2015-06-23 15:52:55 +00:00
dmiller
618cd6cfb2 Move some structs from global_structures.h to timing.h 2015-06-23 15:52:52 +00:00
dmiller
df5d9a7489 Fix a write overrun in the -g option to Ncat
Due to the use of do{}while; the bounds were checked *after* writing to
the array of source routes. Reproduce:
ncat $(perl -E 'say "-g 1.1.1.1 "x100') scanme.nmap.org 80
2015-06-23 03:59:41 +00:00
dmiller
eda09854ac Avoid use-after-free. 2015-06-23 03:59:39 +00:00
dmiller
dc6fcb4be1 Fix build breakage on Windows due to missing nbase.h include 2015-06-23 00:09:07 +00:00
dmiller
dfa969f3a2 Remove unneeded nmap.h and global_structures.h includes in .h files 2015-06-23 00:09:05 +00:00
dmiller
cfe8893304 Move math.h includes into .cc files 2015-06-23 00:09:01 +00:00
dmiller
6a38678b56 re-sync TLS ciphersuite names that changed in r34683 2015-06-23 00:08:58 +00:00
dmiller
8e0a9e5d53 Remove unneeded includes of stdio.h in header files 2015-06-22 14:12:36 +00:00
dmiller
2570c860f9 Remove some unused includes of iostream 2015-06-22 14:01:16 +00:00
fyodor
5ea7373a25 Fix compilation on systems for which HAVE_SOCKADDR_SA_LEN is not defined. I don't think this issue affects any released version as it seems to have been introduced on r34671. Reported by Schuh Andreas 2015-06-20 21:56:01 +00:00
gyani
3ef7d71863 Merge branch 'fingerprints' 2015-06-20 17:27:22 +00:00
gyani
39f75dddeb The script has the http-methods update as discussed in the Script
Ideas page. Basically this tests all the options not listed under
the public or allow headers of the OPTIONS response.
2015-06-20 08:13:09 +00:00
gyani
eba83f60af The utf8_enc function had a missing referrence to the unicode library.
Fixed that.
2015-06-20 06:40:13 +00:00
fyodor
c697f458e0 Use our https URL in more places instead of the non-SSL one 2015-06-20 02:56:02 +00:00
dmiller
12126af108 Rearrange nmap-service-probes to detect HTTPS when server responds to plaintext request 2015-06-20 02:35:43 +00:00
dmiller
ba38345c32 Mark some TLS ciphersuites as draft 2015-06-19 21:36:53 +00:00
dmiller
9c99b80d73 New RTSP urls for Logitech WiLife cameras [Dustin Miller] 2015-06-19 21:36:52 +00:00
dmiller
a881712e6b Add valid TLS1.2 probe and move checks to rule in ssl-enum-ciphers (#168) 2015-06-19 12:02:31 +00:00
dmiller
06e6062dba Prevent ssl-enum-ciphers from running on detected-non-ssl services 2015-06-18 23:32:35 +00:00
dmiller
d93945ea5c Let ssl-enum-ciphers run on any port when selected by name (#168) 2015-06-18 21:27:39 +00:00
dmiller
d43967bf99 Fix calculation of namelen param to bind in Ncat. Fixes #166 2015-06-18 04:33:58 +00:00
dmiller
ce9eb6b0f3 Fix DH parameter extraction in tls.lua (Jacob Gajek) 2015-06-17 21:17:43 +00:00
dmiller
965d06072d Update nmap-protocols from IANA (just new names, no new numbers) 2015-06-17 14:24:48 +00:00
dmiller
9fab2630fa Resolve architecture incompatibilities with Zenmap on OS X. Fixes #161 2015-06-16 13:37:48 +00:00
dmiller
ef4ebc98a3 Update smb-os-discovery to support CPE for Windows 8, 8.1, and 10 2015-06-15 12:17:21 +00:00
dmiller
21560db1cf Strip escapes from quoted script-args before returning them 2015-06-15 03:32:59 +00:00