Nmap - the Network Mapper. Github mirror of official SVN repository. https://svn.nmap.org/
Find a file
luis 003e23c4e8 Merge r17853:17879 from /nmap-exp/luis/nping-dedup.
------------------------------------------------------------------------
r17854 | luis | 2010-06-06 15:47:34 +0200 (Sun, 06 Jun 2010) | 1 line

Removed a few things from the documentation that were rerefenced but not yet implemented
------------------------------------------------------------------------
r17855 | luis | 2010-06-06 15:53:45 +0200 (Sun, 06 Jun 2010) | 1 line

Fixed a bug that caused ARP Requests to be sent no matter what the user supplied as the ARP operation code
------------------------------------------------------------------------
r17856 | luis | 2010-06-06 16:23:47 +0200 (Sun, 06 Jun 2010) | 1 line

Fixed a bug that produced a buffer overflow when non-RFC-compliant ICMP types were set. Now, if user supplies a weird ICMP type, a regular 8-byte ICMP header will be sent
------------------------------------------------------------------------
r17858 | luis | 2010-06-06 22:08:13 +0200 (Sun, 06 Jun 2010) | 1 line

Added a function (and a helper) so the number parsing in Nping is consistent. The new function, parse_unsigned_number() may parse 8, 16, or 32 bit unsigned integers, specified in hexadecimal, octal or decimal. Alternatively, source string may be the special value <<rand>> or <<random>>, and the function will generate a random number of the desired length. Function validate_number_spec() is needed due to the limitations of strtoul() that doesn't report errors on things like 1zzzppp, and gives undesired results when a minus sign is supplied. validate_number_spec() performs various checks, trying to detect bogus input. However, if something is not catched by it, strtoul() may take care of it. I've been testing both functions for hours, even with automatically generated input and I haven't been able to find any bug, so I think its safe to start using this.
------------------------------------------------------------------------
r17859 | luis | 2010-06-06 23:43:04 +0200 (Sun, 06 Jun 2010) | 1 line

Added the possibility to supply special value <<rand>> in MAC address specification
------------------------------------------------------------------------
r17860 | luis | 2010-06-07 00:01:30 +0200 (Mon, 07 Jun 2010) | 1 line

Added the possibility to specify the special value <<broadcast>> so the address FF:FF:FF:FF:FF:FF is set. Also, fixed move string length check so the function does not return OP_FAILURE before checking for these special values
------------------------------------------------------------------------
r17866 | luis | 2010-06-07 01:05:31 +0200 (Mon, 07 Jun 2010) | 1 line

Implemented function getRandomTextPayload() to support <<random>> value in payload string specification
------------------------------------------------------------------------
r17867 | luis | 2010-06-07 01:08:29 +0200 (Mon, 07 Jun 2010) | 1 line

Lots of changes in Nping's  command-line argument parser to use the new parse_unsigned_number() function. Now virtually all parameters may be specified in hexadecimal, octal or decimal base, or even using the special value <<random>>
------------------------------------------------------------------------
r17868 | luis | 2010-06-07 01:12:02 +0200 (Mon, 07 Jun 2010) | 1 line

Removed useless var declarations. There is already an aux32 var declared at the start of the function
------------------------------------------------------------------------
r17869 | luis | 2010-06-07 01:24:00 +0200 (Mon, 07 Jun 2010) | 1 line

Fixed a bug that caused the SYN flag to be set even when the user had specified --flags 0x00.
------------------------------------------------------------------------
r17870 | luis | 2010-06-07 01:27:33 +0200 (Mon, 07 Jun 2010) | 1 line

Fixed another bug in flag parsing. When an empty string was being passed, the SYN bit was being set. Now if an empty string is passed, no flags will be set
------------------------------------------------------------------------
r17873 | luis | 2010-06-07 13:12:36 +0200 (Mon, 07 Jun 2010) | 1 line

