Skip to content

Commit c647e46

Browse files
committed
Editei o código
1 parent 1c5b324 commit c647e46

File tree

1,102 files changed

+137285
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,102 files changed

+137285
-0
lines changed

.codeclimate.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
version: "2"
2+
plugins:
3+
fixme:
4+
enabled: true
5+
duplication:
6+
enabled: true
7+
checks:
8+
file-lines:
9+
config:
10+
threshold: 300
11+
method-lines:
12+
config:
13+
threshold: 30
14+
method-complexity:
15+
config:
16+
threshold: 7
17+
similar-code:
18+
enabled: false
19+
identical-code:
20+
enabled: false
21+
exclude_patterns:
22+
- 'Gruntfile.js'
23+
- '**/*conf.js'
24+
- 'data/datacreator.ts'
25+
- 'data/static/codefixes/**'
26+
- 'frontend/src/hacking-instructor/**/*.ts'
27+
- 'frontend/src/assets/private/*.js'
28+
- 'lib/logger.ts'
29+
- 'lib/config.types.ts'

.dependabot/config.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
version: 1
2+
update_configs:
3+
- package_manager: "javascript"
4+
directory: "/"
5+
update_schedule: "live"
6+
target_branch: "develop"
7+
default_reviewers:
8+
- "bkimminich"
9+
default_labels:
10+
- "dependencies"
11+
ignored_updates:
12+
- match:
13+
dependency_name: "express-jwt"
14+
version_requirement: "0.1.3"
15+
- match:
16+
dependency_name: "sanitize-html"
17+
version_requirement: "1.4.2"
18+
- match:
19+
dependency_name: "unzipper"
20+
version_requirement: "0.9.15"
21+
- match:
22+
dependency_name: "jsonwebtoken"
23+
version_requirement: "0.4.0"
24+
- package_manager: "javascript"
25+
directory: "/frontend"
26+
update_schedule: "live"
27+
target_branch: "develop"
28+
default_reviewers:
29+
- "bkimminich"
30+
default_labels:
31+
- "dependencies"

.github/CODEOWNERS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/vagrant/ @wurstbrot
2+
/test/cypress/ @ShubhamPalriwala
3+
/frontend/src/app/score-board @J12934

