Skip to content
Merged
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
10 changes: 10 additions & 0 deletions dbmsIdentification/sqlserver.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@ <h3 id="sql-injection-detection">DBMS Identification</h3>
<td>Default variable</td>
<td>page.asp?id=sql'; SELECT @@SERVERNAME -- </td>
</tr>
<tr>
<td>String concatenation</td>
<td>page.php?id='mssql'+'mssql' -- </td>
</tr>
<tr>
<td>Functions</td>
<td>@@rowcount -- <br>
SQUARE(1) -- <br>
@@pack_received -- </td>
</tr>
<tr>
<td>Error messages<br/><i>Note: Triggering DB errors through invalid syntax will sometimes return verbose error messages that include the DBMS name.</i></td>
<td>page.asp?id='</td>
Expand Down