mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 11:03:47 +03:00
Minor bug fix to make --file-read and --os-bof syntactically work also with -d (direct connection)
This commit is contained in:
parent
aee269cc14
commit
ebd40b3933
|
@ -51,8 +51,7 @@ class Filesystem(GenericFilesystem):
|
|||
inject.goStacked("BULK INSERT %s FROM '%s' WITH (CODEPAGE='RAW', FIELDTERMINATOR='%s', ROWTERMINATOR='%s')" % (txtTbl, rFile, randomStr(10), randomStr(10)), silent=True)
|
||||
|
||||
# Reference: http://support.microsoft.com/kb/104829
|
||||
binToHexQuery = """
|
||||
DECLARE @charset VARCHAR(16)
|
||||
binToHexQuery = """DECLARE @charset VARCHAR(16)
|
||||
DECLARE @counter INT
|
||||
DECLARE @hexstr VARCHAR(4096)
|
||||
DECLARE @length INT
|
||||
|
|
|
@ -76,8 +76,7 @@ class Takeover(GenericTakeover):
|
|||
|
||||
shellcodeChar = shellcodeChar[:-1]
|
||||
|
||||
self.spExploit = """
|
||||
DECLARE @buf NVARCHAR(4000),
|
||||
self.spExploit = """DECLARE @buf NVARCHAR(4000),
|
||||
@val NVARCHAR(4),
|
||||
@counter INT
|
||||
SET @buf = '
|
||||
|
|
Loading…
Reference in New Issue
Block a user