Undated Installed to include disclaimer and exit option

This commit is contained in:
Ben Waugh
2012-05-09 11:40:35 +10:00
parent a62b77cc1d
commit ff0dd7e9e2

View File

@@ -19,6 +19,16 @@ echo "======================================"
echo " BeEF Installer "
echo "======================================"
echo ""
echo "CAUTION: This installation script will install a number of BeEF dependencies including the Ruby-RVM environment and it's dependencies."
echo ""
echo "In rare cases, this may lead to unexpected behaviour or package conflicts on some systems."
echo ""
read -p "Are you sure you wish to continue (Y/n)? "
if [ "`echo ${REPLY} | tr [:upper:] [:lower:]`" == "n" ] ; then
exit;
fi
echo "Detecting OS..";