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

Method _ioctl_error

scapy/layers/smbserver.py:789–793  ·  view source on GitHub ↗
(self, Status="STATUS_NOT_SUPPORTED")

Source from the content-addressed store, hash-verified

787 raise self.SERVING()
788
789 def _ioctl_error(self, Status="STATUS_NOT_SUPPORTED"):
790 pkt = self.smb_header.copy() / SMB2_Error_Response(ErrorData=b"\xff")
791 pkt.Status = Status
792 pkt.Command = "SMB2_IOCTL"
793 self.send(pkt)
794
795 @ATMT.state(final=1)
796 def END(self):

Callers 1

send_ioctl_responseMethod · 0.95

Calls 3

sendMethod · 0.95
SMB2_Error_ResponseClass · 0.90
copyMethod · 0.45

Tested by

no test coverage detected