Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Web Chall Template
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Radnai László
Web Chall Template
Commits
b717e7db
Commit
b717e7db
authored
2 years ago
by
Radnai László
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
3bb4c6ef
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#30656
passed
2 years ago
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+3
-3
3 additions, 3 deletions
README.md
with
3 additions
and
3 deletions
README.md
+
3
−
3
View file @
b717e7db
...
@@ -46,11 +46,11 @@ Feel free to add packages or use features! For cookie-based sessions, you can im
...
@@ -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:
In the last line, we make the counter available to the template, where we can inject the value:
```
patch
```
patch
--- a/
attacker
/templates/index.html
--- a/
victim
/templates/index.html
+++ b/
attacker
/templates/index.html
+++ b/
victim
/templates/index.html
@@ -15,6 +15,8 @@
@@ -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>
+<p>You have visited this site {{ counter }} times.</p>
+
+
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment