Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Traceback Error #37

Open
jeretc opened this issue Aug 23, 2023 · 0 comments
Open

Traceback Error #37

jeretc opened this issue Aug 23, 2023 · 0 comments

Comments

@jeretc
Copy link

jeretc commented Aug 23, 2023

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 -

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant