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

7705 Commits

Author SHA1 Message Date
david
cdfa6e711d Last 130 OS submissions. 2012-10-15 07:09:56 +00:00
patrik
855a82fbc3 refactoring and code cleanup 2012-10-14 19:15:39 +00:00
david
b7f94a7783 100 OS submissions. 2012-10-14 09:04:00 +00:00
david
bf8f8da2e1 200 OS submissions. 2012-10-14 08:43:50 +00:00
david
83bc6c0398 300 OS submissions. 2012-10-14 04:26:58 +00:00
david
8906e3330f 300 OS submissions. 2012-10-14 02:04:05 +00:00
david
719f026891 sv-tidy. 2012-10-14 00:31:14 +00:00
david
4d0c36b88c Add some missing CPE versions where v// was present. 2012-10-13 23:45:06 +00:00
david
3e8cd823ab More nmap-service-probes CPE from Dillon Graham.
http://seclists.org/nmap-dev/2012/q4/92
2012-10-13 23:45:03 +00:00
david
27ed26ecbd 200 OS submissions. 2012-10-13 23:21:45 +00:00
david
effe2aa84b Reduce some new TTL ranges to account for the T measurement bug in
5.61TEST3 through 6.01.

http://seclists.org/nmap-dev/2012/q4/104
2012-10-13 23:21:42 +00:00
david
2985509924 Remove declarations for nonexistent methods.
FingerTest.getattrbyname and FingerPrint.gettestbyname were removed in
r27713.
2012-10-13 20:37:23 +00:00
david
22270f6868 Decrease the value of the OS scan T test value by 1.
I changed the hop distance calculation in r26791 to include the end
host, so that a directly connected target would be a distance 1, not 0,
and so on. But I didn't adjust the calculation of the T test value to
compensate. I noticed this in a lot of OS submissions that were directly
connected having an estimated initial TTL of T=41, i.e., 65 rather than
64.

http://seclists.org/nmap-dev/2011/q3/796
2012-10-13 20:37:21 +00:00
david
1a97b5dd52 300 OS submissions. 2012-10-13 08:23:12 +00:00
henri
b3361b56d0 Added HTTP status code 400 (Bad request) to the list of ignored codes in
http-method-tamper.nse, which is the behavior of many servers (makes sense as
this is rather a client-side error).
2012-10-12 12:25:45 +00:00
kroosec
3858d67874 Added check for excluded ports for rpc-grind.nse 2012-10-11 19:49:44 +00:00
david
c6efeea621 300 OS submissions. 2012-10-11 19:42:58 +00:00
david
e8b5fb974f Fix typos in the jp translation.
Patch by OKANO Takayoshi.
http://seclists.org/nmap-dev/2012/q4/87
2012-10-11 16:10:41 +00:00
robert
165d010202 Updated the Nmap.nsi file to check the new Visual C++ redistributable versions. Simplified the check for Visual C++ 2010 and improved the check for x64 systems (now additionally checks the Wow6432Node to prevent an error message even when the software was installed correctly). Also bumped the version number of the NSIS file to match the rest of Nmap. 2012-10-11 10:53:58 +00:00
david
04bf0327d7 300 OS submissions. 2012-10-11 08:49:41 +00:00
david
cd90838c2e Change CPE from cpe:/o:linux:kernel to cpe:/o:linux:linux_kernel.
This reflects a deprecation in the official CPE dictionary, which seems
to have happened on 2012-03-08.

  <cpe-item deprecation_date="2012-03-08T20:00:15.120Z" deprecated_by="cpe:/o:linux:linux_kernel:2.6.0" deprecated="true" name="cpe:/o:linux:kernel:2.6.0">
    <title xml:lang="en-US">Linux Kernel 2.6.0</title>
    <meta:item-metadata modification-date="2012-03-08T20:00:15.120Z" status="DRAFT" deprecated-by-nvd-id="35565" nvd-id="91585" />
  </cpe-item>
2012-10-11 06:46:28 +00:00
david
53b4fdcf0a Move HopIdent above hop_cache, which uses it.
This caused an error message when compiled with Clang 3.1:

traceroute.cc:173:41: note: in instantiation of exception specification for 'map' requested here
static std::map<struct HopIdent, Hop *> hop_cache;
                                        ^
traceroute.cc:173:24: note: forward declaration of 'HopIdent'
static std::map<struct HopIdent, Hop *> hop_cache;
                       ^

Found by arrowdodger. http://seclists.org/nmap-dev/2012/q4/58.
2012-10-11 05:42:37 +00:00
david
03d4b03d2c Get rid of "using namespace std".
Importing the whole std namespace caused a problem with Clang and the
punning of bind and std::bind.

http://seclists.org/nmap-dev/2012/q4/58

