Added GTKHash

This commit is contained in:
TangoBravo14
2019-09-21 12:53:08 -07:00
parent e4aeb16598
commit 51ff687110
+18 -1
View File
@@ -289,6 +289,15 @@ if hash filezilla 2>/dev/null; then
else
FZVER="NOT INSTALLED"
fi
if hash gtkhash 2>/dev/null; then
GTKHASHVER="INSTALLED"
else
GTKHASHVER="NOT INSTALLED"
fi
}
@@ -2277,6 +2286,10 @@ function iceweasel_install() {
sudo apt-get install -y iceweasel
}
function gtkhash_install() {
sudo apt-get install -y gtkhash
}
function harden_ssh() {
if [[ ! -f $HOME/.ssh/authorized_keys ]]; then
mkdir -p $HOME/.ssh/ && touch $HOME/.ssh/authorized_keys ||
@@ -2809,6 +2822,7 @@ yad --image=/tmp/banner.png --center --checklist --print-column=2 --separator=""
false "KEEPASS" "KepassXC password manager" "${KEEPASSXCVER}" \
false "ICEWEASEL" "Firefox secure browser" "${ICEWEASELVER}" \
false "PFE" "Paranoia Tools File Encrypter. Encrypt/Decrypt messages and perform Steganography" "${PTEVER}" \
false "GTKHASH" "GTK based file hash tool" "${GTKHASHVER}" \
false "VERACRYPT" "Disk/File Encryption. $NEWVC available for Linux. 1.21 available for Raspberry Pi at this time." "" \
false "BITMESSAGE" "Bitmessage secure decentralized email" "" \
false "HARDEN_SSH" "Change folder permissions and provide SSH tips document." "" \
@@ -2820,7 +2834,7 @@ yad --image=/tmp/banner.png --center --checklist --print-column=2 --separator=""
rc=$?
if [[ $rc == 2 ]]; then
securityArray=(FAIL2BAN KEEPASS ICEWEASEL PFE VERACRYPT BITMESSAGE HARDEN_SSH)
securityArray=(FAIL2BAN KEEPASS ICEWEASEL PFE VERACRYPT BITMESSAGE HARDEN_SSH GTKHASH)
for i in "${securityArray[@]}"
do
@@ -3281,6 +3295,9 @@ cat /tmp/results | yad --text-info --center \
ICEWEASEL) echo "Installing iceweasel"
iceweasel_install
;;
GTKHASH) echo "Installing GTK Hash"
gtkhash_install
;;
HARDEN_SSH) echo "Hardening SSH and creating guide at $HOME/Documents"
harden_ssh
;;