mirror of
https://github.com/nmap/nmap.git
synced 2026-01-20 21:29:06 +00:00
Change --webxml nmap.xsl stylesheet location from http://nmap.org/data/nmap.xsl to http://nmap.org/svn/docs/nmap.xsl. The former just redirected to the latter anyway. Maybe it would be better to just use http://nmap.org/nmap.xsl and make that a symlink to the appropriate place. Oh well, I think this is fine for now.
This commit is contained in:
@@ -3891,7 +3891,7 @@ hosts with at least one
|
||||
<option>--stylesheet</option>. You must pass the full
|
||||
pathname or URL. One common invocation is
|
||||
<option>--stylesheet
|
||||
http://nmap.org/data/nmap.xsl</option>. This
|
||||
http://nmap.org/svn/docs/nmap.xsl</option>. This
|
||||
tells a browser to load the latest version of the stylesheet
|
||||
from Nmap.Org. The <option>--webxml</option> option
|
||||
does the same thing with less typing and memorization.
|
||||
@@ -3911,7 +3911,7 @@ hosts with at least one
|
||||
<listitem>
|
||||
|
||||
<para>This convenience option is simply an alias for
|
||||
<option significance="preferred">--stylesheet http://nmap.org/data/nmap.xsl</option>.</para>
|
||||
<option significance="preferred">--stylesheet http://nmap.org/svn/docs/nmap.xsl</option>.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
|
||||
2
nmap.cc
2
nmap.cc
@@ -920,7 +920,7 @@ int nmap_main(int argc, char *argv[]) {
|
||||
} else if (optcmp(long_options[option_index].name, "log-errors") == 0) {
|
||||
o.log_errors = 1;
|
||||
} else if (strcmp(long_options[option_index].name, "webxml") == 0) {
|
||||
o.setXSLStyleSheet("http://nmap.org/data/nmap.xsl");
|
||||
o.setXSLStyleSheet("http://nmap.org/svn/docs/nmap.xsl");
|
||||
} else if (strcmp(long_options[option_index].name, "oN") == 0) {
|
||||
normalfilename = logfilename(optarg, tm);
|
||||
} else if (strcmp(long_options[option_index].name, "oG") == 0 ||
|
||||
|
||||
Reference in New Issue
Block a user