Skip to content

Commit

Permalink
Merge pull request #220 from Patrowl/develop
Browse files Browse the repository at this point in the history
1.5.7 NMAP fix #218
  • Loading branch information
sebastien-powl authored Nov 8, 2022
2 parents 3d1978f + 0d141fa commit 5c9b886
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.6 // PatrowlEngines
1.5.7 // PatrowlEngines
2 changes: 1 addition & 1 deletion engines/nmap/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM alpine:latest
LABEL Name="Nmap\ \(Patrowl engine\)" Version="1.4.34"
LABEL Name="Nmap\ \(Patrowl engine\)" Version="1.4.36"

# Set the working directory
RUN mkdir -p /opt/patrowl-engines/nmap
Expand Down
2 changes: 1 addition & 1 deletion engines/nmap/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.4.35
1.4.36
2 changes: 1 addition & 1 deletion engines/nmap/engine-nmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ def get_service_banner(scan_id, raw_hosts):
"addr_type": 'ipv4',
}
for port in ports:
port_banner = banner.grab_banner(host, int(port))
port_banner = banner.grab_banner(host, int(port)).replace('\u0000', '') # Fix #218
if port_banner == '':
continue

Expand Down

0 comments on commit 5c9b886

Please sign in to comment.