-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Thank you for sharing your code. Great addition for burp !
It seems that burp based on the time presentation chosen is having different log versions.
The parsing regex is not working if the time presentation is 0-23 instead of 0-11 AM/PM.
This is the modification I had to apply to have it working on my computer:
HEADER = re.compile('(\d{1,2}:\d{2}:\d{2} (AM|PM))[ \t]+(\S+)([ \t]+[(\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}|unknown host)])?')
HEADER = re.compile('(\d{1,2}:\d{2}:\d{2})( )(\S+)( )[((\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}|unknown host))]?')
May be you can add support for both version by checking for the AM/PM string or making AM/PM optional in the regex.
Metadata
Metadata
Assignees
Labels
No labels