mirror of
https://github.com/The-Art-of-Hacking/h4cker
synced 2024-11-22 02:43:02 +00:00
Update docker-bench-websploit.sh
This commit is contained in:
parent
673271763e
commit
5e137669a2
1 changed files with 5 additions and 3 deletions
|
@ -1,4 +1,6 @@
|
|||
# A quick script to run docker-bench-security in WebSploit Labs
|
||||
#!/bin/bash
|
||||
# A lame and quick script to run docker-bench-security in WebSploit Labs
|
||||
# Omar Santos @santosomar
|
||||
|
||||
echo "Running docker-bench-security from WebSploit"
|
||||
|
||||
|
@ -15,5 +17,5 @@ docker run --rm --net host --pid host --userns host --cap-add audit_control \
|
|||
docker/docker-bench-security > bench_results.txt
|
||||
|
||||
|
||||
cat bench_results.txt
|
||||
echo "The results have been stored at $(pwd)/bench_results.txt "
|
||||
cat bench_results.txt | grep WARN
|
||||
echo "The output above only includes the major findings. The complete results have been stored at: $(pwd)/bench_results.txt "
|
||||
|
|
Loading…
Reference in a new issue