cert_expiration_date
This commit is contained in:
@@ -37,7 +37,7 @@ def check_certificate_expiry(hostname, port=443):
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
if len(sys.argv) != 2:
|
if len(sys.argv) != 2:
|
||||||
print("Uso: python check_certificate.py <hostname>")
|
print("Uso: python cert_expiration_date.py <hostname>")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
hostname = sys.argv[1]
|
hostname = sys.argv[1]
|
||||||
|
|||||||
Reference in New Issue
Block a user