Skip to content

Commit 3b200e1

Browse files
committed
Update to version [v1.4.3]
1 parent d69d64c commit 3b200e1

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,12 @@ Remove all ports found in `scan-before.xml` from `scan-after.xml` and write the
152152
153153
Misc Commands:
154154
155-
[v1.4.2]
155+
[v1.4.3]
156156

157157
## Changelog
158158

159+
* v1.4.3
160+
* Fixed bug in [include-ports command](nmap-parse-output-xslt/include-ports.xslt)
159161
* v1.4.2
160162
* Added [nmap-bootstrap-xsl](https://github.com/honze-net/nmap-bootstrap-xsl) as [html-bootstrap command](nmap-parse-output-xslt/html-bootstrap.xslt)
161163
* Added [nmap-cmdline command](nmap-parse-output-xslt/nmap-cmdline.xslt)

nmap-parse-output

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
NPO_VERSION=1.4.2
2+
NPO_VERSION=1.4.3
33

44
# get script path
55
SOURCE="${BASH_SOURCE[0]}"

nmap-parse-output-xslt/include-ports.xslt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
</xsl:template>
2525

2626
<xsl:template match="/nmaprun/host/ports/port">
27-
<xsl:if test="$include-ports = ./@portid or $include-ports = concat(../../address/@addr, ':', ./@portid))">
27+
<xsl:if test="($include-ports = ./@portid) or ($include-ports = concat(../../address/@addr, ':', ./@portid))">
2828
<xsl:copy>
2929
<xsl:apply-templates select="@*|node()"/>
3030
</xsl:copy>

0 commit comments

Comments
 (0)