Fixed a bug that caused -g to be ignored in TCP-Connect or UDP unprivileged modes. Now, providing the user has enough privileges on his system, the specified source port will be set, at least in the first packet send to each target.  I've tested this on Linux and the OS complains when Nping attempts to use the same source port twice for the same target IP address in TCP-Connect mode. For this reason, a new warning was added so the users know that it will probably fail.
------------------------------------------------------------------------
r17875 | luis | 2010-06-07 13:25:04 +0200 (Mon, 07 Jun 2010) | 1 line

Fixed a bug that caused message <<Operation now in progress>> to be displayed in TCP-Connect mode when RST packets were being received. The problem was that errno was being used and by the time it was referenced, its value had changed so the wrong message was being printed. Now, the error code is obtained from nsock trough a call to nse_errorcode() and the correct message is displayed: <<Connection refused>>
------------------------------------------------------------------------
r17876 | luis | 2010-06-07 13:29:04 +0200 (Mon, 07 Jun 2010) | 1 line

Minor fix
------------------------------------------------------------------------
r17877 | luis | 2010-06-07 13:49:52 +0200 (Mon, 07 Jun 2010) | 1 line

Fixed a bug that caused Nping to fail when the first supplied target was not resolvable (eg: nping bogushost.fkz scanme.insecure.com tcpdump.com).
------------------------------------------------------------------------
r17878 | luis | 2010-06-07 14:56:02 +0200 (Mon, 07 Jun 2010) | 1 line

Fixed a bug that causes Nping to fail when scanning an IP address assigned to a local network interface. The problem is complex and difficult to solve due to the way Nping handles targets and determines things like src IP addresses. This patch introduces an ugly hack (an explicit check for a particular situation in route_dst() ). This is not the most elegant solution and it probably only works in Linux, but it should be OK until a better solution is found.
------------------------------------------------------------------------
r17879 | luis | 2010-06-07 18:46:44 +0200 (Mon, 07 Jun 2010) | 1 line

