Minor bug fix to make --file-read and --os-bof syntactically work also with -d (direct connection)

This commit is contained in:
Bernardo Damele
2012-02-17 15:16:05 +00:00
parent aee269cc14
commit ebd40b3933
2 changed files with 2 additions and 4 deletions

View File

@@ -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 = '