Skip to content

Commit 5850adf

Browse files
authored
Merge pull request #105 from amm3/nextoffset
Error with created Connection for chained decoders
2 parents de3dcdd + 0bf4595 commit 5850adf

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

decoders/misc/xor.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ def makeKey(self, key):
5050
def connectionInitHandler(self, conn):
5151
# need to set up a custom connection tracker to handle
5252
self.xorconn[conn.addr] = dshell.Connection(self, conn.addr, conn.ts)
53-
# self.xorconn[conn.addr]=conn
53+
self.xorconn[conn.addr].nextoffset = conn.nextoffset
54+
self.xorconn[conn.addr].proto = conn.proto
55+
self.xorconn[conn.addr].info(proto=conn.proto)
5456

5557
#
5658
# Each blob will be xor'ed and the "newblob" data will be added to the connection

0 commit comments

Comments
 (0)