mirror of
https://github.com/The-Art-of-Hacking/h4cker
synced 2025-02-16 22:08:25 +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"
|
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
|
docker/docker-bench-security > bench_results.txt
|
||||||
|
|
||||||
|
|
||||||
cat bench_results.txt
|
cat bench_results.txt | grep WARN
|
||||||
echo "The results have been stored at $(pwd)/bench_results.txt "
|
echo "The output above only includes the major findings. The complete results have been stored at: $(pwd)/bench_results.txt "
|
||||||
|
|
Loading…
Add table
Reference in a new issue