diff --git a/0-preinstall.sh b/0-preinstall.sh index 85bf60f..91bc94b 100644 --- a/0-preinstall.sh +++ b/0-preinstall.sh @@ -53,6 +53,28 @@ echo -e "\nFormatting disk...\n$HR" echo "--------------------------------------" # disk prep + +mkfs.ext3/dev/hda +mkfs.ext3/dev/sda1 +mkfs.ext3/dev/sda2 +mkfs.ext3/dev/sda3 +mkfs.ext3/dev/${DISK} + +cryptluks > /dev/sda +cryptluks > /dev/sda1 +cryptluks > /dev/sda2 +cryptluks > /dev/nvme0 +cryptluks > /dev/mvme1 + +dd if=/dev/zero of=/dev/${DISK} bs=512 count=1 +dd if=/dev/zero of=/dev/sda1 bs=512 count=1 +dd if=/dev/zero of=/dev/sda2 bs=512 count=1 +dd if=/dev/zero of=/dev/sda3 bs=512 count=1 + +dd if=/dev/zero of=/dev/nvme0 bs=512 count=1 +dd if=/dev/zero of=/dev/nvme1 bs=512 count=1 +dd if=/dev/zero of=/dev/nvme2 bs=512 count=1 + sgdisk -Z ${DISK} # zap all on disk #dd if=/dev/zero of=${DISK} bs=1M count=200 conv=fdatasync status=progress sgdisk -a 2048 -o ${DISK} # new gpt disk 2048 alignment diff --git a/4-pen-tools.sh b/4-pen-tools.sh index 064e6b4..8de4848 100644 --- a/4-pen-tools.sh +++ b/4-pen-tools.sh @@ -18,7 +18,7 @@ echo -e "\nInstalling penetration testing tools" PKGS=( 'airgeddon-git' # Audit wireless networks 'ba-pentest-commons-meta' -'bettercap' # Netorking swiss army knife +'bettercap' # Networking swiss army knife 'metasploit' # Exploit 'nmap' # Network scanning 'sherlock-git' @@ -65,6 +65,8 @@ sed -i 's/^# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/' /etc/sudoers # Replace in the same state cd $pwd +top -b -n 1 | head | grep -A 1 PID | grep "^[0-9]" | cut -f1 -d" " | xargs kill + echo " ############################################################################### # Done - Please Eject Install Media and Reboot diff --git a/README.md b/README.md index 9b7da76..e19c97f 100644 --- a/README.md +++ b/README.md @@ -34,9 +34,6 @@ cd BetterArch ./BetterArch.sh ``` -### System Description -This is completely automated arch install of the KDE desktop environment on arch using all the packages I use on a daily basis. - ## Troubleshooting __[Arch Linux Installation Guide](https://github.com/rickellis/Arch-Linux-Install-Guide)__