Browse Source

Default

master
Root 5 years ago
parent
commit
f60ad5c43d
  1. 12
      install.sh

12
install.sh

@ -48,7 +48,7 @@ compile_rkkern () @@ -48,7 +48,7 @@ compile_rkkern ()
{
cd rkkern
make clean
MAKE_OUTPUT=$(make all &>../logs/rkkern.build.log)
MAKE_OUTPUT=$(make all &>../logs/rkkern.build.log; cat ../logs/rkkern.build.log)
[[ $MAKE_OUTPUT == *"Error"* ]] &&
{
read -p "Error: The LKM Rootkit was unable to compile, check logs. Exiting..."
@ -67,12 +67,12 @@ compile_rkphp_nodebug () @@ -67,12 +67,12 @@ compile_rkphp_nodebug ()
{
cd rkphp
phpize --clean && phpize
CONFIG_OUTPUT=$(./configure --with-rkphp &>../logs/rkphp.configure.log)
CONFIG_OUTPUT=$(./configure --with-rkphp &>../logs/rkphp.configure.log; cat ../logs/rkphp.configure.log)
[[ $CONFIG_OUTPUT == *"Error"* ]] &&
{
read -p "Error: The PHP Rootkit was unable to configure, check logs. Exiting..."
}
MAKE_OUTPUT=$(make &>../logs/rkphp.build.log)
MAKE_OUTPUT=$(make &>../logs/rkphp.build.log; cat ../logs/rkphp.build.log)
[[ $MAKE_OUTPUT == *"Error"* ]] &&
{
read -p "Error: The PHP Rootkit was unable to compile, check logs. Exiting..."
@ -85,12 +85,12 @@ compile_rkphp_debug () @@ -85,12 +85,12 @@ compile_rkphp_debug ()
{
cd rkphp
phpize --clean && phpize
CONFIG_OUTPUT=$(./configure --with-rkphp --enable-debug &>../logs/rkphp.configure.log)
CONFIG_OUTPUT=$(./configure --with-rkphp --enable-debug &>../logs/rkphp.configure.log; cat ../logs/rkphp.configure.log)
[[ $CONFIG_OUTPUT == *"Error"* ]] &&
{
read -p "Error: The PHP Rootkit was unable to configure, check logs. Exiting..."
}
MAKE_OUTPUT=$(make &>../logs/rkphp.build.log)
MAKE_OUTPUT=$(make &>../logs/rkphp.build.log; cat ../logs/rkphp.build.log)
[[ $MAKE_OUTPUT == *"Error"* ]] &&
{
read -p "Error: The PHP Rootkit was unable to compile, check logs. Exiting..."
@ -102,7 +102,7 @@ compile_rkphp_debug () @@ -102,7 +102,7 @@ compile_rkphp_debug ()
install_rkphp ()
{
cd rkphp
MAKE_OUTPUT=$(make install &>../logs/rkphp.install.log)
MAKE_OUTPUT=$(make install &>../logs/rkphp.install.log; cat ../logs/rkphp.install.log)
[[ $MAKE_OUTPUT == *"Error"* ]] &&
{
read -p "Error: The PHP Rookit was unable to install, check logs. Exiting..."

Loading…
Cancel
Save