email-header-analyzer icon indicating copy to clipboard operation
email-header-analyzer copied to clipboard

Traceback Error

Open jeretc opened this issue 1 year ago • 0 comments

Hi , I get this error when i tried to analyze the raw header:

Here is the email Header: https://easyupload.io/djeksg

[2023-08-23 16:34:55,424] ERROR in app: Exception on / [POST] Traceback (most recent call last): File "/home/maxx/Pentesting/email-header-analyzer/mha/server.py", line 65, in dateParser r = dateutil.parser.parse(line, fuzzy=True) File "/usr/lib/python3/dist-packages/dateutil/parser/_parser.py", line 1374, in parse return DEFAULTPARSER.parse(timestr, **kwargs) File "/usr/lib/python3/dist-packages/dateutil/parser/_parser.py", line 649, in parse raise ParserError("Unknown string format: %s", timestr) dateutil.parser._parser.ParserError: Unknown string format: from User (85-250-54-29.bb.netvision.net.il[85.250.54.29])

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/lib/python3/dist-packages/flask/app.py", line 2447, in wsgi_app response = self.full_dispatch_request() File "/usr/lib/python3/dist-packages/flask/app.py", line 1952, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/lib/python3/dist-packages/flask/app.py", line 1821, in handle_user_exception reraise(exc_type, exc_value, tb) File "/usr/lib/python3/dist-packages/flask/_compat.py", line 39, in reraise raise value File "/usr/lib/python3/dist-packages/flask/app.py", line 1950, in full_dispatch_request rv = self.dispatch_request() File "/usr/lib/python3/dist-packages/flask/app.py", line 1936, in dispatch_request return self.view_functionsrule.endpoint File "/home/maxx/Pentesting/email-header-analyzer/mha/server.py", line 119, in index next_time = dateParser(next_line[-1]) File "/home/maxx/Pentesting/email-header-analyzer/mha/server.py", line 72, in dateParser r = dateutil.parser.parse(r[0]) File "/usr/lib/python3/dist-packages/dateutil/parser/_parser.py", line 1374, in parse return DEFAULTPARSER.parse(timestr, **kwargs) File "/usr/lib/python3/dist-packages/dateutil/parser/_parser.py", line 649, in parse raise ParserError("Unknown string format: %s", timestr) dateutil.parser._parser.ParserError: Unknown string format: from User 127.0.0.1 - - [23/Aug/2023 16:34:55] "POST / HTTP/1.1" 500 -

jeretc avatar Aug 23 '23 09:08 jeretc