Package dpkt :: Module smb :: Class SMB
[hide private]
[frames] | no frames]

Class SMB

source code

object --+        
         |        
   ??.Temp --+    
             |    
   dpkt.Packet --+
                 |
                SMB

Server Message Block.

TODO: Longer class information....

Attributes:
    __hdr__ = [
        ('proto', '4s', b'ÿSMB'),
        ('cmd', 'B', 0),
        ('status', 'I', SMB_STATUS_SUCCESS),
        ('flags', 'B', 0),
        ('flags2', 'H', 0),
        ('_pidhi', 'H', 0),
        ('security', '8s', b''),
        ('rsvd', 'H', 0),
        ('tid', 'H', 0),
        ('_pidlo', 'H', 0),
        ('uid', 'H', 0),
        ('mid', 'H', 0)
    ]

Instance Methods [hide private]

Inherited from dpkt.Packet: __bytes__, __getitem__, __init__, __len__, __repr__, __str__, pack, pack_hdr, unpack

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Variables [hide private]
  __byte_order__ = '<'
  __hdr__ = [('proto', '4s', '\xffSMB'), ('cmd', 'B', 0), ('stat...
  __hdr_defaults__ = {'_pidhi': 0, '_pidlo': 0, 'cmd': 0, 'flags...
  __hdr_fields__ = ['proto', 'cmd', 'status', 'flags', 'flags2',...
  __hdr_fmt__ = '<4sBIBHH8sHHHHH'
  __hdr_len__ = 32
Properties [hide private]
  pid
  _pidhi
  _pidlo
  cmd
  data
  flags
  flags2
  mid
  proto
  rsvd
  security
  status
  tid
  uid

Inherited from object: __class__

Class Variable Details [hide private]

__hdr__

Value:
[('proto', '4s', '\xffSMB'),
 ('cmd', 'B', 0),
 ('status', 'I', 0),
 ('flags', 'B', 0),
 ('flags2', 'H', 0),
 ('_pidhi', 'H', 0),
 ('security', '8s', ''),
 ('rsvd', 'H', 0),
...

__hdr_defaults__

Value:
{'_pidhi': 0,
 '_pidlo': 0,
 'cmd': 0,
 'flags': 0,
 'flags2': 0,
 'mid': 0,
 'proto': '\xffSMB',
 'rsvd': 0,
...

__hdr_fields__

Value:
['proto',
 'cmd',
 'status',
 'flags',
 'flags2',
 '_pidhi',
 'security',
 'rsvd',
...

Property Details [hide private]

pid

Get Method:
unreachable.pid(self)
Set Method:
unreachable.pid(self, v)