#!/bin/zsh function chkdep { type python3 >/dev/null 2>&1 || { echo >&2 "python is missing."; } type wget >/dev/null 2>&1 || { echo >&2 "wget is missing."; } type openssl >/dev/null 2>&1 || { echo >&2 "openssl is missing."; } type john >/dev/null 2>&1 || { echo >&2 "john is missing."; } 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 tor >/dev/null 2>&1 || { echo >&2 "tor is missing."; } type torsocks >/dev/null 2>&1 || { echo >&2 "torsocks is missing."; } type traceroute >/dev/null 2>&1 || { echo >&2 "traceroute is missing."; } type curl >/dev/null 2>&1 || { echo >&2 "curl is missing."; } } chkdep()