mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-21 11:13:47 +00:00
avoid tracebacks because the parameter does not exist
This commit is contained in:
parent
c9c520a325
commit
d42d28392a
10 changed files with 12 additions and 13 deletions
|
|
@ -158,7 +158,7 @@ class Filesystem(GenericFilesystem):
|
|||
|
||||
return result
|
||||
|
||||
def unionWriteFile(self, wFile, dFile, fileType):
|
||||
def unionWriteFile(self, wFile, dFile, fileType, forceCheck=False):
|
||||
errMsg = "Microsoft SQL Server does not support file upload with "
|
||||
errMsg += "UNION query SQL injection technique"
|
||||
raise SqlmapUnsupportedFeatureException(errMsg)
|
||||
|
|
@ -340,8 +340,7 @@ class Filesystem(GenericFilesystem):
|
|||
wFileContent = f.read()
|
||||
|
||||
self._stackedWriteFileVbs(tmpPath, wFileContent, dFile, fileType)
|
||||
|
||||
written = self.askCheckWrittenFile(wFile, dFile)
|
||||
written = self.askCheckWrittenFile(wFile, dFile, forceCheck)
|
||||
|
||||
if written is False:
|
||||
message = "do you want to try to upload the file with "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue