Skip to content

Commit

Permalink
Merge branch 'issue-99' into develop, close #99
Browse files Browse the repository at this point in the history
  • Loading branch information
elcodigok committed Apr 1, 2017
2 parents 08cd6b2 + 05ae141 commit f3e8c65
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/indexesWordPress.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,14 @@ def __init__(self, directory, verbose=False):
'\n', 'RewriteRule .* - [F,L]\n'
]
self.headers = [
'\n', '#Add Header X-Content-Type-Options.\n',
'\n',
'<IfModule mod_headers.c>',
'\n', '\t# Add Header X-Content-Type-Options.',
'\n', '\tHeader set X-Content-Type-Options nosniff',
'\n', '\t# Security Headers - X-Frame-Options',
'\n', '\tHeader always append X-Frame-Options SAMEORIGIN',
'\n', '\t# Headers - X-XSS-Protection',
'\n', '\tHeader set X-XSS-Protection "1; mode=block"',
'\n', '</IfModule>', '\n'
]
self.mode_verbose = verbose
Expand Down

0 comments on commit f3e8c65

Please sign in to comment.