mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-06-27 00:13:08 +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
|
@staticmethod
|
||||||
def setOsServicePack(sp):
|
def setOsServicePack(sp):
|
||||||
if version is None:
|
if sp is None:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
elif kb.osSP is None and isinstance(version, int):
|
elif kb.osSP is None and isinstance(sp, int):
|
||||||
kb.osSP = version
|
kb.osSP = sp
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def setArch():
|
def setArch():
|
||||||
|
|
|
@ -39,7 +39,6 @@ class Miscellaneous:
|
||||||
def getRemoteTempPath(self):
|
def getRemoteTempPath(self):
|
||||||
if not conf.tmpPath:
|
if not conf.tmpPath:
|
||||||
if Backend.isOs(OS.WINDOWS):
|
if Backend.isOs(OS.WINDOWS):
|
||||||
print "Backend.getOsVersion():", type(Backend.getOsVersion()), Backend.getOsVersion()
|
|
||||||
if Backend.getOsVersion() == "2000":
|
if Backend.getOsVersion() == "2000":
|
||||||
conf.tmpPath = "C:/WINNT/Temp"
|
conf.tmpPath = "C:/WINNT/Temp"
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user