Skip to content

Commit 8b6f759

Browse files
committed
ssh_version module
1 parent c4837d0 commit 8b6f759

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

documentation/modules/auxiliary/scanner/ssh/ssh_version.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@ msf5 auxiliary(scanner/ssh/ssh_version) > run
7474
encryption.host_key rsa-sha2-512
7575
encryption.host_key rsa-sha2-256
7676
encryption.host_key ssh-rsa
77-
encryption.key_exchange_(kex) curve25519-sha256
78-
encryption.key_exchange_(kex) [email protected]
79-
encryption.key_exchange_(kex) ecdh-sha2-nistp256
80-
encryption.key_exchange_(kex) ecdh-sha2-nistp384
81-
encryption.key_exchange_(kex) ecdh-sha2-nistp521
82-
encryption.key_exchange_(kex) diffie-hellman-group-exchange-sha256
83-
encryption.key_exchange_(kex) [email protected]
77+
encryption.key_exchange curve25519-sha256
78+
encryption.key_exchange [email protected]
79+
encryption.key_exchange ecdh-sha2-nistp256
80+
encryption.key_exchange ecdh-sha2-nistp384
81+
encryption.key_exchange ecdh-sha2-nistp521
82+
encryption.key_exchange diffie-hellman-group-exchange-sha256
83+
encryption.key_exchange [email protected]
8484
8585
[*] Scanned 1 of 1 hosts (100% complete)
8686
[*] Auxiliary module execution completed
@@ -161,14 +161,14 @@ msf6 auxiliary(scanner/ssh/ssh_version) > run
161161
encryption.host_key ssh-dss
162162
encryption.host_key ecdsa-sha2-nistp256 Weak elliptic curve
163163
encryption.host_key ssh-ed25519
164-
encryption.key_exchange_(kex) [email protected]
165-
encryption.key_exchange_(kex) ecdh-sha2-nistp256
166-
encryption.key_exchange_(kex) ecdh-sha2-nistp384
167-
encryption.key_exchange_(kex) ecdh-sha2-nistp521
168-
encryption.key_exchange_(kex) diffie-hellman-group-exchange-sha256
169-
encryption.key_exchange_(kex) diffie-hellman-group-exchange-sha1 Deprecated
170-
encryption.key_exchange_(kex) diffie-hellman-group14-sha1
171-
encryption.key_exchange_(kex) diffie-hellman-group1-sha1 Deprecated
164+
encryption.key_exchange [email protected]
165+
encryption.key_exchange ecdh-sha2-nistp256
166+
encryption.key_exchange ecdh-sha2-nistp384
167+
encryption.key_exchange ecdh-sha2-nistp521
168+
encryption.key_exchange diffie-hellman-group-exchange-sha256
169+
encryption.key_exchange diffie-hellman-group-exchange-sha1 Deprecated
170+
encryption.key_exchange diffie-hellman-group14-sha1
171+
encryption.key_exchange diffie-hellman-group1-sha1 Deprecated
172172
fingerprint_db ssh.banner
173173
openssh.comment Ubuntu-2ubuntu1
174174
os.cpe23 cpe:/o:canonical:ubuntu_linux:14.04

modules/auxiliary/scanner/ssh/ssh_version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def check_kex(server_data)
180180
)
181181
note = 'Deprecated'
182182
end
183-
table << ['encryption.key_exchange_(kex)', kex, note]
183+
table << ['encryption.key_exchange', kex, note]
184184
end
185185
table
186186
end

0 commit comments

Comments
 (0)