Analyzing apache

This commit is contained in:
gbucchino
2023-09-15 11:43:43 +02:00
parent 20d15fa8ec
commit 725fe43786
2 changed files with 40 additions and 5 deletions
+17
View File
@@ -15,3 +15,20 @@ def apache_protocols() -> dict:
return ssl
def apache_signature() -> dict:
signature = dict()
signature["description"] = "Disable Apache signature"
signature["level"] = "high"
signature['value'] = 'ServerSignature On'
return signature
def apache_indexes() -> dict:
indexes = dict()
indexes['description'] = 'Disable files and directory indexes'
indexes['level'] = 'medium'
indexes['value'] = 'Options -Indexes'
return indexes