Skip to content

Commit d143f43

Browse files
pUrGe12securestep9
andauthored
updated regex for SSH scanning to include more matches (#1012)
Co-authored-by: Sam Stepanyan <[email protected]>
1 parent 507a098 commit d143f43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nettacker/modules/scan/port.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,7 @@ payloads:
10831083
reverse: false
10841084

10851085
ssh:
1086-
regex: "openssh|\\-OpenSSH\\_|\\r\\nProtocol mism|\\_sshlib|\\x00\\x1aversion info line too long|SSH Windows NT Server|WinNT sshd|sshd| SSH Secure Shell|WinSSHD"
1086+
regex: "openssh|\\-OpenSSH\\_|\\r?\\n?Protocol mism|\\_sshlib|\\x00\\x1aversion info line too long|SSH Windows NT Server|WinNT sshd|sshd| SSH Secure Shell|WinSSHD|SSH-[\\d.]+-[A-Za-z0-9_\\-]+|SSH-[\\d.]+\\r?\\n?"
10871087
reverse: false
10881088

10891089
telnet:

0 commit comments

Comments
 (0)