1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-31 03:49:01 +00:00
Commit Graph

1671 Commits

Author SHA1 Message Date
dmiller
d67464dda2 -sn -v --open will now hide down hosts
http://seclists.org/nmap-dev/2014/q1/158
2014-02-12 18:47:40 +00:00
henri
21b7e3818d [Ncat] Added support for socks5 and corresponding regression tests.
[Marek Lucaszuk, Petr Stodulka]
2014-02-09 14:10:04 +00:00
dmiller
a95788c783 [NSE] New script http-ntlm-info from Justin Cacak
http://seclists.org/nmap-dev/2014/q1/129
2014-02-07 18:24:17 +00:00
dmiller
972d799143 Add TCP support to dns.lua
Slightly modified from patch from John Bond:
http://seclists.org/nmap-dev/2014/q1/118
2014-01-31 15:14:31 +00:00
henri
64fb5b3482 Added safe fd_set operations.
Only FD_SET and FD_CLR were available. Added a FD_ISSET equivalent.
Implemented them as static inline instead of macros for consistency.

These functions abort() if the FD number is higher than FD_SETSIZE
(except on windows where no check is performed).
2014-01-30 19:02:57 +00:00
dmiller
a6b79f9976 Add CHANGELOG entry for tls library 2014-01-16 21:50:26 +00:00
dmiller
a998d97216 Add sstp-discover NSE script from Niklaus Schiess 2014-01-16 19:07:43 +00:00
dmiller
351054de12 Add some CHANGELOG entries for recent changes 2014-01-06 20:19:23 +00:00
fyodor
7b5ec8d43d o Added version detection signatures and probes for a bunch of Android
remote mouse/keyboard servers, including AndroMouse, AirHID,
  Wifi-mouse, and RemoteMouse. [Paul Hemberger]
2013-12-14 22:23:29 +00:00
fyodor
0dafd86d22 Add AllSeeingEye (a protocol for querying status of certain games) script and service probe 2013-12-01 22:09:16 +00:00
fyodor
e6a0762764 o [NSE] Add freelancer-info to gather information about the Freelancer
game server. Also added a related version detection probe and UDP
  protocol payload for detecting the service. [Marin Maržić]
2013-11-20 04:31:31 +00:00
fyodor
65309b5c20 Fixed compilation when --without-liblua is specified 2013-11-10 02:04:17 +00:00
dmiller
3e54536dab Add http-server-header as a last-ditch means to get httpd version
See http://seclists.org/nmap-dev/2013/q3/599 for justification.
2013-11-08 21:19:36 +00:00
dmiller
847354e266 Add CHANGELOG entries for a couple new scripts 2013-11-08 19:12:02 +00:00
dmiller
795ca1b64f Fix assert fail on FreeBSD in libdnet 2013-11-07 19:32:33 +00:00
dmiller
77f1429a56 Fix UDP checksum generation (0 -> 0xffff)
See changelog and http://seclists.org/nmap-dev/2013/q4/122
2013-11-06 02:46:20 +00:00
jah
25be882377 Make a CHANGELOG entry less vague. 2013-11-03 23:31:48 +00:00
jah
b1cd867212 Remove a fixed value (28428) which was being set for the Request ID in
snmpWalk; a value based on nmap.clock_ms will now be set instead.
2013-11-03 23:27:38 +00:00
paulino
6a655cdc10 Adds http-iis-short-name-brute.nse. The script detects Microsoft IIS servers vulnerable to a filename disclosure and denial of service vulnerability. 2013-10-31 04:06:00 +00:00
david
3c25938d89 CHANGELOG for IPv6 idle scan. 2013-10-27 06:33:58 +00:00
patrik
e97a5b9d5a Add http-dlink-backdoor script that detects DLink routers with firmware
backdoor allowing admin access over HTTP interface.
2013-10-17 23:41:12 +00:00
fyodor
9a4d5de988 Update --proxies docs 2013-08-17 20:09:03 +00:00
fyodor
f6fb3a7773 Update CHANGELOG for Nmap 6.40. I didn't realize just how many great improvements were in this release until I had to write them all down :) 2013-08-17 05:46:26 +00:00
david
f372e17877 CHANGELOG for ICMP ID matching. 2013-08-17 02:18:13 +00:00
david
3728ece727 New revision of telnet-brute by nnposter.
http://seclists.org/nmap-dev/2013/q3/249

