cyberdefenders / email-header-analyzer

E-Mail Header Analyzer
https://mailheaderanalyzer.herokuapp.com/
Other
638 stars 158 forks source link

Traceback Error #37

Open jeretc opened 1 year ago

jeretc commented 1 year ago

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 -