1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-14 11:49:01 +00:00
Commit Graph

186 Commits

Author SHA1 Message Date
david
a531183086 Don't show a line for the banner if it hasn't changed, for uniformity
with other diffs, as suggested by Fyodor.
2011-03-05 07:54:54 +00:00
david
cd9d6a9fc4 Add status and address to the list of elements that can be diffed. Patch
by Daniel Miller.
2011-02-03 04:53:06 +00:00
david
173027cf0d Factor out code that formats a script result diffs. 2011-02-03 04:53:04 +00:00
david
98daa69d41 Add support for prerule and postrule scripts to Ndiff. 2011-02-03 04:53:03 +00:00
david
bb07ca0b57 Limit exception catching to IOError; i.e., missing files. I much prefer
to get a stack trace in most situations.
2011-02-03 04:53:01 +00:00
david
4c649d481b Fix ordering of hostscript diff elements when either side of the diff
doesn't have any. Patch by Daniel Miller.
2011-02-03 04:52:59 +00:00
fyodor
5e118af4d0 Update SVN version number to 5.51SVN so that it is above the current release number (5.50). 2011-01-29 19:35:46 +00:00
david
d7e555c878 Patch from Daniel Miller: fix an output line that was writing to stdout
even when other output was redirected.
2011-01-28 21:16:18 +00:00
fyodor
17142abb93 regenerate nroff man pages 2011-01-21 20:58:57 +00:00
fyodor
f037a54cd7 Update Nmap version number to 5.36TEST4 in prep for the next release in a day or two and regenerate relevant files 2011-01-20 10:29:18 +00:00
fyodor
b3f2e187a1 prepare for 5.36TEST3 test release 2010-12-28 22:02:12 +00:00
fyodor
050548f562 Change version number from 5.36TEST1 to TEST2 2010-11-20 08:36:49 +00:00
fyodor
280205b01b Update the Nmap version number since the 5.35DC18 release was quite a while ago 2010-11-20 01:07:30 +00:00
fyodor
73495762ca regen man pages 2010-10-16 19:40:21 +00:00
fyodor
1ea691c4e3 regen man pages (there were some changes for nping to add echo mode) 2010-08-13 18:55:30 +00:00
david
108c10ccd9 More editing of ndiff.xml. 2010-07-19 18:17:35 +00:00
fyodor
78ccc8fcd4 Change version from 5.35DC1 to 5.35DC18 to better distinguish the released 5.35DC1 from the current SVN version 2010-07-18 01:33:17 +00:00
david
886ef4fa88 Update and proofread ndiff.xml. 2010-07-16 18:21:28 +00:00
fyodor
9b4b172045 Update generated content for new release 2010-07-16 00:43:59 +00:00
david
cad9067c01 Break some long output lines in the Ndiff man page. 2010-07-14 23:00:37 +00:00
david
12173566c2 Qualify the element ids in the Ncat and Nping man pages, otherwise
things like "man-description" conflict between them. Add ids to the
Ndiff man page.
2010-07-14 21:55:13 +00:00
fyodor
91c95d81b2 regenerate the man pages 2010-05-28 07:14:41 +00:00
fyodor
1aecac420f Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
fyodor
8e673f1c69 Update version number 2010-03-29 19:47:34 +00:00
fyodor
2e7208d2d1 Update version number from 5.21 to 5.22TEST in prep for test release 2010-03-29 02:56:49 +00:00
fyodor
62155f108f latest generated man pages 2010-02-19 06:28:14 +00:00
david
a3a7d79b5f Update some SecLists URLs. 2010-02-11 17:43:02 +00:00
fyodor
6cf3b33924 Update version number to 5.21 to reflect the latest Nmap user (even though technically the 5.21 release is coming from the /nmap-exp/stable-5.2 branch 2010-01-27 02:51:09 +00:00
david
3c09069ee4 Show a nicer error message in Ndiff when an input file can't be opened. 2010-01-25 23:07:16 +00:00
fyodor
df19889e22 Regenerate all the auto-generated Nmap files in prep for the next release 2010-01-15 08:27:21 +00:00
fyodor
8d4edcb4fb auto-generated files in prep for next release 2009-12-24 21:53:45 +00:00
fyodor
a0da2ad148 Remove some junk lines that got left in the CHANGELOG 2009-11-23 07:19:33 +00:00
fyodor
a8c6c0cce0 I'm still not quite done with the CHANGELOG--this release has a LOT of improvements! Also, I changed the version to 5.10BETA1 and regenerated the appropriate files 2009-11-21 11:23:37 +00:00
fyodor
07dae5d498 Next release will be 5.05BETA2 to distinguish it from the BETA1 used in svn for the last several months 2009-11-19 08:30:27 +00:00
david
05e5348b57 Normalize the Ndiff exit codes.
0 if the scans are equal,
	1 if they differ, and
	2 for runtime errors.
Add tests and man page documentation.
2009-07-30 14:40:46 +00:00
david
25e77a8535 Add <refmiscinfo source="..."> and <refmiscinfo manual="..."> to
ndiff.xml to avoid FIXME errors in ndiff.1.
2009-07-23 03:41:30 +00:00
david
3a4a181f2d Remove extraports state inference from Ndiff. This was a feature that,
if there was only one extraports state, would create a Port object for
each scanned port that was not listed explictly. So for example, if a
scan of 100 ports had 5 open ports and an extraports of "filtered",
Ndiff would create 95 port records in the "filtered" state in addition
to the 5 "open". If there was more than one extraports state this was
not possible.

This turned out to be a slow operation, out of all proportion to its
utility. Here are times for a diff of random-1.xml and random-2.xml,
before and after:

real    0m11.912s
user    0m10.970s
sys     0m0.249s

real    0m0.773s
user    0m0.726s
sys     0m0.046s

In most cases extraports are not shown in the output, so this was wasted
effort. I know of only one place where it affected the output, when an
extraports in the A scan because a non-extraports in a different state
in the B scan. Then the previous state would be included in the <a>
port, where now it will just be listed without a state.
2009-07-17 19:46:41 +00:00
david
163dab3acd Regenerate ndiff.1. 2009-07-16 20:37:02 +00:00
david
b4e3fd762a Add test and XML Ndiff output samples from Fyodor's Facebook scans. 2009-07-16 20:36:53 +00:00
david
1bec7dcc21 Add a "quick start" example section right below the options summary. 2009-07-16 19:42:48 +00:00
david
8ad317c706 Add a description of XML output to the Ndiff man page. Still need to
fill in the output examples.
2009-07-16 19:26:35 +00:00
david
8ed86b8696 Some improvements to the Ndiff man page: a description of text output
and a shell script for daily scanning with cron. Still a work in
progress.
2009-07-16 18:47:58 +00:00
david
635850af8b Small documentation updates for script output support in Ndiff. 2009-07-13 06:06:58 +00:00
david
ba53f578b3 Show script output in Ndiff text output. 2009-07-13 05:59:05 +00:00
david
b9f994e71d Add script output to Ndiff XML output. 2009-07-13 05:34:13 +00:00
david
fda75eea6c Move the text output of port diffs from the HostDiff class to the
PortDiff class.
2009-07-13 04:19:21 +00:00
david
5abf361663 Visually simplify the code that builds the port table. 2009-07-11 02:26:02 +00:00
david
a660b37026 Parse script results. 2009-07-10 23:55:29 +00:00
david
4b99c96667 Run whois.nse in complex.xml so it has a hostscript. 2009-07-10 23:50:44 +00:00
david
72949e27e8 Remove the test for the sort order of addresses. The idea behind that
was that if a host had multiple addresses of the same type, they should
be sorted numerically, not alphabetically. So 20.0.0.1 should come
before 100.0.0.1. But the way Nmap works, I don't think a host can have
more than one address of the same type, and it's not worth the code it
would take to make them sort properly if it did.
2009-07-10 23:30:32 +00:00