xaitax/CVE-2024-6387_Check

Hardoded port number in summary report message

MarcinOrlowski opened this issue ยท 0 comments

print(f"\n๐Ÿ”’ Servers with port 22 closed: {closed_ports}")

There's hardcoded 22 as port number in report message which is confusing as it seems like --port is ignored. I think the fix should be just to make that line like like:

print(f"\n๐Ÿ”’ Servers with port {port} closed: {closed_ports}")