Skip to content

Commit

Permalink
updated regex for SSH scanning to include more matches (#1012)
Browse files Browse the repository at this point in the history
Co-authored-by: Sam Stepanyan <[email protected]>
  • Loading branch information
pUrGe12 and securestep9 authored Feb 17, 2025
1 parent 507a098 commit d143f43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nettacker/modules/scan/port.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@ payloads:
reverse: false

ssh:
regex: "openssh|\\-OpenSSH\\_|\\r\\nProtocol mism|\\_sshlib|\\x00\\x1aversion info line too long|SSH Windows NT Server|WinNT sshd|sshd| SSH Secure Shell|WinSSHD"
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?"
reverse: false

telnet:
Expand Down

0 comments on commit d143f43

Please sign in to comment.