forked from juice-shop/juice-shop
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- prescribe actual attack payload - remove check for closing tags - add working payload to test ZIP - restore original file on server start
- Loading branch information
1 parent
547a5e1
commit 711540e
Showing
8 changed files
with
70 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
WEBVTT | ||
0 | ||
00:00:00.000 --> 00:00:00.300 | ||
... | ||
|
||
1 | ||
00:00:00.300 --> 00:00:05.200 | ||
When you want to shop online then you had better be sure | ||
|
||
2 | ||
00:00:05.200 --> 00:00:09.500 | ||
The experience is safe and also secure | ||
|
||
3 | ||
00:00:09.500 --> 00:00:15.200 | ||
Don't want to let no SQLi or cross-site scripting ruin your day | ||
|
||
4 | ||
00:00:15.200 --> 00:00:20.230 | ||
No, you want to break into a joyous song and say: | ||
|
||
5 | ||
00:00:20.230 --> 00:00:25.500 | ||
Juice Shop! | ||
Juice Shop! | ||
|
||
6 | ||
00:00:25.500 --> 00:00:31.050 | ||
You can order tasty beverages in any quantity | ||
|
||
7 | ||
00:00:31.050 --> 00:00:35.400 | ||
Juice Shop! | ||
Juice Shop! | ||
|
||
8 | ||
00:00:35.400 --> 00:00:42.000 | ||
Just don't test the site with Burp Suite or you won't like what you see |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
const path = require('path') | ||
const fs = require('fs-extra') | ||
|
||
const restoreOverwrittenFilesWithOriginals = () => { | ||
fs.copyFileSync(path.resolve(__dirname, '../../data/static/legal.md'), path.resolve(__dirname, '../../ftp/legal.md')) | ||
fs.copyFileSync(path.resolve(__dirname, '../../data/static/jingleSubtitles.vtt'), path.resolve(__dirname, '../../frontend/dist/frontend/assets/public/subtitles/jingleSubtitles.vtt')) | ||
} | ||
|
||
module.exports = restoreOverwrittenFilesWithOriginals |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.