MCPcopy Create free account
hub / github.com/secdev/scapy / get_file_id

Method get_file_id

scapy/layers/smbserver.py:1120–1127  ·  view source on GitHub ↗

Return the FileId attribute of pkt, accounting for compounded requests.

(self, pkt)

Source from the content-addressed store, hash-verified

1118 self.CompoundedHandle = handle
1119
1120 def get_file_id(self, pkt):
1121 """
1122 Return the FileId attribute of pkt, accounting for compounded requests.
1123 """
1124 fid = pkt.FileId
1125 if fid == self.LAST_HANDLE:
1126 return self.CompoundedHandle
1127 return fid
1128
1129 def lookup_folder(self, handle, filter, offset, cls):
1130 """

Callers 5

send_write_responseMethod · 0.95
send_read_responseMethod · 0.95
send_close_responseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected