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

931 Commits

Author SHA1 Message Date
tomsellers
43d1a0516b Summary of changes to the XSL since work started on 11/11 -
General:
- Added support for Pre and Post scan NSE output.  Index links at top only appear if 
  the sections exist.

- Host that are offline are now in a collapsible div element and collapsed by default.

- Added HTML Doctype of HTML 4.01 Strict, tidies up parsing 

- The display for closed and filtered ports has been changed. By default the information 
  for closed and filtered ports is filtered from the tables if JavaScript is enabled.  
  The column header now has clickable links that will display each.  The links indicate 
  the counts of each type (closed vs filtered) in the current table so that the user 
  can see at a glance if there is anything hidden. When printing the document the 
  printout will reflect the current status (hidden vs unhidden) of the ports.  The 
  clickable links themselves are also not output when printing.

- There is also a floating box in the lower right hand corner of the display that contains
  links that will toggle showing and hiding of ports in these states for the entire 
  document.  This floating box contains a link to the top of the document as well.

- Traceroute - rearranged output, now uses a collapsible div element that is collapsed
  by default.

- Host / Ping results section has been moved to a collapsible div element named Misc 
  Results.  This element is collapsed by default.

- Remote OS Detection OS match wording is now more like Nmap normal output - 
  OS type (accuracy) instead of separate lines for os match and accuracy

- Changed how host index HTML anchors are created in order to deal with a warning about 
  the name attribute being deprecated

- Fixed a bug in the port script output that caused it to only span 5 columns instead of 
  6. Tested this with various levels of debug, verbosity, etc to make sure that the 
  number of columns does not change.

- Changed nmap_xsl_version variable from 9b to 9c, Changed the last updated date in the 
  header to be today's date (2010.12.28)

- Added Nmap version number to Scan summary section

- Wording of verbosity/debug levels changed/simplified.

- HTML title and  first header wording changed.

- Added MAC vendor to host address section

- Changed host index to the format of hostname (IP) where preference is given to the 
  user supplied hostname.


General Style Changes:
- Changed color of script output cells in port table as well as hostscript and prescan
  result tables slightly to make visual parsing easier
- First header (Nmap Scan Report..) color changed to use Nmap purple
- Closed and Filters ports - background color is now grey
- Down hosts are now denoted with a grey background in both the host index (top) and 
  body of results


OS Fingerprint:

- Fingerprint block now uses a collapsible div element.  The block is collapsed by 
  default if the OS fingerprint is only present due to increased verbosity or debugging.
- Removed referenced fingerprint data ( reference fingerprint line number: 1000 )
- Reworded some sections of text for flow and readability.


Removed elements:
- Scan info Section - code was in place but has not been visible for some time. After 
  testing a few arrangements it was decided to just remove the data and code altogether.

- Runstats section, replaced by standard nmap completion string in the Scan Summary section


Open items:
1.  Device types - currently have issues with output data consistency and formatting when
    pulling a distinct list.

2.  What criteria / counts should be used in situations described below? For example, 
    how many fingerprints are too many? How do we know if the fingerprint is high enough 
    quality to submit given that it may just be present due to the use of -v or -d?

>  o It would be great to describe the OS detection results better.
>    For example, if there are no exact matches, normal Nmap says "No
>    exact OS matches for host ", followed up with "(test conditions
>    non-ideal)" if that is the case.  I think we should give a warning
>    like this.  Also, in the case that there are too many matches,
>    normal Nmap says "Too many fingerprints match this host to give
>    specific OS details"

>  o If there are no exact matches, and Nmap feels that the quality is
>    high enough for a submission, it would be great if the OS
>    detection section would encourage the user to submit, just like
>    normal Nmap does.

3.  Does the OS fingerprint need to be printed (to paper/PDF) at all? The only scenario 
    that I could think of where this would be useful would be if the file was 'printed'
    to digital media such as PDF.

4.  Does the table of ports need to be changed so that closed and and filtered ports 
    are always printed (to paper/PDF) as opposed to printing in the format that is 
    currently displayed?  My concern here is processes that automatically convert 
    documents, for example to PDF format.
2010-12-28 23:32:29 +00:00
fyodor
b3f2e187a1 prepare for 5.36TEST3 test release 2010-12-28 22:02:12 +00:00
luis
bfa94a7807 Minor change to my entry in the committers file 2010-12-14 11:13:01 +00:00
fyodor
050548f562 Change version number from 5.36TEST1 to TEST2 2010-11-20 08:36:49 +00:00
fyodor
f0a52e8f65 Actually 5.36TEST1 is a better version number than 5.36RC1, IMHO 2010-11-20 01:47:03 +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
tomsellers
5e25d02af4 Adding post scan script output to the nmap.xsl XML transform at
David's request.
2010-11-14 18:57:41 +00:00
tomsellers
d464a8228f Multiple changes to support new features and clean up presentation of existing data:
Added support for the pre-scan script data.  The output is formatted using HTML 'pre' tags
in order to maintain formatting.
    - the top menu entry is conditional and only appears if pre-scan data is present
    - the pre-scan script block is currently at the beginning of the page right after
      the scan summary

Changed host script and port script output to use 'pre' tags so that lengthy output, such 
as that from ssl-cert.nse  and snmp-win32-services will be readable.

Added title section for hostscript output
Added table headers for hostscript output
Added MAC vendor text to address section 

Fixed a bug in the port script output that caused it to only span 5 columns instead of 6.

Changed color of script output cells in port table as well as hostscript and prescan result
tables slightly to make visual parsing easier.

Changed nmap_xsl_version variable from 9b to 9c

Changed wording related to OS fingerprint being present even though the OS was positively identified.
This occurs when Nmap is run with higher levels of verbosity.

Change the OS guess accuracy percentage to use bold font.
2010-11-14 14:45:39 +00:00
david
cd6fa26efd Uniformity in win32 instructions. 2010-11-10 03:04:16 +00:00
david
7e8e4bf5b9 Update build instructions and build scripts for Python 2.7. 2010-11-10 03:00:01 +00:00
david
9cfac77247 Typo and markup in nmap-install.xml. 2010-11-09 02:58:33 +00:00
fyodor
a31fd51bae Update the Windows section to more clearly note that you need 2010 version of Visual C++ and also describe how to do the build in this newer version (I don't even get a build menu in 2010 version). Also, discuss the option of checking out the source from svn rather than downloading a tarball 2010-11-08 23:44:57 +00:00
david
134591c311 Update build docs to refer to Visual C++ Express 2010, not 2008. 2010-11-04 23:35:03 +00:00
ron
7a1bc58133 It turns out that emacs likes to have the modeline at the very top, not bottom, so I changed the sample script to accommodate 2010-11-01 19:36:06 +00:00
ron
633bde3025 Improved sample-script.nse -- Added @args, cleared up how to process script-args, added usage, and added modeelines for vim/lua. 2010-11-01 19:13:15 +00:00
david
7653cf7d4a Move COPYING.OpenSSL to OpenSSL.txt, update copyright notices to match. 2010-10-30 03:01:50 +00:00
david
dba1d73570 Rearrange third-party license files. 2010-10-30 02:15:00 +00:00
david
2646189afe In sample-script.nse, wrap long lines to 80 columns, edit formatting a
bit.
2010-10-29 16:11:05 +00:00
ron
fe91dce037 Added a sample script template 2010-10-29 12:56:00 +00:00
fyodor
89144949b5 Update the copyright notice date from 2009 to 2010. Maybe it would have been easier to just wait 2.5 months and use 2011 :) 2010-10-18 07:59:19 +00:00
fyodor
73495762ca regen man pages 2010-10-16 19:40:21 +00:00
fyodor
7607cfb750 regen the chines man page nroff 2010-10-16 19:39:16 +00:00
david
20cbbfb014 Add notice of extra binary libraries included in the binary packages. 2010-10-16 00:04:26 +00:00
david
9720b7b500 Add the license of libgailutil, which is in the Windows package. 2010-10-14 05:10:03 +00:00
david
e3164f757f Add licenses for all the libraries I found in the Frameworks directory of the Mac OS X package. 2010-10-14 04:10:23 +00:00
david
ef46d67790 Add a couple more hyperlinks. 2010-10-12 05:06:02 +00:00
david
49d8020ced Add a LICENSES document containing the licenses of the third-party
software used by Nmap and the other tools.
2010-10-12 04:52:07 +00:00
fyodor
f3599c8119 Note that the default install Directory for Windows 7 (maybe Vista too?) is in 'c:\Program Files (x86)' rather than just 'Program Files' 2010-10-12 00:54:03 +00:00
fyodor
c72965c3e5 Add a section 'Script Types and Phases' to discuss and distinguish prerule, host, service, and postrule scripts (definitely has room for improvement). Removed some phase content from the front (introduction) page to keep it clean. Added a link to the Nmap NSE video 2010-10-11 23:08:04 +00:00
fyodor
0739717ca7 some improvements sent in by Fei Yang 2010-09-30 18:10:08 +00:00
david
2a409301ff Rewrite the section on different script rules. 2010-09-14 04:47:38 +00:00
djalal
55d91874bc Fix a typo in the scripting.xml file. 2010-09-10 21:21:13 +00:00
david
b2350aa947 o [NSE] Host tables now have a host.traceroute member when --traceroute
is used. This array contains the IP address, reverse DNS name, and RTT
  for each traceroute hop. [Henri Doreau]