- Multi-threaded (thanks to nselib/brute.lua)

- Can automatically reduce number of threads if it senses that the
  target supports less than what brute.lua wants to use. Without this
  feature the script tends to bail out because brute.lua default of 10
  threads is too much for a lot of telnet targets. This saves the user
  the trouble of finding out how much the target can take before
  launching the script.

- Uses connection pooling for sending multiple login attempts across
  the same connection. This significantly improves performance.

- Supports password-only logins.

Other changes:

- Fixed support for Windows telnet service.
  Added support for Netgear RM356.

- Improved accuracy of target state detection.

Tested on:

- Cisco IOS
- Linux telnetd
- Windows telnet service
- Digital Sprite 2
- Nortel Contivity
- Netgear RM356
- Hummingbird telnetd
2013-08-15 07:11:08 +00:00
david
1154495aa3 Add a "key" element to the result of ssh1.fetch_host_key.
ssh-hostkey.nse wanted this element to be present, but it was missing
from SSH1 keys. This caused a crash that was reported by Dan Farmer and
Florian Pelgrim.
http://seclists.org/nmap-dev/2013/q3/151
http://seclists.org/nmap-dev/2013/q3/155
2013-08-11 05:36:48 +00:00
henri
853aaff586 Manage expiration times via a heap queue.
This prevents nsock from iterating over the whole list of events at
each runloop, thus improving performance.

It made it necessary to have pointers from the msevents to the event
lists they belong to. The patch therefore also changes gh_list from
autonomous containers to embedded structures.

Added unit tests accordingly and cosmetic changes to make things look
more consistent.
2013-08-10 23:59:30 +00:00
fyodor
71033d2812 o [NSE] Update dns-cache-snoop script to use a new list of top 50
domains rather than a 2010 list. [Nicolle Neulist]
2013-08-09 04:02:41 +00:00
david
4773f745d8 Add qconn-exec script by Brendan Coles.
http://seclists.org/nmap-dev/2013/q3/153
2013-08-09 03:23:40 +00:00
david
4035012050 Remove the "" entry from search_keywords.
Having this entry made it appear as if there was a search criterion
named for the empty string; i.e., a string like ":foobar" would be
parsed as an operator "" with an argument "foobar". There was no match
function defined for the empty string, which led to this crash:

Version: 6.25
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/zenmapGUI/ScanInterface.py", line 247, in filter_hosts
    self.inventory.apply_filter(filter_string)
  File "/usr/lib/python2.7/dist-packages/zenmapCore/NetworkInventory.py", line 502, in apply_filter
    if not self._match_all_args(host, operator, args):
  File "/usr/lib/python2.7/dist-packages/zenmapCore/NetworkInventory.py", line 452, in _match_all_args
    if positive != self.__getattribute__("match_%s" % operator)(host, arg):
AttributeError: 'FilteredNetworkInventory' object has no attribute 'match_'

I did some quick tests and plain keyword searching (with no colon) seems
to still work. I'm not sure why the "" entry was ever present.

Reported by Kris Paernell.
http://seclists.org/nmap-dev/2013/q3/38
2013-07-31 21:12:51 +00:00
fyodor
d6a013dc51 Note that the 6.40 changelog is still incomplete. I hope to finish it today before leaving for Las Vegas tomorrow. 2013-07-29 09:10:34 +00:00
fyodor
f79a11aeeb o [NSE] Oops, there was a vulnerability in one of our 437 NSE scripts.
If you ran the (fortunately non-default) http-domino-enum-passwords
  script with the (fortunately also non-default)
  domino-enum-passwords.idpath parameter against a malicious server,
  it could cause an arbitrarily named file to to be written to the
  client system.  Thanks to Trustwave researcher Piotr Duszynski for
  discovering and reporting the problem.  We've fixed that script, and
  also updated several other scripts to use a new
  stdnse.filename_escape function for extra safety.  This breaks our
  record of never having a vulnerability in the 16 years that Nmap has
  existed, but that's still a fairly good run. [David, Fyodor]