Added a few wrappers for the new parse_unsigned_number() function. This should minimize the risks of calling it with an invalid pointer type. Also, its prototype has been removed from utils.h and it has been declared static. Additionally, the validate_number_spec() function was removed, relying on strtoul() to perform the appropriate validation.
------------------------------------------------------------------------
2010-06-09 17:16:09 +00:00
docs Update the refguide (man page) to note our new (soon-to-be) support for TCP simultaneous-open/split-handshake connections 2010-06-08 00:47:08 +00:00
libdnet-stripped Document r17542 in NMAP_MODIFICATIONS. 2010-05-14 16:53:46 +00:00
liblua Fix all the compiler warnings when building with Visual C++ 2008. 2009-04-29 17:56:30 +00:00
libpcap o [libpcap] Added a --disable-packet-ring option to force the use of 2010-05-26 20:43:09 +00:00
libpcre Merge r17853:17879 from /nmap-exp/luis/nping-dedup. 2010-06-09 17:16:09 +00:00
macosx Use capital letters in package names. The Snow Leopard PackageMaker seems to 2010-03-07 05:36:26 +00:00
mswin32 Update pcap-int.h from http://www.winpcap.org/install/bin/WpcapSrc_4_1_1.zip. 2010-06-07 20:34:33 +00:00
ndiff regenerate the man pages 2010-05-28 07:14:41 +00:00
nselib Added a minor patch contributed by the Nepenthes Development Team. It changes the 'alloc hint' argument to be the expected value, which happens to be the size of the arguments, instead of the static value I was using. No target I've ever seen cares about the value of this argument, but this brings us slightly more in line with the standard 2010-06-09 01:31:28 +00:00
scripts Improved anonymous ftp detection. Now supports ACCT and has improved parsing of server responses. 2010-06-05 12:37:39 +00:00
todo Removed duplicate sentence 2010-06-09 07:22:26 +00:00
acinclude.m4 Add a check to see if the libpcap library needs and has a workaround for the 2010-04-20 23:22:48 +00:00
aclocal.m4 Add --enable-nls and --disable-nls options to configure. These are used 2009-11-05 19:50:33 +00:00
BSDmakefile Merged -r13793:HEAD from nmap-exp/dev/nmap branch now that we're opening up trunk development 2009-06-29 23:48:19 +00:00
CHANGELOG Ports are now considered open during a SYN scan if a SYN packet (without the ACK 2010-06-08 01:50:45 +00:00
charpool.cc Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
charpool.h Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
config.guess Update config.sub and config.guess from 2009-08-19 01:16:21 +00:00
config.sub Update config.sub and config.guess from 2009-08-19 01:16:21 +00:00
configure Add a check to see if the libpcap library needs and has a workaround for the 2010-04-20 23:22:48 +00:00
configure.ac Move the libpcap version number check into acinclude.m4, call it 2010-04-20 22:02:10 +00:00
COPYING Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
COPYING.OpenSSL
depcomp
FingerPrintResults.cc Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
FingerPrintResults.h Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
global_structures.h Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
HACKING Fixed a couple of trivial errors 2010-05-23 17:42:44 +00:00
idle_scan.cc Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
idle_scan.h Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
INSTALL
ltmain.sh Update ltmain.sh to version 2.2.6 for libdnet. 2009-08-07 17:42:12 +00:00
MACLookup.cc Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
MACLookup.h Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
main.cc Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
Makefile.in Merge Jay Fink's patch that puts UDP payloads in an external data file 2010-05-25 17:38:23 +00:00
missing
nmap-header-template.cc Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
nmap-mac-prefixes Update to reflect the latest MAC prefix assignments from IEEE 2010-04-01 23:00:27 +00:00
nmap-os-db Small updates to copyright headers in some files which don't have the headers automatically replaced 2010-05-24 23:52:34 +00:00
nmap-payloads Fix two discrepancies in the nmap-payloads compared to old payload.cc: 2010-05-25 18:35:48 +00:00
nmap-protocols
nmap-rpc
nmap-service-probes Adding match lines for two services: 2010-06-05 15:55:14 +00:00
nmap-services Small updates to copyright headers in some files which don't have the headers automatically replaced 2010-05-24 23:52:34 +00:00
nmap.cc Break apart host groups when a new host has the same address as one already in 2010-06-09 03:12:38 +00:00
nmap.h remove unneeded OS_SCAN_DEFAULT #define (multi-gen support is long gone) 2010-05-06 23:00:09 +00:00
nmap.spec.in Try adding the 0. version number prefix to the nping RPM package. 2010-03-29 20:45:10 +00:00
nmap_amigaos.h Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
nmap_config.h.in Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
nmap_dns.cc Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
nmap_dns.h Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
nmap_error.cc Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
nmap_error.h Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
nmap_rpc.cc Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
nmap_rpc.h Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
nmap_tty.cc Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
nmap_tty.h Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
nmap_winconfig.h Move the WIN32 definition of __func__ from nmap_winconfig.h to nbase_winconfig.h. 2010-05-06 14:15:27 +00:00
NmapOps.cc Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
NmapOps.h Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
NmapOutputTable.cc Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
NmapOutputTable.h Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
nse_binlib.cc Updated uses of the ctype function to support explict casting of the arguments 2009-08-06 15:10:00 +00:00
nse_binlib.h added nse_binlib.h 2008-07-31 14:18:21 +00:00
nse_bit.cc Corrected many #includes for header files (where they are included). 2009-03-10 05:56:10 +00:00
nse_bit.h Corrected many #includes for header files (where they are included). 2009-03-10 05:56:10 +00:00
nse_debug.cc Corrected many #includes for header files (where they are included). 2009-03-10 05:56:10 +00:00
nse_debug.h Corrected many #includes for header files (where they are included). 2009-03-10 05:56:10 +00:00
nse_fs.cc [NSE] Applied change to remove the old nse_macros.h header file. 2009-06-07 01:25:53 +00:00
nse_fs.h [NSE] Applied change to remove the old nse_macros.h header file. 2009-06-07 01:25:53 +00:00
nse_main.cc a couple more __func__ changes 2010-03-19 05:21:06 +00:00
nse_main.h Use a list instead of a vector for ScriptResults; it's 8 bytes instead 2009-12-20 03:29:35 +00:00
nse_main.lua Removed a line which generated a report like "NSE: Script Scanning 2010-05-01 21:35:59 +00:00
nse_nmaplib.cc Merge through r16884 from /nmap-exp/kris/nse-rawip plus the following changelog 2010-02-26 20:42:10 +00:00
nse_nmaplib.h Use defines for library names "nmap" and "stdnse.c" 2010-02-06 00:59:33 +00:00
nse_nsock.cc Removed an old false comment. 2010-04-30 19:56:16 +00:00
nse_nsock.h Make some changes to nse_ssl_cert.cc for Windows compilation. 2009-08-14 04:44:19 +00:00
nse_openssl.cc Fix a problem in the changes to the openssl NSE library made in r17002 2010-03-28 21:18:02 +00:00
nse_openssl.h Corrected many #includes for header files (where they are included). 2009-03-10 05:56:10 +00:00
nse_pcrelib.cc Fix a memory leak in nse_pcrelib.cc. A string was being copied with 2009-07-23 02:59:57 +00:00
nse_pcrelib.h
nse_ssl_cert.cc Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
nse_ssl_cert.h Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
osscan.cc Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
osscan.h Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
osscan2.cc Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
osscan2.h Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
output.cc Print the addresses that were resolved but not scanned in each scan 2010-05-11 05:59:09 +00:00
output.h Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
payload.cc Remove <netinet/in.h> include from payload.cc. It doesn't seem to be required 2010-05-25 18:39:50 +00:00
payload.h Merge Jay Fink's patch that puts UDP payloads in an external data file 2010-05-25 17:38:23 +00:00
portlist.cc Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
portlist.h Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
portreasons.cc Ports are now considered open during a SYN scan if a SYN packet (without the ACK 2010-06-08 01:50:45 +00:00
portreasons.h Ports are now considered open during a SYN scan if a SYN packet (without the ACK 2010-06-08 01:50:45 +00:00
protocols.cc Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
protocols.h Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
README-WIN32
scan_engine.cc Ports are now considered open during a SYN scan if a SYN packet (without the ACK 2010-06-08 01:50:45 +00:00
scan_engine.h Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
service_scan.cc Wrap EPROTO case in an ifdef directive to avoid compiler errors when EPROTO is 2010-05-08 23:35:41 +00:00
service_scan.h Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
services.cc Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
services.h Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
shtool Upgrade shtool to version 2.0.8. This is supposed to fix NLS problems with 2008-08-19 17:49:47 +00:00
Target.cc Make const these methods of Target: 2010-06-07 22:09:37 +00:00
Target.h Make const these methods of Target: 2010-06-07 22:09:37 +00:00
TargetGroup.cc Print the addresses that were resolved but not scanned in each scan 2010-05-11 05:59:09 +00:00
TargetGroup.h Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
targets.cc Break apart host groups when a new host has the same address as one already in 2010-06-09 03:12:38 +00:00
targets.h Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
tcpip.cc Remove some Windows-only function prototypes that are obsolete. There are not 2010-06-07 18:42:17 +00:00
tcpip.h Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
timing.cc Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
timing.h Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
traceroute.cc Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
traceroute.h Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
utils.cc Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
utils.h Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
xml.cc Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
xml.h Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
zenmap.spec.in Cope with not having the pysqlite2 or sqlite3 modules in Zenmap by 2009-06-12 22:34:50 +00:00

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 ).