diff --git a/scripts/analyze/client/big_files.sh b/scripts/analyze/client/big_files.sh deleted file mode 100644 index f10d803..0000000 --- a/scripts/analyze/client/big_files.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -# @author Kevin Veen-Birkenbach -# shellcheck source=/dev/null # Deactivate SC1090 -source "$(dirname "$(readlink -f "${0}")")/../../base.sh" || (echo "Loading base.sh failed." && exit 1) -info "Searching for files which are in \"$HOME\" and bigger then 100MB..." -find ~ -type f -size +100M -exec ls -lh {} \; diff --git a/scripts/analyze/client/false_chown.sh b/scripts/analyze/client/false_chown.sh deleted file mode 100644 index 8305c1c..0000000 --- a/scripts/analyze/client/false_chown.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -# @author Kevin Veen-Birkenbach -# shellcheck source=/dev/null # Deactivate SC1090 -source "$(dirname "$(readlink -f "${0}")")/../../base.sh" || (echo "Loading base.sh failed." && exit 1) -info "Searching for files which are in \"$HOME\" but don't belong to user \"$USER\"..." -sudo find "$HOME" ! -user "$USER" diff --git a/scripts/analyze/client/file_duplicates.sh b/scripts/analyze/client/file_duplicates.sh deleted file mode 100644 index 9e69d57..0000000 --- a/scripts/analyze/client/file_duplicates.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -# @author Kevin Veen-Birkenbach -# shellcheck source=/dev/null # Deactivate SC1090 -source "$(dirname "$(readlink -f "${0}")")/../../base.sh" || (echo "Loading base.sh failed." && exit 1) -info "Checking relevant home folders for duplicated files..." -fdupes -r "$HOME/Documents/" "$HOME/Downloads/" "$HOME/Images/" "$HOME/Desktop/" "$HOME/Music/" "$HOME/Pictures/" "$HOME/Videos" diff --git a/scripts/analyze/client/java_versions.sh b/scripts/analyze/client/java_versions.sh deleted file mode 100644 index e083f2d..0000000 --- a/scripts/analyze/client/java_versions.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -# @author Kevin Veen-Birkenbach -# shellcheck source=/dev/null # Deactivate SC1090 -source "$(dirname "$(readlink -f "${0}")")/../../base.sh" || (echo "Loading base.sh failed." && exit 1) -info "Showing the installed Java versions..." && -archlinux-java status diff --git a/scripts/analyze/client/linux_kernel.sh b/scripts/analyze/client/linux_kernel.sh deleted file mode 100644 index 0bc1b3a..0000000 --- a/scripts/analyze/client/linux_kernel.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# @author Kevin Veen-Birkenbach -# shellcheck source=/dev/null # Deactivate SC1090 -source "$(dirname "$(readlink -f "${0}")")/../../base.sh" || (echo "Loading base.sh failed." && exit 1) -info "Linux-Kernel: $(uname -r)" diff --git a/scripts/analyze/client/not_encrypted_ssh_keys.sh b/scripts/analyze/client/not_encrypted_ssh_keys.sh deleted file mode 100644 index d39191d..0000000 --- a/scripts/analyze/client/not_encrypted_ssh_keys.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -# @see https://stackoverflow.com/questions/32408820/how-to-list-files-and-match-first-line-in-bash-script -# @see https://unix.stackexchange.com/questions/298590/using-find-non-recursively -# @see https://security.stackexchange.com/questions/129724/how-to-check-if-an-ssh-private-key-has-passphrase-or-not -find "$HOME/.ssh" -maxdepth 1 -type f -print0 | while IFS= read -r -d $'\0' file; do - if [[ $(head -n1 "$file") == "-----BEGIN OPENSSH PRIVATE KEY-----" ]]; then - echo "Test file: $file" - ssh-keygen -y -P "" -f "$file" - fi -done