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

客户端运行报错。 #5

Open
wifislax opened this issue Jan 3, 2017 · 0 comments
Open

客户端运行报错。 #5

wifislax opened this issue Jan 3, 2017 · 0 comments

Comments

@wifislax
Copy link

wifislax commented Jan 3, 2017

2017-01-03 22:17:36,665 [INFO] wyproxy started successfully...
Traceback (most recent call last):
File "wyproxy.py", line 131, in
run(args)
File "wyproxy.py", line 109, in run
wyproxy.run()
File "wyproxy.py", line 83, in run
start_server(self.proxy_port, self.proxy_mode, self.unsave_data)
File "wyproxy.py", line 69, in start_server
m.run()
File "wyproxy.py", line 29, in run
flow.FlowMaster.run(self)
File "/usr/lib/python2.7/dist-packages/mitmproxy/controller.py", line 142, in run
self.tick(0.1)
File "/usr/lib/python2.7/dist-packages/mitmproxy/controller.py", line 163, in tick
handle_func(obj)
File "/usr/lib/python2.7/dist-packages/mitmproxy/controller.py", line 251, in wrapper
ret = f(master, message)
File "wyproxy.py", line 44, in response
mysqldb_io.insert_result(parser.parser_data())
File "/opt/pentest/wyproxy/utils/parser.py", line 61, in parser_data
result['content'] = self.get_content() if save_content else ''
File "/opt/pentest/wyproxy/utils/parser.py", line 100, in get_content
return self.flow.response.content
File "/usr/lib/python2.7/dist-packages/netlib/http/message.py", line 115, in get_content
return encoding.decode(self.raw_content, ce)
File "/usr/lib/python2.7/dist-packages/netlib/encoding.py", line 64, in decode
repr(e),
ValueError: LookupError when decoding '\x1f\x8b\ with 'gzip,rc4': LookupError('unknown encoding: gzip,rc4',)

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