mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
commit
7ef0e37c74
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user