2016-04-16 17:25:48 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# CIs Deb
|
|
|
|
#
|
|
|
|
# CIS Debian 7 Hardening
|
|
|
|
# Authors : Thibault Dewailly, OVH <thibault.dewailly@corp.ovh.com>
|
|
|
|
#
|
|
|
|
|
|
|
|
#
|
|
|
|
# Main script : Execute hardening considering configuration
|
|
|
|
#
|
|
|
|
|
|
|
|
# Execute blindly binaries
|
|
|
|
# Audit mode
|
|
|
|
|
2016-04-16 18:55:44 +02:00
|
|
|
# ls | sort -V
|
2016-04-17 23:19:41 +02:00
|
|
|
|
|
|
|
cd /opt/cis-hardening/bin/hardening
|
|
|
|
for i in $(ls | sort -V); do
|
|
|
|
echo "$i"
|
|
|
|
./$i --audit
|
|
|
|
done
|