.github/FUNDING.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
custom: https://sponsor.owasp-juice.shop
2+
github: OWASP
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
name: "\U0001F41BBug report"
3+
about: Report a bug in OWASP Juice Shop
4+
title: '[🐛] '
5+
labels: bug
6+
assignees: ''
7+
8+
---
9+
10+
<!--🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅
11+
12+
To expedite issue processing please search open and closed issues before submitting a new one.
13+
Existing issues often contain information about workarounds, resolution, or progress updates.
14+
15+
Please also make sure to check the official [Troubleshooting guide](https://pwning.owasp-juice.shop/companion-guide/latest/part4/troubleshooting.html) before opening a bug report.
16+
17+
🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅-->
18+
19+
# :bug: Bug report
20+
21+
## Description
22+
23+
<!-- ✍️-->
24+
A clear and concise description of the problem...
25+
26+
27+
### Is this a regression?
28+
29+
<!-- Did this behavior use to work in the previous version? -->
30+
<!-- ✍️-->
31+
Yes, the previous version in which this bug was not present was: `x.y.z`
32+
33+
34+
## :microscope: Minimal Reproduction
35+
36+
<!-- ✍️Simple steps to reproduce this bug.
37+
38+
Issues that don't have enough info and can't be reproduced will be labeled with "missing information" and closed shortly afterwards.
39+
-->
40+
41+
42+
## :fire: Exception or Error
43+
44+
<pre><code>
45+
<!-- If the issue is accompanied by an exception or an error, please share your log below: -->
46+
<!-- ✍️-->
47+
48+
</code></pre>
49+
50+
51+
## :deciduous_tree: Your Environment
52+
53+
<pre><code>
54+
<!-- run `node -v && npm -v` and paste output below -->
55+
<!-- ✍️-->
56+
57+
</code></pre>
58+
59+
60+
### Additional Information
61+
62+
<!-- ✍️Is this a browser specific issue? If so, please specify the browser and version. -->
63+
<!-- ✍️Do any of these matter: operating system, Docker environment, cloud environment, ...? If so, please mention it below. -->
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
name: "⭐Challenge idea"
3+
about: Idea for a new hacking challenge in OWASP Juice Shop
4+
title: '[⭐] '
5+
labels: challenge
6+
assignees: ''
7+
8+
---
9+
10+
<!--🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅
11+
12+
To expedite issue processing please search open and closed issues before submitting a new one.
13+
Existing issues often contain information about workarounds, resolution, or progress updates.
14+
15+
🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅-->
16+
17+
# :star: Challenge idea
18+
19+
### Description
20+
21+
<!-- ✍️--> A clear and concise description of the new hacking challenge and why the Juice Shop needs it...
22+
23+
### Underlying vulnerability/ies
24+
25+
<!-- ✍️--> Security vulnerabilities or design flaws this challenge will be based on. Optimally include CWE, OWASP or similar references.
26+
27+
### Expected difficulty
28+
29+
<!-- Do you already have an idea about the expected difficulty of the challenge? -->
30+
<!-- ✍️ -->
31+
32+
| :heavy_check_mark: / :x: | Difficulty |
33+
|:------------------------:|:-------------------------------------|
34+
| :grey_question: | :star: |
35+
| :grey_question: | :star::star: |
36+
| :grey_question: | :star::star::star: |
37+
| :grey_question: | :star::star::star::star: |
38+
| :grey_question: | :star::star::star::star::star: |
39+
| :grey_question: | :star::star::star::star::star::star: |
40+
41+
### Possible attack flow
42+
43+
<!-- ✍️--> Have you considered how the challenge could be exploited by the attacker?

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
contact_links:
2+
- name: ❓Support request
3+
url: https://gitter.im/bkimminich/juice-shop
4+
about: Questions and requests for support
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
name: "\U0001F680Feature request"
3+
about: Suggest a feature for OWASP Juice Shop
4+
title: '[🚀] '
5+
labels: feature
6+
assignees: ''
7+
8+
---
9+
10+
<!--🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅
11+
12+
To expedite issue processing please search open and closed issues before submitting a new one.
13+
Existing issues often contain information about workarounds, resolution, or progress updates.
14+
15+
🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅-->
16+
17+
# :rocket: Feature request
18+
19+
### Description
20+
21+
<!-- ✍️--> A clear and concise description of the problem or missing capability...
22+
23+
24+
### Solution ideas
25+
26+
<!-- ✍️--> If you have a solution in mind, please describe it.
27+
28+
29+
### Possible alternatives
30+
31+
<!-- ✍️--> Have you considered any alternative solutions or workarounds?

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<!--🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅
2+
3+
You can expedite processing of your PR by using this template to provide context
4+
and additional information. Before actually opening a PR please make sure that it
5+
does NOT fall into any of the following categories
6+
7+
🚫 Spam PRs (accidental or intentional) - these will result in a 7 / 30 / ∞ days ban from
8+
interacting with the project depending on reoccurrence and severity. You can find more
9+
information [here](https://pwning.owasp-juice.shop/companion-guide/latest/part3/contribution.html#_handling_of_spam_prs).
10+
11+
🚫 Lazy typo fixing PRs - if you fix a typo in a file, your PR will only be merged
12+
if all other typos in the same file are also fixed with the same PR
13+
14+
🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅-->
15+
16+
### Description
17+
18+
<!-- ✍️-->
19+
A clear and concise summary of the change and which issue (if any) it fixes. Should also include relevant motivation and context.
20+
21+
Resolved or fixed issue: <!-- ✍️ Add GitHub issue number in format `#0000` or `none` -->
22+
23+
### Affirmation
24+
25+
- [ ] My code follows the [CONTRIBUTING.md](https://github.com/juice-shop/juice-shop/blob/master/CONTRIBUTING.md) guidelines

0 commit comments

Comments
 (0)