1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-13 19:29:04 +00:00
Commit Graph

7705 Commits

Author SHA1 Message Date
david
1155196df5 Allow -PO (protocol/NH ping) for IPv6.
Works for me.
2012-10-06 20:48:32 +00:00
david
26dbb3bed8 Allow -PY (SCTP INIT ping) with IPv6.
Seems to send the right packets, and the code is there to do it, but I
can't find SCTP-enabled IPv6 servers to test against.
2012-10-06 20:48:31 +00:00
david
49a57d8dde Typo. 2012-10-06 20:48:29 +00:00
david
c4d08dc391 Correcly append to CXXFLAGS with --with-localdirs.
Patch by arrowdodger. http://seclists.org/nmap-dev/2012/q4/34.
2012-10-06 20:23:05 +00:00
david
7accc5ef39 More CPE. 2012-10-06 20:23:03 +00:00
patrik
6cfa5aea0f o [NSE] Added oracle-brute-stealth which exploits CVE-2012-3137, a weakness
in the Oracle O5LOGIN authentication scheme. [Dhiru Kholia]
2012-10-06 19:59:45 +00:00
patrik
655f766445 reverted bad commits 2012-10-06 19:38:15 +00:00
patrik
10a34f626a Squashed commit of the following:
commit 5de9e4fa623f88a9b48ef0704244ff843005573a
Author: Patrik Karlsson <patrik@cqure.net>
Date:   Sat Oct 6 21:19:08 2012 +0200

    Applied patch from Dhiru Kholia adding oracle-brute-stealth and needed changes

    reworked the patch slightly and added;
    - support for specifying account on command line
    - johnfile argument for writing hashes directly to file
2012-10-06 19:25:13 +00:00
patrik
2e5a448aa5 Revert "Squashed commit of the following:"
This reverts commit 71f5f22e79bdb44fffa14edd5d3ffa570efde8ed.
2012-10-06 19:25:04 +00:00
david
85c1ce9ce5 Dell CPE. 2012-10-05 19:04:56 +00:00
david
63e25f11c2 More CPE. 2012-10-04 05:30:50 +00:00
david
c9abb6c9c5 Standardize on "VoIP adapter" over "VoIP gateway." 2012-10-04 03:23:26 +00:00
david
9b2c378373 Automatic VoIP device CPE. 2012-10-04 03:23:24 +00:00
david
5b63d0225e CPE for some Cisco/Linksys Voip devices. 2012-10-04 03:23:23 +00:00
david
a7ba1f6588 Capitalization. 2012-10-04 03:23:21 +00:00
david
ac606d846f Fallback check for an AF_UNSPEC interface in route_dst_netlink.
When an interface doesn't have an address set, getInterfaceByName can
fail because it checks the address family. The fatal error message would
be something like
	route_dst_netlink: can't find interface "tap0"
If we can't find an interface with a specific address family, fall back
with an AF_UNSPEC search.

http://seclists.org/nmap-dev/2012/q4/12
2012-10-03 21:06:43 +00:00
david
674fefc943 CHANGELOG for SO_BINDTODEVICE. 2012-10-03 15:43:27 +00:00
david
53cb923ffd Call socket_bindtodevice in FTP bounce scan. 2012-10-03 15:43:26 +00:00
david
c5faae4b26 Call socket_bindtodevice for -sT scan. 2012-10-03 15:43:24 +00:00
david
84f4697c50 Call socket_bindtodevice in nmap_raw_socket. 2012-10-03 15:43:23 +00:00
david
6ec453e4e8 Add socket_bindtodevice function to Nbase.
The Linux-specific SO_BINDTODEVICE sockopt causes packets to be sent on
a specific interface, in cases where merely setting the source address
does not uniquely determine the interface.
2012-10-03 15:43:22 +00:00
david
a53e00afa1 Factor out an nmap_raw_socket function.
This does the common setup of a raw socket that we use everywhere.
2012-10-03 15:43:21 +00:00
david
19d1115ef1 Allow win32_fatal_raw_sockets to take a NULL devname. 2012-10-03 15:43:19 +00:00
david
422b43be22 Call nsp_setdevice after nsp_new in our Nsock pools.
The exceptions are the calls in ncat/ncat_connect.c and
nping/EchoServer.cc. Ncat doesn't have an option for the interface, and
I think Nping's -e option is only meant to apply to probes, not to the
echo server listener.
2012-10-03 15:43:18 +00:00
david
3e9f862ce3 Add nsock_setdevice function.
This function allows setting the device that will be used in
SO_BINDTODEVICE setsockopt calls for all new sockets.
2012-10-03 15:43:16 +00:00
david
b0c3b7b1f4 Shorter Windows build guide, now that dependencies are external. 2012-10-03 05:18:31 +00:00
david
85e27805d6 Move libsvn and libapr installation to /nmap-mswin32-aux/libsvn-upgrade.txt. 2012-10-03 05:18:28 +00:00
david
91e019210d Add C:\Python27 to PATH of python-wrap.bat. 2012-10-03 05:18:25 +00:00
david
b8e44155da Python is now in nmap-mswin32-aux. 2012-10-03 05:18:23 +00:00
david
0f255f8d10 Upgraded OpenSSL to 1.0.1c (in /nmap-mswin32-aux). 2012-10-02 01:36:51 +00:00
david
2b66e9ebbe Add /nmap-mswin32-aux to CHANGELOG. 2012-10-02 00:53:52 +00:00
david
cfeec34979 Remove vcredist files, moved to /nmap-mswin32-aux. 2012-10-02 00:53:49 +00:00
david
af45d2a647 Build nmap-update by default. 2012-10-02 00:53:46 +00:00
david
d040559d38 Refer to libsvn in /nmap-mswin32-aux. 2012-10-02 00:53:43 +00:00
david
998b048612 Mention nmap-mswin32-aux in nmap-install.xml. 2012-10-02 00:53:41 +00:00
david
2f2e826487 Remove OpenSSL directory, moved to /nmap-mswin32-aux. 2012-10-02 00:53:12 +00:00
fyodor
bb7b928164 Some updates from discussion w/David 2012-10-01 22:20:43 +00:00
david
52a4ae6e71 Fix wrong script id in oracle-enum-users error message.
By Dhiru Kholia.
http://seclists.org/nmap-dev/2012/q4/1
2012-10-01 21:54:47 +00:00
david
b1e5009870 Typo. 2012-10-01 21:22:20 +00:00
david
a8c51eeda0 Remove vestiges of WinIP library.
This was an old library removed in r2811 and r2812, of which a few
traces remained.

I don't know the purpose of this in nbase_misc.c:
  if(sd != 501) // Hack related to WinIP Raw Socket support
    ioctlsocket (sd, FIONBIO, &one);
2012-10-01 19:54:17 +00:00
david
d7479cfa94 Make nmap AdditionalIncludeDirectories the same for Debug and Release. 2012-10-01 19:54:14 +00:00
david
11b76a55e2 Route tables rework to libdnet-stripped/NMAP_MODIFICATIONS. 2012-09-30 00:01:20 +00:00
david
561fd00a3e CHANGELOG for route tables rework. 2012-09-30 00:01:18 +00:00
david
049208898b Set intf_name in route-bsd.c, the parts used by OS X.
There are some other #ifdefs that are used on other platforms, in which
code intf_name might nto be set but will continue to be an empty string
as before.
2012-09-30 00:01:17 +00:00
david
0ed5d26bc3 Set intf_name in route-win32.c. 2012-09-30 00:01:16 +00:00
david
22d49bd5c9 Match against both destination and gateway in sysroutes_dnet_find_interfaces.
This commit fixes two different bugs:

(1) First in some situations Nmap will only see routes that are attached
to the device that handles the default route.

(2) On boxes without a default route, Nmap will not see any route.

These two bugs are caused by sysroutes_dnet_find_interfaces() logic
which will use only the geteway to match interface addresses.

To fix this, first check the current route and see if the gateway was set
otherwise use the destination address to match the address of an
interface.
2012-09-30 00:01:14 +00:00
david
6c8b5c7dd9 Assign sys_route interfaces immediately when iface names come from libdnet. 2012-09-30 00:01:13 +00:00
david
98aa8fbe80 Set intf_name in route-linux.c. 2012-09-30 00:01:12 +00:00
david
5bbe36af7a Add intf_name to the route_entry struct.
This is set to an empty string in all functions yielding routes,
particularly route_loop. The code to get the interface pertaining to a
route is different on different platforms, so must be added one by one.
The code setting the intf_name to an empty string is only tested on
Linux.
2012-09-30 00:01:10 +00:00
david
bfea61a51e Put the sscanf count check right after the call to sscanf. 2012-09-27 03:10:28 +00:00