mirror of
https://github.com/lgandx/Responder.git
synced 2025-12-21 23:29:00 +00:00
Complete refactoring of responder code, first pass
This commit is contained in:
@@ -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([
|
||||
|
||||
Reference in New Issue
Block a user