mirror of
https://github.com/The-Art-of-Hacking/h4cker.git
synced 2024-12-18 10:56:09 +00:00
Update docker-bench-websploit.sh
This commit is contained in:
parent
0930e18f93
commit
61d26aa665
@ -7,7 +7,8 @@ red=$(tput setaf 1)
|
||||
green=$(tput setaf 2)
|
||||
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 \
|
||||
-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
|
||||
|
||||
printf -- '\n';
|
||||
echo "${red}The output above only includes the major findings."
|
||||
|
||||
echo "${reset}The complete results have been stored at:
|
||||
|
Loading…
Reference in New Issue
Block a user