mirror of
https://github.com/The-Art-of-Hacking/h4cker.git
synced 2024-10-01 01:25:43 -04:00
Update docker-bench-websploit.sh
This commit is contained in:
parent
a4da565fae
commit
8dd014734c
@ -19,7 +19,7 @@ docker run --rm --net host --pid host --userns host --cap-add audit_control \
|
|||||||
-v /var/lib:/var/lib:ro \
|
-v /var/lib:/var/lib:ro \
|
||||||
-v /var/run/docker.sock:/var/run/docker.sock:ro \
|
-v /var/run/docker.sock:/var/run/docker.sock:ro \
|
||||||
--label docker_bench_security \
|
--label docker_bench_security \
|
||||||
docker/docker-bench-security > bench_results.txt
|
docker/docker-bench-security > $(whoami)/bench_results.txt
|
||||||
|
|
||||||
|
|
||||||
cat bench_results.txt | grep WARN
|
cat bench_results.txt | grep WARN
|
||||||
@ -27,4 +27,4 @@ cat bench_results.txt | grep WARN
|
|||||||
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:
|
||||||
${green}$(pwd)/bench_results.txt "
|
${green}$(whoami)/bench_results.txt "
|
||||||
|
Loading…
Reference in New Issue
Block a user