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

Error Parsing Headers #39

Open
ResistanceIsUseless opened this issue Jun 29, 2022 · 0 comments
Open

Error Parsing Headers #39

ResistanceIsUseless opened this issue Jun 29, 2022 · 0 comments

Comments

@ResistanceIsUseless
Copy link

Python 3.9.13

python3 corsy.py -u https://mail.google.com --headers "User-Agent: GoogleBot\nCookie: SESSION=Hacked"

Traceback (most recent call last): File "/Users/USER/Tools/Corsy/corsy.py", line 47, in <module> header_dict = extractHeaders(header_dict) File "/Users/USER//Tools/Corsy/core/utils.py", line 70, in extractHeaders matches = re.findall(r'^?(.*?):\s(.*?)[\n$]', headers) File "/usr/local/Cellar/python@3.9/3.9.13_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/re.py", line 241, in findall return _compile(pattern, flags).findall(string) File "/usr/local/Cellar/python@3.9/3.9.13_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/re.py", line 304, in _compile p = sre_compile.compile(pattern, flags) File "/usr/local/Cellar/python@3.9/3.9.13_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/sre_compile.py", line 788, in compile p = sre_parse.parse(p, flags) File "/usr/local/Cellar/python@3.9/3.9.13_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/sre_parse.py", line 955, in parse p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0) File "/usr/local/Cellar/python@3.9/3.9.13_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/sre_parse.py", line 444, in _parse_sub itemsappend(_parse(source, state, verbose, nested + 1, File "/usr/local/Cellar/python@3.9/3.9.13_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/sre_parse.py", line 669, in _parse raise source.error("nothing to repeat", re.error: nothing to repeat at position 1

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