-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* - add extra print statements. - update endpoints to use namespace of exploit pod - minor fixes * add iputils for real ping binary * fix namespace for redis * update mysql env vars * update exploit tag template * change default ingress to false for struts * initial readme
- Loading branch information
Showing
8 changed files
with
70 additions
and
55 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 |
---|---|---|
@@ -1 +1,22 @@ | ||
# nv-demo-helm | ||
Using this chart, will install some demo pods, as well as a menu based tool to trigger various activities.<br> | ||
This chart can be installed in 1..n namespaces, and traffic etc... will be localized to that NS. | ||
|
||
## Install helm chart: | ||
exploit.image_tag: See valid tags at https://hub.docker.com/repository/docker/horantj/exploit | ||
|
||
struts.ingress.enabled: bool to enable ingress for struts. not strictly required for the menu tool. | ||
struts.ingress.host: Use a host or IP for ingress to struts. i.e. "struts.3.227.235.243.sslip.io" | ||
|
||
``` | ||
git clone https://github.com/horantj/nv-demo-helm.git | ||
helm install -n demo --create-namespace \ | ||
--set exploit.image_tag=0.4 --set struts.ingress.enabled=true \ | ||
--set struts.ingress.host=struts.3.227.235.243.sslip.io | ||
``` | ||
|
||
## Using exploit tool: | ||
Shell into the exploit pod and run the tool: | ||
``` | ||
python3 exploit.py <admin user> <admin pass> neuvector-svc-controller.cattle-neuvector-system.svc | ||
``` |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,6 @@ apiVersion: v1 | |
kind: Service | ||
metadata: | ||
name: redis | ||
namespace: demo | ||
spec: | ||
ports: | ||
- port: 6379 | ||
|
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