MCPcopy Create free account
hub / github.com/RoganDawes/P4wnP1 / readFile

Method readFile

hidtools/backdoor/FileSystem.py:178–182  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

176
177 @staticmethod
178 def readFile(filename):
179 data = ""
180 with open(filename, "rb") as f:
181 data = f.read()
182 return data
183
184 @staticmethod
185 def readFileChunks(filename, chunknum, chunksize=10000):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected