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 with injection #17

Open
remrat opened this issue Jan 15, 2018 · 2 comments
Open

Error with injection #17

remrat opened this issue Jan 15, 2018 · 2 comments

Comments

@remrat
Copy link

remrat commented Jan 15, 2018

For some reason, I am unable to replicate the PoC. When an client connects, and I attempt to inject the js, I am returned the error:

192.168.9.127:1734: clientconnect
192.168.9.127:1735: clientconnect
http://192.168.9.111:8000/script.js
Script error: Traceback (most recent call last):
File "injector.py", line 13, in response
print(flow.response.headers["content-type"])
File "/root/.local/lib/python3.6/site-packages/mitmproxy/types/multidict.py", line 39, in getitem
raise KeyError(key)
KeyError: 'content-type'

Thoughts?

@FunkyCold-DC940
Copy link

I am having this exact same issue. Any movement on this at all?

@cyb3rL1ght
Copy link

the solution found?##

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

3 participants