Nmap - the Network Mapper. Github mirror of official SVN repository. https://svn.nmap.org/
Find a file
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
docs Move copyright year from 2011 to 2012 (I suppose I should have done this in January rather than September, but better late than never 2012-09-18 09:04:54 +00:00
libdnet-stripped Set intf_name in route-linux.c. 2012-09-30 00:01:12 +00:00
liblinear Changed the active(release) compile setting from MT to MD to bring it in line with all of the other Nmap projects to fix the ' 2012-06-21 05:06:34 +00:00
liblua Fixed the LNK4006 warning from http://seclists.org/nmap-dev/2006/q3/22 2012-06-21 04:33:09 +00:00
libnetutil Match against both destination and gateway in sysroutes_dnet_find_interfaces. 2012-09-30 00:01:14 +00:00
libpcap Rearrange libpcap patch files for AIX compatibility. 2012-04-13 15:50:15 +00:00
libpcre
macosx Our Zenmap packages don't run on PowerPC Macs anymore (since 5.61TEST4). 2012-05-22 20:13:15 +00:00
mswin32 Removed nmap_rpc imports from windows vc++ build file. 2012-08-17 18:47:23 +00:00
nbase Regen with Autoconf 2.68 and aclocal 1.11.6. 2012-09-19 16:41:35 +00:00
ncat Regen with Autoconf 2.68 and aclocal 1.11.6. 2012-09-19 16:41:35 +00:00
ndiff Get rid of ndiff.py symlink. 2012-08-02 18:35:36 +00:00
nmap-update Move -Wno-deprecated-declarations from Makefile.in to configure.ac. 2012-09-19 15:33:56 +00:00
nping Store port numbers in host byte order in number-to-service mapping. 2012-09-25 05:24:16 +00:00
nselib Typo. 2012-09-23 21:15:20 +00:00
nsock Use nse_errorcode() to get the actual errors. 2012-09-21 09:08:24 +00:00
scripts Added 404 detection checks to attempt to reduce false positives. 2012-09-25 12:07:59 +00:00
todo Latest todo updates 2012-09-24 22:56:32 +00:00
zenmap Make all host filters case-insensitive 2012-09-13 20:24:19 +00:00
acinclude.m4 Don't use exit in PCAP_IS_SUITABLE. 2012-09-08 19:44:24 +00:00
aclocal.m4 Regen with Autoconf 2.68 and aclocal 1.11.6. 2012-09-19 16:41:35 +00:00
BSDmakefile
CHANGELOG Fixed a bug that prevented Nmap from finding any interfaces when one 2012-09-26 09:24:00 +00:00
charpool.cc
charpool.h
config.guess
config.sub
configure Regen with Autoconf 2.68 and aclocal 1.11.6. 2012-09-19 16:41:35 +00:00
configure.ac Lua 5.2 upgrade [1] for NSE. 2012-05-27 08:53:32 +00:00
COPYING
depcomp
FingerPrintResults.cc
FingerPrintResults.h
FPEngine.cc Don't allow matching probes that haven't been sent. 2012-03-22 01:30:47 +00:00
FPEngine.h Fixed the compile time warning of warning: deleting object of polymorphic class type ‘FPHost6’ which has non-virtual destructor might cause undefined behaviour by making the destructor virtual. 2012-07-21 00:56:13 +00:00
FPModel.cc
global_structures.h First commit from rpc-grind branch. 2012-08-17 18:30:11 +00:00
HACKING Updated information and procedures from the project's HACKING file. 2012-07-09 22:53:46 +00:00
idle_scan.cc Show gai_strerror in some error messages. 2012-09-15 17:56:14 +00:00
idle_scan.h Style in idle_scan.{cc,h}. 2012-08-28 07:50:09 +00:00
INSTALL
ltmain.sh
MACLookup.cc
MACLookup.h
main.cc Moved the setuid check from main.cc to nmap.cc after option parsing so that I can use error() and have it write to output file with --log-errors, etc. I did receive a complaint that the setuid warning isn't converted to script kiddie mode when -oS is enabled. If we decide that we want script kiddify error messages, we'll have to add that support to error() 2012-06-02 18:08:39 +00:00
Makefile.in Add a lua-format Makefile target to format scripts/*.nse. 2012-09-13 00:17:42 +00:00
missing
nmap-header-template.cc
nmap-mac-prefixes Update to the latest MAC prefixes from IEEE as of right now 2012-03-09 00:45:55 +00:00
nmap-os-db just auto-sorting 2012-09-18 09:02:29 +00:00
nmap-payloads
nmap-protocols
nmap-rpc Added missing service name for Inter-Language Unification in nmap-rpc. 2012-07-24 12:32:31 +00:00
nmap-service-probes Fix broken service matches 2012-09-20 19:21:34 +00:00
nmap-services rebuilt nmap-services to include memcachedb on 21201/tcp 2012-06-26 23:59:19 +00:00
nmap.cc Store port numbers in host byte order in number-to-service mapping. 2012-09-25 05:24:16 +00:00
nmap.h Added an extra level of indirection to let the compiler properly expand the macro. 2012-09-03 13:39:43 +00:00
nmap.spec.in
nmap_amigaos.h
nmap_config.h.in Define SOLARIS_BPF_PCAP_CAPTURE for Solaris 11. 2012-04-07 08:07:41 +00:00
nmap_dns.cc Show gai_strerror in some error messages. 2012-09-15 17:56:14 +00:00
nmap_dns.h
nmap_error.cc Remove some redundant code now that --log-errors is gone. 2012-06-30 01:51:30 +00:00
nmap_error.h
nmap_tty.cc
nmap_tty.h
nmap_winconfig.h
NmapOps.cc Make magic_port_set a bool. 2012-08-28 13:07:19 +00:00
NmapOps.h Use an unsigned int for --max-retries and related values. 2012-08-28 14:29:11 +00:00
NmapOutputTable.cc
NmapOutputTable.h
nse_binlib.cc Lua 5.2 upgrade [1] for NSE. 2012-05-27 08:53:32 +00:00
nse_binlib.h
nse_bit.cc Lua 5.2 upgrade [1] for NSE. 2012-05-27 08:53:32 +00:00
nse_bit.h
nse_debug.cc Lua 5.2 upgrade [1] for NSE. 2012-05-27 08:53:32 +00:00
nse_debug.h
nse_dnet.cc Let dnet:ip_send take a destination address. 2012-09-15 17:56:19 +00:00
nse_dnet.h Lua 5.2 upgrade [1] for NSE. 2012-05-27 08:53:32 +00:00
nse_fs.cc Applied a patch provided by jah that solves a problem with includes on windows. 2012-07-21 13:08:34 +00:00
nse_fs.h Add parts of LuaFileSystem to NSE (support for mkdir, rmdir, link). 2012-07-17 18:07:28 +00:00
nse_main.cc Handle NSE-returned strings with null characters 2012-08-17 20:14:44 +00:00
nse_main.h Handle NSE-returned strings with null characters 2012-08-17 20:14:44 +00:00
nse_main.lua Better response to misuse of stdnse.base|new_thread when not executing an 2012-09-23 21:31:02 +00:00
nse_nmaplib.cc Index nmap.list_intefaces return value from 1, not 0. 2012-09-01 03:19:00 +00:00
nse_nmaplib.h Remove references to obsolete stdnse.c library. 2012-08-08 19:21:44 +00:00
nse_nsock.cc Close an NSE socket before making a second attempt to connect. 2012-09-21 21:13:28 +00:00
nse_nsock.h Lua 5.2 upgrade [1] for NSE. 2012-05-27 08:53:32 +00:00
nse_openssl.cc RC4 cipher for work Ron is doing. 2012-07-19 02:47:01 +00:00
nse_openssl.h
nse_pcrelib.cc Don't strdup (and fail to free) pattern passed to pcre_compile. 2012-06-05 21:09:01 +00:00
nse_pcrelib.h
nse_ssl_cert.cc Lua 5.2 upgrade [1] for NSE. 2012-05-27 08:53:32 +00:00
nse_ssl_cert.h
nse_utility.cc Add an nseU_opttarget function. 2012-09-15 17:56:17 +00:00
nse_utility.h Add an nseU_opttarget function. 2012-09-15 17:56:17 +00:00
osscan.cc
osscan.h
osscan2.cc Remove some dead commented code. 2012-08-28 07:50:30 +00:00
osscan2.h Get rid of "using namespace std". 2012-03-19 16:48:27 +00:00
output.cc Fix broken protocol lookup. 2012-09-25 05:08:09 +00:00
output.h Structured script output. 2012-08-14 16:36:25 +00:00
payload.cc
payload.h
portlist.cc Store port numbers in host byte order in number-to-service mapping. 2012-09-25 05:24:16 +00:00
portlist.h Second commit from rpc-grind branch. Removing old implementation from output and portlist. 2012-08-17 18:31:50 +00:00
portreasons.cc Use less memory for ip_addr in port_reason. 2012-06-26 03:23:14 +00:00
portreasons.h Use less memory for ip_addr in port_reason. 2012-06-26 03:23:14 +00:00
protocols.cc Fix broken protocol lookup. 2012-09-25 05:08:09 +00:00
protocols.h
README-WIN32
scan_engine.cc Use smartly chosen destination ports instead of o.magic_port in -sO. 2012-09-02 22:47:45 +00:00
scan_engine.h Removing pos_scan from scan engine as it is not used anymore. 2012-08-17 18:33:07 +00:00
service_scan.cc Fixed typo. 2012-09-25 12:22:09 +00:00
service_scan.h
services.cc Store port numbers in host byte order in number-to-service mapping. 2012-09-25 05:24:16 +00:00
services.h
shtool
struct_ip.h More attempted header rearrangement for AIX compatibility. 2012-03-19 16:26:39 +00:00
Target.cc Structured script output. 2012-08-14 16:36:25 +00:00
Target.h
TargetGroup.cc Make it a warning (not a fatal error) when there's a problem with an IPv4 spec. 2012-04-27 06:27:01 +00:00
TargetGroup.h
targets.cc Do ARP/ND scan with -PR --disable-arp-ping. 2012-07-16 18:26:39 +00:00
targets.h
tcpip.cc Let setTargetNextHopMAC call getNextHopMAC instead of duplicating code. 2012-09-15 14:57:35 +00:00
tcpip.h
timing.cc Don't set max parallelism when only --min-paralellism is given. 2012-04-07 08:07:38 +00:00
timing.h
traceroute.cc Use an unsigned int for --max-retries and related values. 2012-08-28 14:29:11 +00:00
traceroute.h
utils.cc
utils.h
xml.cc Typo. 2012-05-05 18:02:34 +00:00
xml.h Close an open start tag before a fatal error. 2012-03-09 00:16:39 +00:00
zenmap.spec.in

Here is some documentation for Nmap, but these files are much less
comprehensive than what you'll find at the actual Nmap documentation
site ( http://nmap.org ).