Adding support for detection of CloudFlare responses

This commit is contained in:
Miroslav Stampar
2016-01-21 10:16:23 +01:00
parent 034de9676e
commit 574b3a79aa
2 changed files with 9 additions and 1 deletions

View File

@@ -309,6 +309,9 @@ BURP_REQUEST_REGEX = r"={10,}\s+[^=]+={10,}\s(.+?)\s={10,}"
# Regex used for parsing XML Burp saved history items
BURP_XML_HISTORY_REGEX = r'<port>(\d+)</port>.+?<request base64="true"><!\[CDATA\[([^]]+)'
# Server header in CloudFlare responses
CLOUDFLARE_SERVER_HEADER = "cloudflare-nginx"
# Encoding used for Unicode data
UNICODE_ENCODING = "utf8"