Fix for an Issue #88

This commit is contained in:
Miroslav Stampar 2012-07-13 14:25:39 +02:00
parent 3c81f74823
commit 6677da63cd
2 changed files with 5 additions and 1 deletions

View File

@ -306,6 +306,7 @@ class Web:
self.webBackdoorUrl = "%s/%s" % (self.webBaseUrl, backdoorName) self.webBackdoorUrl = "%s/%s" % (self.webBaseUrl, backdoorName)
self.webDirectory = localPath 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" testStr = "command execution test"

View File

@ -89,6 +89,9 @@ class Miscellaneous:
kb.bannerFp["dbmsVersion"] = (kb.bannerFp["dbmsVersion"] or "").replace(",", "").replace("-", "").replace(" ", "") kb.bannerFp["dbmsVersion"] = (kb.bannerFp["dbmsVersion"] or "").replace(",", "").replace("-", "").replace(" ", "")
def delRemoteFile(self, filename): def delRemoteFile(self, filename):
if not filename:
return
self.checkDbmsOs() self.checkDbmsOs()
if Backend.isOs(OS.WINDOWS): if Backend.isOs(OS.WINDOWS):