1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-22 07:29:01 +00:00
Commit Graph

9911 Commits

Author SHA1 Message Date
sophron
b01bbdf733 [NSE] Added http-mobileversion-checker.nse. 2013-08-10 19:32:05 +00:00
sophron
fa64f0bc50 [NSE] Added http-dombased-xss.nse. 2013-08-10 19:30:56 +00:00
sophron
4fcbacc49d Added a fingerprint for Cisco/Linksys WAP55AG accesspoint. 2013-08-09 17:51:07 +00:00
d33tah
384b9a1f8e Fix the syntax error from the previous commit (tried to compile under Linux). 2013-08-09 17:16:48 +00:00
d33tah
ece95926cb Fix the silly mistake that happened when copying code (using wrong variables). 2013-08-09 17:07:12 +00:00
d33tah
c68114f9bc Change the usleep call to match the other one. 2013-08-09 16:59:30 +00:00
d33tah
9f335c6bdb Merge in the fix for fselect Windows bug causing a CPU-intensive loop when we only select on stdin. 2013-08-09 13:02:43 +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
d33tah
b2187f6749 Remove most tabs in nbase. This probably needs some fixes, but the tabs really confused my vim. 2013-08-09 00:16:52 +00:00
david
627dbb2848 svn:ignore libpcre/*.o. 2013-08-08 01:09:43 +00:00
david
c3bb98e014 Regen ncat.1. 2013-08-06 22:24:40 +00:00
david
c822b17772 indexterms for environment variables. 2013-08-06 22:24:37 +00:00
david
acb9538b8e Copyediting of environment variables. 2013-08-06 22:24:33 +00:00
david
375e70c7e4 Don't need this para.
The contents of these variables will *always* be numeric IP addresses.
Nobody expects IPv6 addresses to be expanded.
2013-08-06 22:24:15 +00:00
david
95855e25a5 Formatting of Ncat environment vars. 2013-08-06 22:24:10 +00:00
david
6df37710e3 Move exec env vars so they're not all under --exec. 2013-08-06 22:23:56 +00:00
batrick
0132721232 formatting 2013-08-06 21:41:09 +00:00
henri
23ad881d6b Removed superfluous includes.
Report and patch by Gisle Vanem.
2013-08-06 20:10:57 +00:00
henri
40b11064e4 Use socket_strerror() for error reporting.
Report and patch by Gisle Vanem.
2013-08-06 20:10:49 +00:00
henri
3a8607d65c Restore headers in nsock error.h
These includes seem useless and nsock and nmap happily compile w/o them but the
nsock test suite doesn't. Temporarily restore them to their pre-r36100 state
until I can clean and streamline the inclusion tree.
2013-08-06 19:39:39 +00:00
henri
3b6a09954b Build fix [brown-paper-bag bug]
Space inserted between the 'i' and the 'f' in a 'if'.
Reported and fixed by Robert Snyder.
2013-08-06 17:37:16 +00:00
d33tah
13fe1aa08e Backport the new setenv_portable from ncat-env-ncatins branch. 2013-08-06 17:34:57 +00:00
david
fef7fc0e6d Hide new logdebug messages unless o.debug. 2013-08-06 03:59:00 +00:00
david
2cda8ca150 Make it a non-fatal error when one of two listeners can't be opened.
Unless given a specific listen address, we open two separate listening
sockets, one for IPv4 and one for IPv6. It was previously a fatal error if we
failed to create either socket. Now it is fatal only when all potential
listening addresses fail.

David Millis discovered that the IPv6 listener failed on Windows XP without
IPv6 configured.
Ncat: socket: An address incompatible with the requested protocol was used.  QUITTING.
http://seclists.org/nmap-dev/2013/q3/96
2013-08-06 03:49:35 +00:00
david
bd64bba0e0 Fix an indexing error in Ncat datagram listen mode. 2013-08-06 02:24:16 +00:00
david
573cd469ab Allow do_listen to return an error. 2013-08-06 02:09:15 +00:00
david
4f2f09d502 Make failure to resolve "::" non-fatal.
David Millis noticed this error on Windows XP with IPv6 disabled:
Ncat: Failed to resolve default IPv6 address: No such host is known. . QUITTING.
http://seclists.org/nmap-dev/2013/q3/96
2013-08-06 01:59:39 +00:00
david
61bbe88307 Include "nbase.h" for __attribute__ define on Windows.
I needed this on Visual C++ 2010 on Windows XP.
2013-08-06 01:35:33 +00:00
david
e3595a627d New URL for Visual C++ 2010 now that 2012 is released. 2013-08-06 01:21:45 +00:00
david
de460c242e Fix the test for an unmatched service in skypev2-version.nse.
Marin Maržić noticed that port.service is set even for unmatched
services. We want this script to run especially for ports 80 and 443.
http://seclists.org/nmap-dev/2012/q4/490
2013-08-05 23:52:57 +00:00
david
eb74e27faf TeamSpeak 3 version probe and UDP payload.
Submitted by Marin Maržić.
http://seclists.org/nmap-dev/2012/q4/490
http://seclists.org/nmap-dev/2013/q3/72
2013-08-05 23:52:55 +00:00
david
064430b084 Match specific TeamSpeak 2 versions.
The version number is in the protocol, but not as a string. This will
require a match line for each version but allows us to be more specific.
2013-08-05 23:52:52 +00:00
david
52bb4806f7 CPE for TeamSpeak 2 match lines. 2013-08-05 23:52:50 +00:00
david
fd1cd2a287 More permissive TeamSpeak 2 match lines. 2013-08-05 23:52:48 +00:00
david
27b9dbdb14 Add sequence number to TeamSpeak 2 match lines. 2013-08-05 23:52:45 +00:00
david
9241339b17 Add key to TeamSpeak 2 responses from Marin Maržić.
http://seclists.org/nmap-dev/2013/q3/72
2013-08-05 23:52:43 +00:00
d33tah
3add365154 Fix the order of libraries for test programs in
Ncat's Makefile, as reported by v4hn here:
http://seclists.org/nmap-dev/2013/q3/216
2013-08-05 18:15:30 +00:00
sophron
b6435bd19b Fixed an argument's name. 2013-08-03 16:10:21 +00:00
david
85b6312590 Use fetchfile to look for GeoLiteCity.dat.
Apparently it only worked before when you were running from an Nmap
source directory, where nselib was in the current directory.

Roy Woods reported the problem.
http://seclists.org/nmap-dev/2013/q3/48
2013-08-01 02:01:09 +00:00
david
3e1334b5de Allow the file open error message to propagate upward.
The error message from io.open includes the file name and strerror.
2013-08-01 01:36:01 +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
henri
ec55767734 Removed dead code 2013-07-31 19:11:21 +00:00
henri
694a8fe825 Nsock-pcap cleanup
Make the API follow the general nsock style. Report errors properly using the
nsock logging facilities.
2013-07-31 19:11:16 +00:00
henri
8352b28e55 Rewrapped and rephrased comments. 2013-07-31 19:11:09 +00:00
henri
23a58a1bc8 Minor style fixes. 2013-07-31 19:01:25 +00:00
henri
76a5565519 Spacing. 2013-07-31 19:01:21 +00:00
henri
105ea877b2 Update error message.
Report errors to dev@nmap.org.
2013-07-31 19:01:17 +00:00
henri
5d8fdc74a6 Cleanup conditionally compiled expressions. 2013-07-31 19:01:12 +00:00
henri
098c64a1de Removed occurences of `assert(0);'
Replaced them with `fatal()' so that nsock can compile w/ NDEBUG.
2013-07-31 18:46:57 +00:00