mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
Fix for an Issue #88
This commit is contained in:
parent
3c81f74823
commit
6677da63cd
|
@ -306,7 +306,8 @@ class Web:
|
|||
|
||||
self.webBackdoorUrl = "%s/%s" % (self.webBaseUrl, backdoorName)
|
||||
self.webDirectory = localPath
|
||||
self.webBackdoorFilePath = ntToPosixSlashes(normalizePath("%s/%s" % (localPath, backdoorName))).replace("//", "/").rstrip('/')
|
||||
|
||||
self.webBackdoorFilePath = ntToPosixSlashes(normalizePath("%s/%s" % (localPath, backdoorName))).replace("//", "/").rstrip('/')
|
||||
|
||||
testStr = "command execution test"
|
||||
output = self.webBackdoorRunCmd("echo %s" % testStr)
|
||||
|
|
|
@ -89,6 +89,9 @@ class Miscellaneous:
|
|||
kb.bannerFp["dbmsVersion"] = (kb.bannerFp["dbmsVersion"] or "").replace(",", "").replace("-", "").replace(" ", "")
|
||||
|
||||
def delRemoteFile(self, filename):
|
||||
if not filename:
|
||||
return
|
||||
|
||||
self.checkDbmsOs()
|
||||
|
||||
if Backend.isOs(OS.WINDOWS):
|
||||
|
|
Loading…
Reference in New Issue
Block a user