forked from six/CryptoZSH
33 lines
1.2 KiB
Bash
Executable File
33 lines
1.2 KiB
Bash
Executable File
#!/bin/zsh
|
|
# Dependency check for gen6zsh
|
|
|
|
echo "Checking dependencies..."
|
|
|
|
chkdep() {
|
|
# Web n code
|
|
type python3 >/dev/null 2>&1 || { echo >&2 "python is missing."; }
|
|
type wget >/dev/null 2>&1 || { echo >&2 "wget is missing."; }
|
|
type websocat >/dev/null 2>&1 || { echo >&2 "wget is missing."; }
|
|
|
|
# G6 Substrate
|
|
# SS58 Converter: http://github.com/shamilsan/ss58.org
|
|
type subkey >/dev/null 2>&1 || { echo >&2 "subkey is missing."; }
|
|
type openssl >/dev/null 2>&1 || { echo >&2 "openssl is missing."; }
|
|
type curl >/dev/null 2>&1 || { echo >&2 "curl is missing."; }
|
|
|
|
# General tools
|
|
type rar >/dev/null 2>&1 || { echo >&2 "rar is missing."; }
|
|
type zip >/dev/null 2>&1 || { echo >&2 "zip is missing."; }
|
|
type unzip >/dev/null 2>&1 || { echo >&2 "unzip is missing."; }
|
|
type traceroute >/dev/null 2>&1 || { echo >&2 "traceroute is missing."; }
|
|
|
|
#secu
|
|
#type john >/dev/null 2>&1 || { echo >&2 "john is missing."; }
|
|
#type aircrack-ng >/dev/null 2>&1 || { echo >&2 "aircrack is missing."; }
|
|
#type tor >/dev/null 2>&1 || { echo >&2 "tor is missing."; }
|
|
#type torsocks >/dev/null 2>&1 || { echo >&2 "torsocks is missing."; }
|
|
|
|
}
|
|
|
|
chkdep
|