mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
Major bug fix for --os-pwn
This commit is contained in:
parent
73ececd903
commit
60a1b48194
|
@ -70,11 +70,6 @@ class Takeover(GenericTakeover):
|
|||
self.__datadir = "."
|
||||
self.__datadir = ntToPosixSlashes(normalizePath(self.__datadir))
|
||||
|
||||
if re.search("^[\w]\:[\/\\\\]+", self.__datadir, re.I):
|
||||
kb.os = "Windows"
|
||||
else:
|
||||
kb.os = "Linux"
|
||||
|
||||
# The DLL can be in either C:\WINDOWS, C:\WINDOWS\system,
|
||||
# C:\WINDOWS\system32, @@basedir\bin or @@datadir
|
||||
self.udfRemoteFile = "%s/%s.%s" % (self.__datadir, self.udfSharedLibName, self.udfSharedLibExt)
|
||||
|
|
Loading…
Reference in New Issue
Block a user