Forgotten admin password and a Fortiswitch 224d-poe

sup all so i’ve been working with a fortiswitch 224d-poe at home for a while when the thing went bat shit on me. When i tried to access the admin console i realized that i had forgotten the password. Below are the steps i used for wiping switch back to factory default with latest (as … Read More

zshrc and password generator

so i added two different password generator functions into my .zshrc. one for regular: function genpasswd() { if [ -z $1 ]; then echo “need a character count” else tr -dc A-Za-z0-9_ < /dev/urandom | head -c ${1} | xargs fi } and one for strong: function genpasswd_strong() { if [ -z $1 ]; then ... Read More