2010-08-28 15:50:10 +00:00
kris
57664a51cf Committing MTU-related changes:
* Adding path-mtu.nse for Path MTU Discovery
* Nmap now stores the MTU for interfaces (from SIOCGIFMTU or libdnet)
* Scripts can access the MTU for host.interface via host.interface_mtu
* Nmap prints the MTU for interfaces in --iflist
2010-08-24 01:47:12 +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
fyodor
b3bef8f7a2 Fix some syntax errors (mostly misspelled tags and wrongly closed tags) in scripting.xml to get it to compile 2010-08-13 18:49:16 +00:00
djalal
d056a97b10 Merge r19288:r19697 from nmap-exp/djalal/nse-rules-docs. This will update NSE doc to show the new prerules and postrules. 2010-08-13 00:41:54 +00:00
david
8688fee2e2 Document that -g doesn't work for anything that uses normal OS sockets,
including DNS resolution, connect scan, version detection, and NSE.
2010-08-11 16:27:17 +00:00
djalal
f0c5e154c3 Merge r18689:r19511 from /nmap-exp/djalal/nse-rules.
o Add two new Script scan phases:
  Script Pre-scanning phase: before any Nmap scan operation, activated by the new "prerule".
  Script Post-scanning phase: after all Nmap scan operations, activated by the new "postrule".
o New environment variables:
  SCRIPT_PATH
  SCRIPT_NAME
  SCRIPT_TYPE: the type of the rule that activated the script.
2010-08-06 16:40:03 +00:00
david
919f13738a Use literal tags around the names of keys of the host.times table. 2010-08-05 02:21:48 +00:00
kris
412fcbcca0 o [NSE] Added a "times" table to the host table passed to scripts.
This table contains Nmap's timing data (srtt, the smoothed round
  trip time; rttvar, the rtt variance; and timeout), all represented
  as floating-point seconds.  The ipidseq and qscan scripts were
  updated to utilize the host's timeout value instead of the very
  conservative guess of 3 seconds for read timeouts. [Kris]
2010-08-05 01:55:05 +00:00
david
b476797753 Use <userinput> in examples to highlight the user's typed text. 2010-07-19 20:26:36 +00:00
david
14de56cbcb Add an indexterm. 2010-07-19 18:31:45 +00:00
david
aa5d360900 Remove indextermst that are two near one another, such that they cause
duplicate page numbers to be incldued in the index.
2010-07-19 18:18:42 +00:00
david
fd40bfd5ae Update the link to Visual Studio express. (The old link redirected to
the new.)
2010-07-19 17:26:18 +00:00
david
14f314327c Fix duplicate words in documentation. 2010-07-19 16:58:52 +00:00
david
7a4efd455a Spell-check documentation. 2010-07-19 16:41:57 +00:00
fyodor
1e8f3556bd did my edits to the preface, also trivial capitalization changes elsewhere 2010-07-19 06:50:26 +00:00
david
156952fbf8 Do index canonicalization in scripting.xml. Remove ".nse" where not
needed.
2010-07-18 20:31:32 +00:00
david
121ff5cd2a Update, review, and edit scripting.xml. 2010-07-18 19:42:01 +00:00