mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-03-03 19:55:47 +03:00
Minor fix and removed leftover debug message
This commit is contained in:
parent
e59ace5409
commit
0043336620
|
@ -513,11 +513,11 @@ class Backend:
|
|||
|
||||
@staticmethod
|
||||
def setOsServicePack(sp):
|
||||
if version is None:
|
||||
if sp is None:
|
||||
return None
|
||||
|
||||
elif kb.osSP is None and isinstance(version, int):
|
||||
kb.osSP = version
|
||||
elif kb.osSP is None and isinstance(sp, int):
|
||||
kb.osSP = sp
|
||||
|
||||
@staticmethod
|
||||
def setArch():
|
||||
|
|
|
@ -39,7 +39,6 @@ class Miscellaneous:
|
|||
def getRemoteTempPath(self):
|
||||
if not conf.tmpPath:
|
||||
if Backend.isOs(OS.WINDOWS):
|
||||
print "Backend.getOsVersion():", type(Backend.getOsVersion()), Backend.getOsVersion()
|
||||
if Backend.getOsVersion() == "2000":
|
||||
conf.tmpPath = "C:/WINNT/Temp"
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue
Block a user