mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-23 20:00:09 +08:00
@@ -323,7 +323,10 @@ if pyamf:
|
||||
prompt = ("amf", "f")
|
||||
content_types = ["application/x-amf"]
|
||||
|
||||
def unpack(self, b, seen=set([])):
|
||||
def unpack(self, b, seen=None):
|
||||
if seen is None:
|
||||
seen = set([])
|
||||
|
||||
if hasattr(b, "body"):
|
||||
return self.unpack(b.body, seen)
|
||||
if isinstance(b, DummyObject):
|
||||
|
||||
Reference in New Issue
Block a user