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

Method SEND_FILE

scapy/layers/tftp.py:522–523  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

520
521 @ATMT.state()
522 def SEND_FILE(self):
523 self.send(self.l3 / TFTP_DATA(block=self.blk) / self.data[(self.blk - 1) * self.blksize:self.blk * self.blksize]) # noqa: E501
524
525 @ATMT.timeout(SEND_FILE, 3)
526 def timeout_waiting_ack(self):

Callers 3

file_in_storeMethod · 0.95
timeout_waiting_ackMethod · 0.95
data_remainingMethod · 0.95

Calls 2

TFTP_DATAClass · 0.85
sendMethod · 0.45

Tested by

no test coverage detected