Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am n1xbyte on github.
  • I am n1xbyte (https://keybase.io/n1xbyte) on keybase.
  • I have a public key ASA6kCv23yzTCNQlEjrg8H4XuizcBBC1H9lgAw88u_JMKwo

To claim this, I am signing this object:

import socket, sys
from OpenSSL import SSL
from impacket.structure import Structure
class TPKT(Structure):
header = (
('Version','B=3'),
('Reserved','B=0'),
('Length','>H=len(TPDU)+4'),
('_TPDU','_-TPDU','self["Length"]-4'),