All pastes #429305 Raw Edit

Cody Brocious

public python v1 · immutable
·published 2007-04-08 04:26 UTC
rendered paste body
        for i in range(len(packet)):            for j in range(i, len(packet)):                try:                    foo = zlib.decompress(packet[i:j], -15)                    if len(foo) > len(longest[0]):                        longest = (foo, i, j)                except:                    pass