mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-17 05:07:28 +08:00
Minor patch for MsSQL stacked file reading
This commit is contained in:
@@ -119,7 +119,7 @@ class Filesystem(GenericFilesystem):
|
||||
DECLARE @firstint INT
|
||||
DECLARE @secondint INT
|
||||
|
||||
SET @tempint = CONVERT(INT, (SELECT ASCII(SUBSTRING(%s, @counter, 1)) FROM %s))
|
||||
SET @tempint = CONVERT(INT, (SELECT TOP 1 ASCII(SUBSTRING(%s, @counter, 1)) FROM %s))
|
||||
SET @firstint = floor(@tempint/16)
|
||||
SET @secondint = @tempint - (@firstint * 16)
|
||||
SET @hexstr = @hexstr + SUBSTRING(@charset, @firstint+1, 1) + SUBSTRING(@charset, @secondint+1, 1)
|
||||
|
||||
Reference in New Issue
Block a user