Skip to content
Snippets Groups Projects
Commit b717e7db authored by Radnai László's avatar Radnai László
Browse files

Update README.md

parent 3bb4c6ef
No related branches found
No related tags found
No related merge requests found
Checking pipeline status
......@@ -46,11 +46,11 @@ Feel free to add packages or use features! For cookie-based sessions, you can im
In the last line, we make the counter available to the template, where we can inject the value:
```patch
--- a/attacker/templates/index.html
+++ b/attacker/templates/index.html
--- a/victim/templates/index.html
+++ b/victim/templates/index.html
@@ -15,6 +15,8 @@
<p>This is an ATTACKER Flask application running on <snap id="origin-text">(Origin)</snap>.</p>
<p>This is an VICTIM Flask application running on <snap id="origin-text">(Origin)</snap>.</p>
+<p>You have visited this site {{ counter }} times.</p>
+
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment