MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / askCheckReadFile

Method askCheckReadFile

plugins/generic/filesystem.py:185–194  ·  view source on GitHub ↗
(self, localFile, remoteFile)

Source from the content-addressed store, hash-verified

183 return True
184
185 def askCheckReadFile(self, localFile, remoteFile):
186 if not kb.bruteMode:
187 message = "do you want confirmation that the remote file '%s' " % remoteFile
188 message += "has been successfully downloaded from the back-end "
189 message += "DBMS file system? [Y/n] "
190
191 if readInput(message, default='Y', boolean=True):
192 return self._checkFileLength(localFile, remoteFile, True)
193
194 return None
195
196 def nonStackedReadFile(self, remoteFile):
197 errMsg = "'nonStackedReadFile' method must be defined "

Callers 1

readFileMethod · 0.95

Calls 2

_checkFileLengthMethod · 0.95
readInputFunction · 0.90

Tested by

no test coverage detected