From 70f70a339f2d8e2f32c877d64e7ecfa01656c9e4 Mon Sep 17 00:00:00 2001 From: Ben Waugh Date: Wed, 9 May 2012 11:42:30 +1000 Subject: [PATCH] Revert "Revert "Undated Installed to include disclaimer and exit option"" This reverts commit 13c75e87c95c93941f296c88346397ad7c74514a. --- install-beef | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/install-beef b/install-beef index 2c2401b20..4da7c9bc1 100644 --- a/install-beef +++ b/install-beef @@ -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..";