Skip to content

Commit 00af1f8

Browse files
authored
Merge pull request #46 from MechBot-2x/mechmind-dwv-patch-15
Create audit.sh
2 parents 46dfcf9 + c6e65a1 commit 00af1f8

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

audit.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
# En audit.sh
3+
check_ssl() {
4+
openssl s_client -connect $1:443 | grep "TLSv1.3"
5+
}
6+
check_db_encryption() {
7+
psql -c "SHOW ssl;" | grep "on"
8+
}

0 commit comments

Comments
 (0)