Complete refactoring of responder code, first pass

This commit is contained in:
jrmdev 2015-06-29 22:20:58 +10:00
parent f4bd612e08
commit 050edc22f3
43 changed files with 4105 additions and 4722 deletions

View file

@ -53,6 +53,8 @@ def NbtLen(data):
Len = struct.pack(">i", len(data))
return Len
from packets import SMBHeader
"""
class SMBHeader(Packet):
fields = OrderedDict([
("Proto", "\xff\x53\x4d\x42"),
@ -68,6 +70,7 @@ class SMBHeader(Packet):
("UID", "\x00\x00"),
("MID", "\x00\x00"),
])
"""
class SMBNego(Packet):
fields = OrderedDict([