The Web's opinion of "using namespace std" also seems to be more against
than for.
2012-10-11 04:45:50 +00:00
david
c47c5c52a1 Use Nbase MIN.
Plain min was using something from the C++ std namespace.
2012-10-11 04:45:48 +00:00
david
3029747902 Actually use the interface address when get_srcaddr fails.
There was an embarrasing bug here added in r28874. In the second of
three calls to get_srcaddr, the interface was being indexed by an index
variable that, in this place, was actually an index into the routes
table. This would in general produce a nonsensical source address or
out-of-bounds access.

The symptom of this problem was the following error messages:
	get_srcaddr: can't connect socket: The requested address is not valid in its context.
	Failed to convert source address to presentation format!?!  Error: Unknown error
The first showed that get_srcaddr failed, and the second was caused by
the bogus source address.

http://seclists.org/nmap-dev/2012/q3/859
http://seclists.org/nmap-dev/2012/q4/59
2012-10-11 03:11:53 +00:00
patrik
89dab3fe14 code re-factoring and cleanup 2012-10-10 22:19:49 +00:00
henri
e2fb7301de Avoid sending error message to stdout 2012-10-10 18:59:13 +00:00
david
8e0ed1e83e nmap-service-probes CPE for nginx, activesync, antivirus.
http://seclists.org/nmap-dev/2012/q4/57
2012-10-10 17:00:07 +00:00
batrick
164fbe284b o Added a "Worker" class which helps encapsulate behavior better.
o Moved some specific behavior for resuming a thread to Thread:resume().
o Cleaned up the inheritance mechanism to use a static metatable (the Class
  table itself).
o Worker main functions are no longer wrapped with a function to truncate to 0
  results. Instead, we just check if a thread is a worker in Thread:set_output()
  to prevent adding output by worker threads.
2012-10-09 07:16:01 +00:00
david
dc65e9fae2 200 more OS submissions. 2012-10-09 02:16:58 +00:00
fyodor
61acc03ba0 Note some finished tasks 2012-10-09 00:18:39 +00:00
david
2067e9a6df cpeify-os. 2012-10-08 23:41:28 +00:00
david
b7ab7db086 200 more OS submissions. 2012-10-08 23:41:27 +00:00
david
cb3cf35b41 200 more OS submissions. 2012-10-08 21:42:53 +00:00
david
aa3e4c00bf 100 OS submissions. 2012-10-08 20:35:59 +00:00
david
22dc30d786 Fix a compile error left from r29932 refactoring.
Reported by Jaebum Shin.
http://seclists.org/nmap-dev/2012/q4/47
2012-10-07 15:16:18 +00:00
patrik
121cc35de6 nse_check_globals cleanup 2012-10-07 12:54:31 +00:00
patrik
40b1c4705b check_globals cleanup 2012-10-07 12:39:21 +00:00
patrik
2e985da611 fixed bug "ORA-03146: Invalid buffer length for TTC field" 2012-10-07 09:10:59 +00:00
patrik
81b6bae5eb Squashed commit of the following:
commit e5cb0a18d5474730310f1797016e1106c33ca059
Author: Patrik Karlsson <patrik@cqure.net>
Date:   Sun Oct 7 10:47:35 2012 +0200

    compatibility fixes to spnego authentication in smb and smbauth libraries

    the spnego authentication blob now decodes properly in wireshark
    fixes in spnego authentication for both Window 2003 and Windows 7
2012-10-07 08:54:34 +00:00
david
13345f736d CHANGELOG for new IPv6 traceroute probes. 2012-10-06 21:26:35 +00:00
david
21af053639 Enable IP Protocol (Next Header) traceroute for IPv6. 2012-10-06 21:26:34 +00:00
david
cf33599c2f Support IPv6 SCTP traceroute. 2012-10-06 21:26:33 +00:00
david
7830eb4db6 Support IPv6 UDP traceroute. 2012-10-06 21:26:31 +00:00
david
cf0b55788f Enable IPv6 traceroute only for TCP and ICMPv6.
The other protocols that are implemented for IPv4 are not implemented
for IPv6, leading to an assertion failure.

nmap: traceroute.cc:749: virtual unsigned char* UDPProbe::build_packet(const sockaddr_storage*, u32*) const: Assertion `source->ss_family == 2' failed.

This was noticed by Pierre Emeriaud.
http://seclists.org/nmap-dev/2012/q4/36
2012-10-06 21:26:30 +00:00
david
bc0c6d17b4 Constify data arguments in packet building and sending functions. 2012-10-06 21:26:29 +00:00
david
07f9b440f4 Whitespace. 2012-10-06 21:26:28 +00:00
david
8ab0096609 Remove dead asserts.
I believe the purpose of these asserts was to quiet a compiler warning
in r24309, but the rest of that revision (marking fatal as a
non-returning function) should do the job.
2012-10-06 21:26:26 +00:00
henri
1f31f2e991 Typos 2012-10-06 21:24:50 +00:00
henri
ff60e9f9e0 Typos 2012-10-06 21:19:22 +00:00