Skip to content

客户端运行报错。 #5

Description

@wifislax

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',)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions