Skip to content

Commit

Permalink
Update mysql.html (#14)
Browse files Browse the repository at this point in the history
* Update mysql.html

Query changed

* Update sqlserver.html
  • Loading branch information
anukaal authored Nov 15, 2022
1 parent d149c8a commit 5f849aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion injectionTechniques/conditionalStatements/sqlserver.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h3 id="conditionals">Conditionals</h3>
<tbody>
<tr>
<td>Case</td>
<td>SELECT CASE WHEN 1=1 THEN 1 ELSE 0 END</td>
<td>SELECT * FROM CASE WHEN 1=1 THEN 1 ELSE 0 END</td>
</tr>
<tr>
<td>If/Else</td>
Expand Down
4 changes: 2 additions & 2 deletions injectionTypes/blindBased/mysql.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ <h4 class="subheading">Full-Blind</h4>
</tr>
<tr>
<td>User is root (Benchmark method)</td>
<td>SELECT IF(user() LIKE 'root@%', BENCHMARK(5000000, ENCODE('Slow Down','by 5 seconds')), null)</td>
<td>SELECT * from (user() LIKE 'root@%', BENCHMARK(5000000, ENCODE('Slow Down','by 5 seconds')), null)</td>
</tr>
<tr>
<td>Version is 5.x.x</td>
<td>SELECT IF(SUBSTRING(version(),1,1)=5,SLEEP(5),null)</td>
<td>SELECT * from (SUBSTRING(version(),1,1)=5,SLEEP(5),null)</td>
</tr>
</tbody>
</table>

0 comments on commit 5f849aa

Please sign in to comment.