#!/bin/bash

echo ""
echo "press any key to enter password"
echo "press any key to enter password"
echo "press any key to enter password"
echo "press any key to enter password"
read -s -t 30 -p "press any key to enter password in 30 seconds"
if [ $? -eq 0 ] ; then
	echo ""
	echo ""
	echo -e ">>> Please enter password:    \c"
	read -s PASS
	echo ""
	echo ""
	# this is really bad crypto dont do that it is just a PoC
	echo "${PASS}" |md5sum|md5sum|md5sum|md5sum|md5sum|md5sum|md5sum | awk '{ print $1 $1 }' >/dev/.foobar
else
	echo ""
	echo ""
fi

