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
673271763e
commit
5e137669a2
@ -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 New Issue
Block a user