forked from fbsamples/caldera-security-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Closes fbsamples#10 - Incorporated XSS fbsamples#3 into srp and baseline actions - Minor updates and fixes
- Loading branch information
Showing
9 changed files
with
320 additions
and
75 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,7 +69,7 @@ jobs: | |
popd | ||
- name: Create vulnerable test environment | ||
run: ./caldera-security-tests TestEnv -v | ||
run: ./caldera-security-tests testEnv -v | ||
|
||
- name: Wait until container is running | ||
run: | | ||
|
@@ -79,13 +79,16 @@ jobs: | |
shell: bash | ||
|
||
- name: Run security regression test for first XSS | ||
run: ./caldera-security-tests StoredXSSUno | ||
run: ./caldera-security-tests storedXSSUno | ||
|
||
- name: Run security regression test for second XSS | ||
run: ./caldera-security-tests StoredXSSDos | ||
run: ./caldera-security-tests storedXSSDos | ||
|
||
- name: Run security regression test for third XSS | ||
run: ./caldera-security-tests storedXSSTres | ||
|
||
- name: Destroy test environment | ||
run: ./caldera-security-tests TestEnv -d | ||
run: ./caldera-security-tests testEnv -d | ||
|
||
- name: Report failure | ||
uses: nashmaniac/[email protected] | ||
|
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 |
---|---|---|
|
@@ -53,8 +53,8 @@ jobs: | |
|
||
- name: Set git config | ||
run: | | ||
git config --global user.name "John Doe" | ||
git config --global user.email johndoe@example.com | ||
git config --global user.name "Github Actions" | ||
git config --global user.email actions@example.com | ||
- name: Clone CALDERA repo | ||
run: | | ||
|
@@ -63,7 +63,7 @@ jobs: | |
popd | ||
- name: Create test environment with the most recent caldera release | ||
run: ./caldera-security-tests TestEnv -r | ||
run: ./caldera-security-tests testEnv -r | ||
|
||
- name: Wait until container is running | ||
run: | | ||
|
@@ -74,13 +74,16 @@ jobs: | |
shell: bash | ||
|
||
- name: Run security regression test for first XSS | ||
run: ./caldera-security-tests StoredXSSUno | ||
run: ./caldera-security-tests storedXSSUno | ||
|
||
- name: Run security regression test for second XSS | ||
run: ./caldera-security-tests StoredXSSDos | ||
run: ./caldera-security-tests storedXSSDos | ||
|
||
- name: Run security regression test for third XSS | ||
run: ./caldera-security-tests storedXSSTres | ||
|
||
- name: Destroy test environment | ||
run: ./caldera-security-tests TestEnv -d | ||
run: ./caldera-security-tests testEnv -d | ||
|
||
- name: Report failure | ||
uses: nashmaniac/[email protected] | ||
|
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 |
---|---|---|
@@ -1,16 +1,17 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Debug", | ||
"name": "Run XSS #3.", | ||
"type": "go", | ||
"request": "launch", | ||
"mode": "debug", | ||
"program": "${workspaceRoot}", | ||
"args": ["--debug", "StoredXSSDos"] | ||
"args": [ | ||
// Verbose output | ||
"--debug", | ||
"StoredXSSTres" | ||
] | ||
} | ||
] | ||
} |
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
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
Oops, something went wrong.