Permalink
Browse files

Added major option to Apache2 ServerTokens test.

  • Loading branch information...
1 parent c70a399 commit 264a0debb17f1c66980c508b4d64c1d59d77ef03 Kura committed Sep 7, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 amisecure.py
View
@@ -75,8 +75,8 @@
),
(
re.compile(r"[^.*]ServerTokens\s(?P<value>Prod|ProductOnly|Major|Minor|Min|Minimal|OS|Full)", re.IGNORECASE),
- ("equal_to", ("prod", "productonly")), True,
- "Server tokens", "Prod and ProductOnly are considered 'secure' but both are the same"
+ ("equal_to", ("prod", "productonly", "major")), True,
+ "Server tokens", "Prod, ProductOnly and Major are considered 'secure' but both are the same"
),
(
re.compile(r"[^.*]ServerSignature\s(?P<value>on|off)", re.IGNORECASE),

0 comments on commit 264a0de

Please sign in to comment.