From 2c21fa62480cd20dadde579a2e7fb80d0d1587b8 Mon Sep 17 00:00:00 2001 From: Mathew Fleisch Date: Fri, 24 Mar 2017 16:14:57 -0700 Subject: [PATCH] fix which php bug --- payloads/library/BrowserBunny/payload.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/payloads/library/BrowserBunny/payload.txt b/payloads/library/BrowserBunny/payload.txt index 651e25ca..073f01d3 100644 --- a/payloads/library/BrowserBunny/payload.txt +++ b/payloads/library/BrowserBunny/payload.txt @@ -29,7 +29,7 @@ wget -q --tries=15 --timeout=5 --spider http://example.com [[ "$?" -ne 0 ]] && { LED R; echo "Could not connect to the internet" >> $log_file; exit 1; } LED R G -[[ ! `which phpp` ]] && { LED R; echo "Php not installed... install it!" >> $log_file; apt-get install -y php5-cli &>> $log_file; } +[[ ! `which php` ]] && { LED R G 200; echo "Php not installed... install it!" >> $log_file; apt-get install -y php5-cli &>> $log_file; } LED G