mirror of
https://github.com/The-Art-of-Hacking/h4cker
synced 2024-11-22 10:53:03 +00:00
Update docker-bench-websploit.sh
This commit is contained in:
parent
0930e18f93
commit
61d26aa665
1 changed files with 3 additions and 1 deletions
|
@ -7,7 +7,8 @@ red=$(tput setaf 1)
|
||||||
green=$(tput setaf 2)
|
green=$(tput setaf 2)
|
||||||
reset=$(tput sgr0)
|
reset=$(tput sgr0)
|
||||||
|
|
||||||
echo "Running docker-bench-security from ${red}WebSploit"
|
echo "Running docker-bench-security ${red}WebSploit Labs easy script"
|
||||||
|
printf -- '\n';
|
||||||
|
|
||||||
docker run --rm --net host --pid host --userns host --cap-add audit_control \
|
docker run --rm --net host --pid host --userns host --cap-add audit_control \
|
||||||
-e DOCKER_CONTENT_TRUST=$DOCKER_CONTENT_TRUST \
|
-e DOCKER_CONTENT_TRUST=$DOCKER_CONTENT_TRUST \
|
||||||
|
@ -24,6 +25,7 @@ docker run --rm --net host --pid host --userns host --cap-add audit_control \
|
||||||
|
|
||||||
cat bench_results.txt | grep WARN
|
cat bench_results.txt | grep WARN
|
||||||
|
|
||||||
|
printf -- '\n';
|
||||||
echo "${red}The output above only includes the major findings."
|
echo "${red}The output above only includes the major findings."
|
||||||
|
|
||||||
echo "${reset}The complete results have been stored at:
|
echo "${reset}The complete results have been stored at:
|
||||||
|
|
Loading…
Reference in a new issue