Executable!

This commit is contained in:
Dewalt 2020-09-28 01:19:02 -05:00
parent 1c0e26b28d
commit 2100ab901e
1 changed files with 10 additions and 2 deletions

View File

@ -44,7 +44,7 @@
type="" type=""
check_distro() { check_distro() {
distro=$(uname -a | grep -i -c "kali") # CHANGE THIS distro=$(uname -a | grep -i -c "manjaro") # CHANGE THIS
if [ $distro -ne 1 ] if [ $distro -ne 1 ]
then echo -e "\n $blinkexclaim Sorry I only work on Kali Linux $blinkexclaim \n"; exit # false then echo -e "\n $blinkexclaim Sorry I only work on Kali Linux $blinkexclaim \n"; exit # false
@ -287,7 +287,8 @@ pimpmykali_menu () {
5) fix_impacket ;; 5) fix_impacket ;;
6) make_rootgreatagain ;; 6) make_rootgreatagain ;;
0) fix_all ;; 0) fix_all ;;
x|X) echo -e "\n\n Exiting pimpmykali.sh - Happy Hacking! \n" ;; x|X) exit_screen ;;
#x|X) echo -e "\n\n Exiting pimpmykali.sh - Happy Hacking! \n" ;;
*) pimpmykali_menu ;; *) pimpmykali_menu ;;
esac esac
} }
@ -322,6 +323,13 @@ check_arg () {
fi fi
} }
exit_screen () {
clear
echo -e "$asciiart"
echo -e "\n\n Happy Hacking! \n"
}
check_for_root check_for_root
check_distro check_distro
check_arg "$1" check_arg "$1"
exit_screen