Skip to content
Open
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
4 changes: 3 additions & 1 deletion views/vulnerabilities/a1_injection/description.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ String query = "SELECT * FROM accounts WHERE custID='" + request.getParameter("i
The attacker modifies the `id` parameter value in her browser to send following:

```
' or '1'='1. For example:
' or '1'='1
```

For example:

```
http://example.com/app/accountView?id=' or '1'='1
```
Expand Down
6 changes: 3 additions & 3 deletions views/vulnerabilities/a1_injection/reference.ejs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class='markdown'>
* https://www.owasp.org/index.php/Top_10_2013-A1-Injection
* https://www.owasp.org/index.php/Injection_Flaws
</div>
* <a href=https://owasp.org/Top10/A03_2021-Injection/">OWASP Top Ten: Injection</a>
* <a href=https://owasp.org/www-community/Injection_Flaws">OWASP: Injection Flaws</a>
</div>
6 changes: 3 additions & 3 deletions views/vulnerabilities/a7_xss/reference.ejs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class='markdown'>
* https://www.owasp.org/index.php/Cross-site\_Scripting\_(XSS)
* https://www.owasp.org/index.php/OWASP\_Testing\_Guide_v4\_Table\_of\_Contents
</div>
* <a href="https://owasp.org/www-community/attacks/xss/">OWASP: Cross Site Scripting (XSS)</a>
* <a href="https://www.owasp.org/index.php/OWASP\_Testing\_Guide_v4\_Table\_of\_Contents">OWASP Testing Guide v4 Table of Contents</a>
</div>