Added randomized server header and changed behavior of SERVER_HEADER env var

This commit is contained in:
Leonardo Bambini
2025-12-29 18:51:37 +01:00
parent 499760c939
commit c2c43ac985
4 changed files with 21 additions and 5 deletions

View File

@@ -57,7 +57,8 @@ class Wordlists:
},
"users": {
"roles": ["Administrator", "User"]
}
},
"server_headers": ["Apache/2.4.41 (Ubuntu)", "nginx/1.18.0"]
}
@property
@@ -111,6 +112,10 @@ class Wordlists:
@property
def error_codes(self):
return self._data.get("error_codes", [])
@property
def server_headers(self):
return self._data.get("server_headers", [])
_wordlists_instance = None