From 68178140fe60d0aefb57901eafd99b5691921cf8 Mon Sep 17 00:00:00 2001 From: byt3bl33d3r Date: Sun, 19 Oct 2014 11:21:53 +0200 Subject: [PATCH] modified binkybears install script --- install-bdfactory.sh | 3 --- install.sh | 7 ------- update.sh | 9 +++++++-- 3 files changed, 7 insertions(+), 12 deletions(-) delete mode 100755 install-bdfactory.sh delete mode 100644 install.sh diff --git a/install-bdfactory.sh b/install-bdfactory.sh deleted file mode 100755 index bea5715..0000000 --- a/install-bdfactory.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash -git submodule init -git submodule update diff --git a/install.sh b/install.sh deleted file mode 100644 index 3b2f24e..0000000 --- a/install.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash -sudo apt-get install python-pip msgpack-python python-nfqueue python-imaging capstone -y -sudo apt-get install python-requests python-configobj python-pefile -y -pip install capstone -./update.sh -./install-bdfactory.sh -./bdfactory/update.sh diff --git a/update.sh b/update.sh index edd9198..8cbb61d 100755 --- a/update.sh +++ b/update.sh @@ -1,7 +1,12 @@ -#!/bin/bash +#!/usr/bin/env bash +if [[ $EUID -ne 0 ]]; then + echo "You must root" 2>&1 + exit 1 +fi + echo 'Updating MITMf' git pull echo 'Updating the-backdoor-factory' cd bdfactory/ git pull origin master - +./update.sh