Update dinopass

This commit is contained in:
Nick Trochalakis
2025-02-05 01:45:32 -08:00
committed by GitHub
parent 640ccdb4ec
commit a91badfe42
+15 -3
View File
@@ -7,14 +7,26 @@
STRONG_URL="https://www.dinopass.com/password/strong" STRONG_URL="https://www.dinopass.com/password/strong"
SIMPLE_URL="https://www.dinopass.com/password/simple" SIMPLE_URL="https://www.dinopass.com/password/simple"
if [ "$1" == "strong" ]; then if [ "$1" == "" ]; then
curl $STRONG_URL echo " __"
echo " / _) -- I'm DinoPass and I can help you administer"
echo " _.----._/ / your passwords in a dino-easy way!"
echo "/ /"
echo "" echo ""
echo "" echo ""
echo "Use 'dinopass simple' to generate a simple password"
echo " lower case letters and number"
echo ""
echo "Use 'dinopass strong' to generate a strong password"
echo " mixed upper and lowercase letters, a special character, plus numbers"
elif [ "$1" == "simple" ]; then elif [ "$1" == "simple" ]; then
curl $SIMPLE_URL curl $SIMPLE_URL
echo "" echo ""
echo "" echo ""
elif [ "$1" == "strong" ]; then
curl $STRONG_URL
echo ""
echo ""
else else
echo "Invalid command. Use 'strong' or 'simple'." echo "Invalid command. Use 'simple' or 'strong'."
fi fi