2013-07-29 06:19:24 +00:00
d33tah
5ff69d478f Mention adding the environment variables in nmap's CHANGELOG. 2013-07-24 18:07:58 +00:00
david
f845bf38c4 CHANGELOG for Nping ICMP ID matching. 2013-07-17 04:48:05 +00:00
paulino
8f543adb62 Added http-adobe-coldfusion-apsa1301.nse 2013-07-15 18:10:12 +00:00
david
76264da093 Consider fec0::/10 private.
This is the site-local prefix deprecated by RFC 3879. Suggested by Marek
Majkowski, who noticed that the prefix was included in Tor's
tor_addr_is_internal_ function.
2013-07-03 06:09:35 +00:00
d33tah
6a9548e147 add the CHANGELOG entry for --lua-exec. 2013-07-02 17:03:31 +00:00
david
4af2a3c24e Add teamspeak2-version script by Marin Maržić.
http://seclists.org/nmap-dev/2013/q2/413.
2013-07-01 09:07:13 +00:00
david
b415564df9 Sort routes first by netmask, then by metric.
Metric is used to break ties between routes with the same size netmask.
2013-06-30 17:38:15 +00:00
david
1d7e8b338c CHANGELOG for -i in listen mode.
http://seclists.org/nmap-dev/2013/q2/403
2013-06-30 06:08:47 +00:00
david
af8c57a1b8 Don't use htons to unconditionally swap bytes.
htons is a no-op on big-endian architectures. This affected idle scan IP
ID computations.

http://seclists.org/nmap-dev/2013/q2/529
2013-06-30 02:22:13 +00:00
david
9e82bb6c4e Support chained certificate files with --ssl-cert.
Use the recommended SSL_CTX_use_certificate_chain_file over
SSL_CTX_use_certificate_file.
https://www.openssl.org/docs/ssl/SSL_CTX_use_certificate.html#NOTES

Patch by Greg Bailey.
http://seclists.org/nmap-dev/2013/q2/399
2013-06-29 22:33:56 +00:00
henri
4f36ba9798 Stop parsing TCP options after reaching EOL in libnetutil. Bug reported
by Gustavo Moreira.
2013-06-17 18:19:24 +00:00
david
8a01ce5a57 Allow "/" netmask syntax in dns-ip6-arpa-scan.nse.
Based on a patch like Indula Nayanamith.
http://seclists.org/nmap-dev/2013/q2/218
2013-06-13 03:53:40 +00:00
david
b30aba076a Set the default --max-conns to 60 on Windows.
Suggested by Andrey Olkhin.
http://seclists.org/nmap-dev/2013/q1/390
2013-06-02 09:03:44 +00:00
david
02cb2931aa Fix rt_msghdr padding on NetBSD.
NetBSD uses a fixed 64-bit padding, unlike OS X (32-bit), and unlike
other platforms (sizeof(unsigned long)). There is an RT_ROUNDUP macro
that does the right alignment; use that when available.

http://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/lib/libc/net/getifaddrs.c
http://fxr.watson.org/fxr/source/net/route.h?v=NETBSD#L270

Rounding to 4 bytes was breaking with IPv6 addresses, which are 28
bytes. The pointer was being advanced by 28 instead of 32. Compare to
r29739, somewhat similar.

Reported by Fredrik Pettai.
http://seclists.org/nmap-dev/2013/q1/384
2013-06-01 16:28:44 +00:00
david
8be62726e5 Add http-phpmyadmin-dir-traversal by Alexey Meshcheryakov.
http://seclists.org/nmap-dev/2013/q1/372
2013-05-31 19:59:30 +00:00
david
5757bfb11b Add a service probe for Erlang distribution nodes from Michael Schierl.
http://seclists.org/nmap-dev/2013/q1/360
2013-05-31 19:59:27 +00:00
henri
4a261dd5f2 Updated libdnet to not SIOCIFNETMASK before SIOCIFADDR on OpenBSD. This was
reported to break on -current as of May 2013. [Giovanni Bechis]
2013-05-17 21:38:08 +00:00
david
5ab1b23bf0 Fix address matching in -PY ping.
Patch by Marin Maržić.
http://seclists.org/nmap-dev/2013/q2/297
2013-05-17 07:56:51 +00:00