Update some docs.

This commit is contained in:
Samson-W 2020-04-26 01:02:36 +08:00
parent d54fa4f75c
commit 7bee47fbf1
3 changed files with 18 additions and 11 deletions

View File

@ -19,7 +19,9 @@ See the documentation for more details:
``` ```
# bash bin/hardening.sh --audit-all # bash bin/hardening.sh --audit-all
# This is set special service to exception(6.10) ```
This is set special service to exception(6.10)
```
# bash bin/hardening.sh --set-hardening-level 5 --allow-service http # bash bin/hardening.sh --set-hardening-level 5 --allow-service http
# bash bin/hardening.sh --audit-all # bash bin/hardening.sh --audit-all
# bash bin/hardening.sh --apply # bash bin/hardening.sh --apply

View File

@ -7,7 +7,11 @@
``` ```
# iptables-restore iptables_ufw-4-server.cfg # iptables-restore iptables_ufw-4-server.cfg
# bash bin/hardening.sh --audit-all # bash bin/hardening.sh --audit-all
# This is set special service to exception(6.2 6.3 6.10) ```
This is set special service to exception(6.2 6.3 6.10)
```
# bash bin/hardening.sh --set-hardening-level 5 --allow-service dns,http,cups # bash bin/hardening.sh --set-hardening-level 5 --allow-service dns,http,cups
# bash bin/hardening.sh --audit-all # bash bin/hardening.sh --audit-all
# bash bin/hardening.sh --apply # bash bin/hardening.sh --apply
@ -17,12 +21,11 @@
``` ```
# iptables-restore iptables_ufw-4-client.cfg # iptables-restore iptables_ufw-4-client.cfg
# bash bin/hardening.sh --audit-all # bash bin/hardening.sh --audit-all
# This is set special service to exception(6.10) ```
This is set special service to exception(6.10)
```
# bash bin/hardening.sh --set-hardening-level 5 --allow-service http # bash bin/hardening.sh --set-hardening-level 5 --allow-service http
# bash bin/hardening.sh --audit-all # bash bin/hardening.sh --audit-all
# bash bin/hardening.sh --apply # bash bin/hardening.sh --apply
``` ```

View File

@ -7,7 +7,9 @@
``` ```
# iptables-restore iptables_ufw-4-server.cfg # iptables-restore iptables_ufw-4-server.cfg
# bash bin/hardening.sh --audit-all # bash bin/hardening.sh --audit-all
# This is set special service to exception(6.2 6.3 6.10) ```
This is set special service to exception(6.2 6.3 6.10)
```
# bash bin/hardening.sh --set-hardening-level 5 --allow-service dns,http,cups # bash bin/hardening.sh --set-hardening-level 5 --allow-service dns,http,cups
# bash bin/hardening.sh --audit-all # bash bin/hardening.sh --audit-all
# bash bin/hardening.sh --apply # bash bin/hardening.sh --apply
@ -17,11 +19,11 @@
``` ```
# iptables-restore iptables_ufw-4-client.cfg # iptables-restore iptables_ufw-4-client.cfg
# bash bin/hardening.sh --audit-all # bash bin/hardening.sh --audit-all
# This is set special service to exception(6.10) ```
This is set special service to exception(6.10)
```
# bash bin/hardening.sh --set-hardening-level 5 --allow-service http # bash bin/hardening.sh --set-hardening-level 5 --allow-service http
# bash bin/hardening.sh --audit-all # bash bin/hardening.sh --audit-all
# bash bin/hardening.sh --apply # bash bin/hardening.sh --apply
``` ```