Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Commit a70a89f

Browse files
committed
Fixing SMB scan because NMAP discovers different services sometimes if the service detection is enabled
1 parent 5c26265 commit a70a89f

File tree

1 file changed

+2
-1
lines changed
  • hooks/imperative-subsequent-scans

1 file changed

+2
-1
lines changed

hooks/imperative-subsequent-scans/hook.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ async function handle({
5454
if (
5555
cascadeNmapSmb &&
5656
finding.attributes.port === 445 &&
57-
finding.attributes.service === "microsoft-ds"
57+
(finding.attributes.service === "microsoft-ds" ||
58+
finding.attributes.service === "netbios-ssn")
5859
) {
5960
await startSMBScan({
6061
parentScan: scan,

0 commit comments

Comments
 (0)