Skip to content

Commit 31b0737

Browse files
Update postgresql.html
1 parent 1e1e772 commit 31b0737

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

dbmsIdentification/postgresql.html

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,15 @@ <h3 id="sql-injection-detection">DBMS Identification</h3>
1616
</tr>
1717
<tr>
1818
<td>Default variables</td>
19-
<td>SELECT current_user -- </td>
20-
<td>SELECT session_user -- </td>
19+
<td>SELECT current_user --<br>SELECT session_user -- </td>
2120
</tr>
2221
<tr>
2322
<td>String concatenation</td>
2423
<td>param='postg'||'resql' -- </td>
2524
</tr>
2625
<tr>
2726
<td>Functions</td>
28-
<td>version() -- </td>
29-
<td>SUBSTR() -- </td>
30-
<td>SUBSTRING() -- </td>
27+
<td>version() -- <br>SUBSTR() -- <br>SUBSTRING() -- </td>
3128
</tr>
3229
</tbody>
3330
</table>
@@ -56,4 +53,4 @@ <h3 id="sql-injection-types">Converting queries to injections</h3>
5653
<td>product.asp?id=' UNION SELECT current_user,null -- <br></td>
5754
</tr>
5855
</tbody>
59-
</table>
56+
</table>

0 commit comments

Comments
 (0)