mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 05:01:30 +00:00
minor refactoring, added possibility to compare the remote file and downloaded file (--file-read), prepping for #223
This commit is contained in:
@@ -343,7 +343,7 @@ class Filesystem(GenericFilesystem):
|
||||
|
||||
self._stackedWriteFileVbs(tmpPath, wFileContent, dFile, fileType)
|
||||
|
||||
sameFile = self.askCheckWrittenFile(wFile, dFile, fileType)
|
||||
sameFile = self.askCheckWrittenFile(wFile, dFile)
|
||||
|
||||
if sameFile is False:
|
||||
message = "do you want to try to upload the file with "
|
||||
@@ -353,3 +353,4 @@ class Filesystem(GenericFilesystem):
|
||||
if not choice or choice.lower() == "y":
|
||||
self._stackedWriteFileDebugExe(tmpPath, wFile, wFileContent, dFile, fileType)
|
||||
#self._stackedWriteFilePS(tmpPath, wFileContent, dFile, fileType)
|
||||
self.askCheckWrittenFile(wFile, dFile)
|
||||
|
||||
Reference in New Issue
Block a user