mirror of
https://github.com/jtesta/ssh-audit.git
synced 2024-11-25 20:11:40 +01:00
If software is not recognized, output recommendations based on compatibility.
This commit is contained in:
parent
f25e6caa2a
commit
0c98bc1397
@ -1142,6 +1142,9 @@ def get_alg_pairs(kex, pkm):
|
||||
|
||||
def get_alg_recommendations(software, kex, pkm, for_server=True):
|
||||
alg_pairs = get_alg_pairs(kex, pkm)
|
||||
if software is not None:
|
||||
if software.product not in [SSH.Product.OpenSSH, SSH.Product.DropbearSSH]:
|
||||
software = None
|
||||
if software is None:
|
||||
ssh_timeframe = get_ssh_timeframe(alg_pairs, for_server)
|
||||
for product in [SSH.Product.OpenSSH, SSH.Product.DropbearSSH]:
|
||||
|
Loading…
Reference in New Issue
Block a user