Permalink
Browse files

Update build and stages to reflect changes

  • Loading branch information...
inferillum committed Oct 30, 2018
1 parent ccd2305 commit 66d40bfbc3ba09d0611f400cc9c49f00d5334767
Showing with 3 additions and 3 deletions.
  1. +1 −1 nethunter-fs/build.sh
  2. +1 −1 nethunter-fs/stages/stage1
  3. +1 −1 nethunter-fs/stages/stage3
@@ -149,7 +149,7 @@ pkg_minimal="openssh-server kali-defaults kali-archive-keyring

# DEFAULT PACKAGES FULL INSTALL
pkg_full="kali-linux-nethunter mana-toolkit exploitdb lua-sql-sqlite3 msfpc
exe2hexbat bettercap libapache2-mod-php7.0 libreadline6-dev
exe2hexbat bettercap libapache2-mod-php7.2 libreadline6-dev
libncurses5-dev libnewlib-arm-none-eabi binutils-arm-none-eabi
gcc-arm-none-eabi autoconf libtool make gcc-6 g++-6
libxml2-dev zlib1g-dev libncurses5-dev"
@@ -25,7 +25,7 @@ update-binfmts --enable "qemu-$qemu_arch"
echo "[+] Starting debootstrap (download)..."
tries=0
max_tries=5
while ! debootstrap --foreign --download-only --verbose --arch $build_arch kali-rolling "$rootfs" http://http.kali.org/kali; do
while ! debootstrap --download-only --verbose --arch $build_arch kali-rolling "$rootfs" http://http.kali.org/kali; do
((tries++))
if [ $tries -ge $max_tries ]; then
echo "[!] Error, maximum retries ($max_tries) reached, could not download packages!"
@@ -48,7 +48,7 @@ if [ "$build_size" = full ]; then
cat << EOF >> "$rootfs/third-stage"
# Enable PHP in Apache
a2enmod php7.0
a2enmod php7.2
# Enable /var/www/html as default, disable mana unless we need it
a2dissite 000-mana-toolkit.conf

0 comments on commit 66d40bf

Please sign in to comment.