Bug fix (port was not being used properly with Burp exported history)

This commit is contained in:
Miroslav Stampar
2014-04-03 09:46:37 +02:00
parent 1632bec10b
commit 15f92c4197
2 changed files with 11 additions and 2 deletions

View File

@@ -266,7 +266,7 @@ WEBSCARAB_SPLITTER = "### Conversation"
BURP_REQUEST_REGEX = r"={10,}\s+[^=]+={10,}\s(.+?)\s={10,}"
# Regex used for parsing XML Burp saved history items
BURP_XML_HISTORY_REGEX = r'<request base64="true"><!\[CDATA\[([^]]+)'
BURP_XML_HISTORY_REGEX = r'<port>(\d+)</port>.+?<request base64="true"><!\[CDATA\[([^]]+)'
# Encoding used for Unicode data
UNICODE_ENCODING = "utf8"