dmiller
ffad433b43
Reduce more inclusions of .h files by forward-declaring classes
2015-07-02 04:14:51 +00:00
dmiller
84d0e45641
Remove some unneeded includes of utils.h
2015-06-23 15:52:55 +00:00
dmiller
68409b2226
Update copyright date to 2015
2015-06-03 13:01:29 +00:00
dmiller
6b26490496
Simplify error statement regarding IPv6-incompatible features (note OS detection is now supported!)
2015-04-09 15:55:45 +00:00
dmiller
f9474cd0fd
Fix a typo (minimum vs maximum)
2014-10-29 05:31:07 +00:00
dmiller
5adfb3b1de
Update copyright notice to 2014
2014-08-16 01:52:33 +00:00
jay
05772dd1e5
Change default output mode to show TTL info with --reason directly (no need of --reason -v). Also, remove TTL column and move TTL info to REASON column. See http://seclists.org/nmap-dev/2014/q3/289 for discussion on this
2014-08-15 14:07:25 +00:00
jay
8d5ec9e310
Reapply r33420, r33421. Fix a missing right parenthesis. https://xkcd.com/859/
2014-08-15 12:09:22 +00:00
fyodor
f6f59a7cd7
Auto regeneration with latest template files, etc.
2014-08-13 22:57:43 +00:00
jay
d4cf544df6
Fix a missing bracket at the end of the IMPORTANT NMAP LICENSE TERMS part in each file
2014-08-02 19:29:50 +00:00
jay
d70f5b364a
Show TTL in default output if "--reason -v" is asked for.
2014-07-22 01:55:04 +00:00
jay
3b59b0ae16
Added --exclude-ports option to Nmap
2014-07-04 05:47:11 +00:00
d33tah
421176fc00
Get rid of double newline at the EOF I accidentally introduced in the
...
last commit.
2014-06-18 11:30:02 +00:00
d33tah
e3d1c178e3
Add newlines at the EOF in conformance to Daniel's coding standards
...
proposal. This only affects Nmap's root directory. We might also need to
modify the code which autogenerates Nmap's source code files such as IPv6
fingerprinting code.
2014-06-18 10:18:58 +00:00
dmiller
3f0d0c16f9
Spellcheck on Nmap, Nsock, Nbase source files
2014-02-20 18:44:12 +00:00
dmiller
c9714990c7
Remove trailing whitespace from C/C++ files
...
https://secwiki.org/w/Nmap/Code_Standards
2014-02-12 20:25:51 +00:00
d33tah
4816358475
Replace all tab characters at the beginnings of lines with 8 spaces.
...
Mixed indentation annoyed my vim.
2014-01-05 19:14:26 +00:00
dmiller
866db7eea3
Revert r32528, was not tested on Windows
2013-11-27 13:32:05 +00:00
dmiller
9c36367eea
header file cleanup
...
see http://seclists.org/nmap-dev/2013/q4/168
Move some includes out of nmap.h: nmap.h gets included lots of places,
and unconditionally included math.h, ctype.h, errno.h, stdio.h,
sys/stat.h, fcntl.h, sys/types.h, and stdarg.h. This commit moves those
includes into the .cc files where they are necessary and out of nmap.h
Remove redundant include global_structures.h, included from nmap.h
Removed redundant code included from nmap.h
Removing #include nbase.h when nmap.h is included (redundant)
Remove duplicate #include lines
Add ifndef guards to a few .h files
2013-11-26 20:55:29 +00:00
david
36bea16af7
IPv6 idle scan patch by Mathias Morbitzer.
...
http://seclists.org/nmap-dev/2013/q3/549
2013-10-27 06:33:49 +00:00
d33tah
ccd0c02a4c
Add a lacking space in the license comment. The command I used to do this is:
...
for file in `grep "* including the terms and conditions of this license text as well. \*" * -r --files-with-match `; do sed "s/\* including the terms and conditions of this license text as well. \*/* including the terms and conditions of this license text as well. */g" -i $file; done
2013-09-11 19:06:20 +00:00
fyodor
6e01ecd452
Update an email address, fix a typo, and slightly reword a sentence.
2013-07-30 00:02:00 +00:00
fyodor
83fb10ec56
Update the Nmap copyright/license files. This isn't the new Nmap Public Source License we've been discussing on the list, but rather just a 'quick patch' to hopefully prevent some of the abuse we've been seeing from companies lately. More details on the changes will be posted to the dev list. Also, the copyright year was updated to 2013 (which is the only change to Nsock license statements).
2013-07-28 22:05:05 +00:00
henri
34e825f26e
Use the new API that nsock provides for proxychain parsing/handling.
2013-04-22 19:29:50 +00:00
henri
c631af1c09
Added a --proxies <chain> option to nmap to let users specify proxies to use
...
from command line.
<chain> is expected (by nsock) to be a comma-separated list of proxies.
e.g.:
http://relay1.local:8080,http://relay2.local:3128
This option has currently no effect.
2013-04-22 19:29:01 +00:00
david
f86b575aa1
Remove -q (quash argv to "pine" option).
2013-01-04 18:59:11 +00:00
fyodor
6a42ef47c0
Update the Nmap and Nsock source code headers to note new Nmap dev mailing list email address and a better URL for Nmap license.
2012-12-06 01:21:42 +00:00
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
4357a97403
Make magic_port_set a bool.
2012-08-28 13:07:19 +00:00
david
31bbb65c07
Add implicitARPPing option to NmapOps.
2012-07-16 18:11:20 +00:00
sean
0909f12308
Removed the log-errors option from the code, by treating it as if it was always true. This was done for the action item of o Remove Nmap's --log-errors feature and make its behavior the default. I also updated the docs/refguide.xml to reflect this change. I have not yet compiled the Dockbook.xml however.
2012-06-30 00:36:15 +00:00
david
42f71759c2
Use one, not two, spaces after "WARNING:".
...
There were more cases of one space than two.
2012-06-20 20:13:51 +00:00
david
1599aa6fe8
Make osclass XML elements children of the osmatch element they belong to.
...
Add the --deprecated-xml-osclass to restore the old output.
2012-05-05 18:02:33 +00:00
david
fd9260276c
Don't set max parallelism when only --min-paralellism is given.
...
Setting --min-parallelism without also setting --max-parallelism would
force the max parallelism to the same value. So, for example,
--min-parallelism=1 would also limit the max parallelism to 1. This
patch, based on one by Chris Woodbury, allows the max parallelism to
rise above this minimum, up to the maximum defined by each scan phase.
2012-04-07 08:07:38 +00:00
fyodor
684f42c4ad
One more adjustment to the license text. Notes that Zenmap, Ncat, and Nping use this license. Note that contributions made directly in the src repository are treated the same as those in the mailing list.
2012-03-01 06:53:35 +00:00
fyodor
e96a7b7b24
Update the headers for each code file. This updates code copyright dates to 2012, notes the awesome NSE in the list of technology, and slightly rewords the derivative works clarification
2012-03-01 06:32:23 +00:00
david
6b2c828da9
Enable IPv6 OS results by default.
2011-09-30 05:58:45 +00:00
david
9bf2ec3884
Merge from /nmap-exp/luis/nmap-os6.
...
svn merge --ignore-ancestry svn://svn.insecure.org/nmap@26621 svn://svn.insecure.org/nmap-exp/luis/nmap-os6
This is the IPv6 OS detection branch. "nmap -6 -O" works now, though at
this point it only prints fingerprints and not OS guesses, because we
need to collect more submissions.
2011-09-19 18:31:46 +00:00
shinnok
c2822fc17a
Merging branch /nmap-exp/shinnok/nmap-options-parsing into trunk.
...
Nmap delays parsing for options that require knowledge of other options that
the user might have supplied in order to make informed decisions. This is
achieved by using a temporary storage place in which options that can't be
correctly parsed and interpreted without having full knowledge of all other
user supplied command line arguments like -S and -6.
2011-07-29 23:50:28 +00:00
david
a67eca0555
Allow sending -6 -sO probes.
2011-06-14 19:46:48 +00:00
david
4aa4a154f9
Merge from /nmap-exp/david/nmap-ipv6.
...
This is raw IPv6 packet support for most port and ping scans, Neighbor
Discovery, and traceroute.
2011-06-08 01:24:48 +00:00
david
7453ec34d0
Change o.TimeSinceStartMS returning milliseconds to o.TimeSinceStart
...
returning floating-point seconds. Everywhere o.TimeSinceStartMS was
called, the return value was being divided by 1000.0, which had the same
effect but would overflow when the difference exceeded about 25 days
(2^31 milliseconds). This patch is by Daniel Miller.
2011-03-28 20:34:32 +00:00
david
02669cbfd8
Defer the calculation of the default XSL stylesheet until it's needed.
...
This is going to depend on argv[0], so it can't happen in the NmapOps
constructor, which runs even before main.
2011-03-26 06:48:17 +00:00
david
523c4f7104
Remove -sR o.rpcscan handling; make -sR an alias for -sV.
2011-03-12 18:20:09 +00:00
david
8553cb3157
Merge r22026 through r22063 from /nmap-exp/david/nmap-script-help (new
...
--script-help option).
2011-01-27 21:44:54 +00:00
fyodor
86e59a8c4e
Update copyright statements from 2010 to 2011
2011-01-21 00:04:16 +00:00
david
7653cf7d4a
Move COPYING.OpenSSL to OpenSSL.txt, update copyright notices to match.
2010-10-30 03:01:50 +00:00
fyodor
1aecac420f
Update copyright year from 2009 to 2010
2010-05-03 21:20:25 +00:00
david
859ef5ecaf
Merge r17202:17298 from /nmap-exp/david/nmap-xml. This brings in
...
structured XML output, automatic closing of XML elements on error, and
inclusion of error messages in XML output.
2010-04-14 01:05:51 +00:00