├── etc ├── .config ├── lite │ ├── etc │ │ ├── .config │ │ └── root │ │ │ └── password │ ├── version.txt │ ├── app │ │ ├── ehtools.png │ │ └── ehtools.desktop │ ├── dev │ │ ├── dev2 │ │ ├── dev21 │ │ └── dev1 │ ├── lib │ │ ├── libconf │ │ ├── libunconf │ │ ├── liblogin │ │ ├── libunlogin │ │ ├── libchattr │ │ ├── libunchattr │ │ ├── libenc │ │ └── libdec │ ├── eht │ │ ├── eht31 │ │ ├── eht21 │ │ └── eht2 │ ├── bin │ │ ├── ehtkey │ │ ├── ehtapp │ │ ├── uiecache │ │ ├── epasswd │ │ └── ehtools │ ├── uninstall.sh │ └── install.sh ├── root │ └── password └── pro │ └── install.sh ├── version.txt ├── app ├── ehtools.png └── ehtools.desktop ├── dev ├── dev2 ├── dev21 └── dev1 ├── install.sh ├── lib ├── libconf ├── libunconf ├── liblogin ├── libunlogin ├── libchattr ├── libunchattr ├── libactiv ├── libenc └── libdec ├── eht ├── eht41 ├── eht31 ├── eht21 ├── eht42 ├── eht43 └── eht4 ├── bin ├── ehtkey ├── ehtapp ├── uiecache └── epasswd └── uninstall.sh /etc/.config: -------------------------------------------------------------------------------- 1 | 1001 2 | -------------------------------------------------------------------------------- /version.txt: -------------------------------------------------------------------------------- 1 | 3.0.0 2 | -------------------------------------------------------------------------------- /etc/lite/etc/.config: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /etc/root/password: -------------------------------------------------------------------------------- 1 | toor 2 | -------------------------------------------------------------------------------- /etc/lite/version.txt: -------------------------------------------------------------------------------- 1 | 3.0.0 2 | -------------------------------------------------------------------------------- /etc/lite/etc/root/password: -------------------------------------------------------------------------------- 1 | toor 2 | -------------------------------------------------------------------------------- /app/ehtools.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Agent00049/ehtools/master/app/ehtools.png -------------------------------------------------------------------------------- /etc/lite/app/ehtools.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Agent00049/ehtools/master/etc/lite/app/ehtools.png -------------------------------------------------------------------------------- /app/ehtools.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Name=ehtools 3 | Encoding=UTF-8 4 | Exec=sh -c "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/bin/ehtools && bash /bin/ehtools/ehtools && exit;${SHELL:-bash}" 5 | Icon=/etc/ehtools/app/ehtools.png 6 | StartupNotify=false 7 | Terminal=true 8 | Type=Application 9 | Categories=01-info-gathering;02-vulnerability-analysis;03-webapp-analysis;04-database-assessment;05-password-attacks;06-wireless-attacks;07-reverseengineer;08-exploitation-tools;09-sniffing-spoofing;10-maintaining-access;11-forensics;12-reporting;13-social-engineering-tools; 10 | X-Kali-Package=ehtools 11 | -------------------------------------------------------------------------------- /etc/lite/app/ehtools.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Name=ehtools 3 | Encoding=UTF-8 4 | Exec=sh -c "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/bin/ehtools && bash /bin/ehtools/ehtools && exit;${SHELL:-bash}" 5 | Icon=/etc/ehtools/app/ehtools.png 6 | StartupNotify=false 7 | Terminal=true 8 | Type=Application 9 | Categories=01-info-gathering;02-vulnerability-analysis;03-webapp-analysis;04-database-assessment;05-password-attacks;06-wireless-attacks;07-reverseengineer;08-exploitation-tools;09-sniffing-spoofing;10-maintaining-access;11-forensics;12-reporting;13-social-engineering-tools; 10 | X-Kali-Package=ehtools 11 | -------------------------------------------------------------------------------- /etc/lite/dev/dev2: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # -------------------------------------------------- 5 | # Ehtools Framework 6 | # -------------------------------------------------- 7 | # Copyright (C) <2015> 8 | # 9 | # This program is free software: you can redistribute it and/or modify 10 | # it under the terms of the GNU General Public License as published by 11 | # the Free Software Foundation, either version 3 of the License, or 12 | # any later version. 13 | # 14 | # This program is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | # GNU General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU General Public License 20 | # along with this program. If not, see . 21 | # 22 | # 23 | # About Author : 24 | # Founder : Ehtools Team 25 | # Site : https://ehtools.pro/ 26 | # Instagram : @ehtools_framework 27 | # Twitter : @ehtools 28 | # Email : contact@ehtools.pro 29 | # 30 | 31 | CE="\e[0m" 32 | RS="\e[1;31m" 33 | YS="\e[1;33m" 34 | 35 | if [[ $EUID -ne 0 ]] 36 | then 37 | sleep 1 38 | echo -e "["$RS"*"$CE"] "$RS"This script must be run as "$YS"root"$RS"!"$CE"" 1>&2 39 | sleep 1 40 | exit 41 | fi 42 | 43 | arpspoof -i $GATEINT -t $TARGIP $GATENM 44 | read 45 | -------------------------------------------------------------------------------- /etc/lite/dev/dev21: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # -------------------------------------------------- 5 | # Ehtools Framework 6 | # -------------------------------------------------- 7 | # Copyright (C) <2015> 8 | # 9 | # This program is free software: you can redistribute it and/or modify 10 | # it under the terms of the GNU General Public License as published by 11 | # the Free Software Foundation, either version 3 of the License, or 12 | # any later version. 13 | # 14 | # This program is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | # GNU General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU General Public License 20 | # along with this program. If not, see . 21 | # 22 | # 23 | # About Author : 24 | # Founder : Ehtools Team 25 | # Site : https://ehtools.pro/ 26 | # Instagram : @ehtools_framework 27 | # Twitter : @ehtools 28 | # Email : contact@ehtools.pro 29 | # 30 | 31 | CE="\e[0m" 32 | RS="\e[1;31m" 33 | YS="\e[1;33m" 34 | 35 | if [[ $EUID -ne 0 ]] 36 | then 37 | sleep 1 38 | echo -e "["$RS"*"$CE"] "$RS"This script must be run as "$YS"root"$RS"!"$CE"" 1>&2 39 | sleep 1 40 | exit 41 | fi 42 | 43 | arpspoof -i $GATEINT -t $GATENM $TARGIP 44 | read 45 | -------------------------------------------------------------------------------- /etc/lite/dev/dev1: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # -------------------------------------------------- 5 | # Ehtools Framework 6 | # -------------------------------------------------- 7 | # Copyright (C) <2015> 8 | # 9 | # This program is free software: you can redistribute it and/or modify 10 | # it under the terms of the GNU General Public License as published by 11 | # the Free Software Foundation, either version 3 of the License, or 12 | # any later version. 13 | # 14 | # This program is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | # GNU General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU General Public License 20 | # along with this program. If not, see . 21 | # 22 | # 23 | # About Author : 24 | # Founder : Ehtools Team 25 | # Site : https://ehtools.pro/ 26 | # Instagram : @ehtools_framework 27 | # Twitter : @ehtools 28 | # Email : contact@ehtools.pro 29 | # 30 | 31 | CE="\e[0m" 32 | RS="\e[1;31m" 33 | YS="\e[1;33m" 34 | 35 | if [[ $EUID -ne 0 ]] 36 | then 37 | sleep 1 38 | echo -e "["$RS"*"$CE"] "$RS"This script must be run as "$YS"root"$RS"!"$CE"" 1>&2 39 | sleep 1 40 | exit 41 | fi 42 | 43 | cd /root 44 | git clone https://github.com/LeonardoNve/dns2proxy 45 | cd dns2proxy 46 | python /root/dns2proxy/dns2proxy.py 47 | read 48 | -------------------------------------------------------------------------------- /etc/lite/lib/libconf: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # -------------------------------------------------- 5 | # Ehtools Libraries 6 | # -------------------------------------------------- 7 | # Copyright (C) <2015> 8 | # 9 | # This program is free software: you can redistribute it and/or modify 10 | # it under the terms of the GNU General Public License as published by 11 | # the Free Software Foundation, either version 3 of the License, or 12 | # any later version. 13 | # 14 | # This program is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | # GNU General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU General Public License 20 | # along with this program. If not, see . 21 | # 22 | # 23 | # About Author : 24 | # Founder : Entynetproject (Ivan Nikolsky) 25 | # Site : http://entynetproject.simplesite.com/ 26 | # Instagram : @entynetproject 27 | # Twitter : @entynetproject 28 | # Email : entynetproject@gmail.com 29 | # 30 | 31 | CE="\e[0m" 32 | RS="\e[1;31m" 33 | YS="\e[1;33m" 34 | 35 | if [[ $EUID -ne 0 ]] 36 | then 37 | sleep 1 38 | echo -e "["$RS"*"$CE"] "$RS"This script must be run as "$YS"root"$RS"!"$CE"" 1>&2 39 | sleep 1 40 | exit 41 | fi 42 | 43 | { 44 | chattr +i /etc/ehtools/.config 45 | chattr +i /etc/ehtools 46 | chattr +i /root/ehtools/etc 47 | chattr +i /root/ehtools/etc/.config 48 | } &> /dev/null 49 | -------------------------------------------------------------------------------- /etc/lite/lib/libunconf: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # -------------------------------------------------- 5 | # Ehtools Libraries 6 | # -------------------------------------------------- 7 | # Copyright (C) <2015> 8 | # 9 | # This program is free software: you can redistribute it and/or modify 10 | # it under the terms of the GNU General Public License as published by 11 | # the Free Software Foundation, either version 3 of the License, or 12 | # any later version. 13 | # 14 | # This program is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | # GNU General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU General Public License 20 | # along with this program. If not, see . 21 | # 22 | # 23 | # About Author : 24 | # Founder : Entynetproject (Ivan Nikolsky) 25 | # Site : http://entynetproject.simplesite.com/ 26 | # Instagram : @entynetproject 27 | # Twitter : @entynetproject 28 | # Email : entynetproject@gmail.com 29 | # 30 | 31 | CE="\e[0m" 32 | RS="\e[1;31m" 33 | YS="\e[1;33m" 34 | 35 | if [[ $EUID -ne 0 ]] 36 | then 37 | sleep 1 38 | echo -e "["$RS"*"$CE"] "$RS"This script must be run as "$YS"root"$RS"!"$CE"" 1>&2 39 | sleep 1 40 | exit 41 | fi 42 | 43 | { 44 | chattr -i /etc/ehtools/.config 45 | chattr -i /etc/ehtools 46 | chattr -i /root/ehtools/etc 47 | chattr -i /root/ehtools/etc/.config 48 | } &> /dev/null 49 | -------------------------------------------------------------------------------- /etc/lite/lib/liblogin: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # -------------------------------------------------- 5 | # Ehtools Libraries 6 | # -------------------------------------------------- 7 | # Copyright (C) <2015> 8 | # 9 | # This program is free software: you can redistribute it and/or modify 10 | # it under the terms of the GNU General Public License as published by 11 | # the Free Software Foundation, either version 3 of the License, or 12 | # any later version. 13 | # 14 | # This program is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | # GNU General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU General Public License 20 | # along with this program. If not, see . 21 | # 22 | # 23 | # About Author : 24 | # Founder : Entynetproject (Ivan Nikolsky) 25 | # Site : http://entynetproject.simplesite.com/ 26 | # Instagram : @entynetproject 27 | # Twitter : @entynetproject 28 | # Email : entynetproject@gmail.com 29 | # 30 | 31 | CE="\e[0m" 32 | RS="\e[1;31m" 33 | YS="\e[1;33m" 34 | 35 | if [[ $EUID -ne 0 ]] 36 | then 37 | sleep 1 38 | echo -e "["$RS"*"$CE"] "$RS"This script must be run as "$YS"root"$RS"!"$CE"" 1>&2 39 | sleep 1 40 | exit 41 | fi 42 | 43 | { 44 | chattr +i /etc/ehtools 45 | chattr +i /etc/ehtools/login 46 | chattr +i /etc/ehtools/password 47 | chattr +i /etc/ehtools/root 48 | chattr +i /etc/ehtools/root/password 49 | } &> /dev/null 50 | -------------------------------------------------------------------------------- /etc/lite/lib/libunlogin: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # -------------------------------------------------- 5 | # Ehtools Libraries 6 | # -------------------------------------------------- 7 | # Copyright (C) <2015> 8 | # 9 | # This program is free software: you can redistribute it and/or modify 10 | # it under the terms of the GNU General Public License as published by 11 | # the Free Software Foundation, either version 3 of the License, or 12 | # any later version. 13 | # 14 | # This program is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | # GNU General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU General Public License 20 | # along with this program. If not, see . 21 | # 22 | # 23 | # About Author : 24 | # Founder : Entynetproject (Ivan Nikolsky) 25 | # Site : http://entynetproject.simplesite.com/ 26 | # Instagram : @entynetproject 27 | # Twitter : @entynetproject 28 | # Email : entynetproject@gmail.com 29 | # 30 | 31 | CE="\e[0m" 32 | RS="\e[1;31m" 33 | YS="\e[1;33m" 34 | 35 | if [[ $EUID -ne 0 ]] 36 | then 37 | sleep 1 38 | echo -e "["$RS"*"$CE"] "$RS"This script must be run as "$YS"root"$RS"!"$CE"" 1>&2 39 | sleep 1 40 | exit 41 | fi 42 | 43 | { 44 | chattr -i /etc/ehtools 45 | chattr -i /etc/ehtools/login 46 | chattr -i /etc/ehtools/password 47 | chattr -i /etc/ehtools/root 48 | chattr -i /etc/ehtools/root/password 49 | } &> /dev/null 50 | -------------------------------------------------------------------------------- /etc/lite/lib/libchattr: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # -------------------------------------------------- 5 | # Ehtools Libraries 6 | # -------------------------------------------------- 7 | # Copyright (C) <2015> 8 | # 9 | # This program is free software: you can redistribute it and/or modify 10 | # it under the terms of the GNU General Public License as published by 11 | # the Free Software Foundation, either version 3 of the License, or 12 | # any later version. 13 | # 14 | # This program is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | # GNU General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU General Public License 20 | # along with this program. If not, see . 21 | # 22 | # 23 | # About Author : 24 | # Founder : Entynetproject (Ivan Nikolsky) 25 | # Site : http://entynetproject.simplesite.com/ 26 | # Instagram : @entynetproject 27 | # Twitter : @entynetproject 28 | # Email : entynetproject@gmail.com 29 | # 30 | 31 | CE="\e[0m" 32 | RS="\e[1;31m" 33 | YS="\e[1;33m" 34 | 35 | if [[ $EUID -ne 0 ]] 36 | then 37 | sleep 1 38 | echo -e "["$RS"*"$CE"] "$RS"This script must be run as "$YS"root"$RS"!"$CE"" 1>&2 39 | sleep 1 40 | exit 41 | fi 42 | 43 | { 44 | chattr +i /bin/ehtools/ehtools 45 | chattr +i /bin/ehtools/ehtconsole 46 | chattr +i /bin/ehtools/epasswd 47 | chattr +i /bin/ehtools/ehtkey 48 | chattr +i /bin/ehtools/ehtmod 49 | chattr +i /bin/ehtools/ehtapp 50 | chattr +i /bin/ehtools/uiecache 51 | chattr +i /etc/ehtools/login 52 | chattr +i /etc/ehtools/password 53 | chattr +i /etc/ehtools 54 | chattr +i /etc/ehtools/root 55 | chattr +i /etc/ehtools/root/password 56 | } &> /dev/null 57 | -------------------------------------------------------------------------------- /etc/lite/lib/libunchattr: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # -------------------------------------------------- 5 | # Ehtools Libraries 6 | # -------------------------------------------------- 7 | # Copyright (C) <2015> 8 | # 9 | # This program is free software: you can redistribute it and/or modify 10 | # it under the terms of the GNU General Public License as published by 11 | # the Free Software Foundation, either version 3 of the License, or 12 | # any later version. 13 | # 14 | # This program is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | # GNU General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU General Public License 20 | # along with this program. If not, see . 21 | # 22 | # 23 | # About Author : 24 | # Founder : Entynetproject (Ivan Nikolsky) 25 | # Site : http://entynetproject.simplesite.com/ 26 | # Instagram : @entynetproject 27 | # Twitter : @entynetproject 28 | # Email : entynetproject@gmail.com 29 | # 30 | 31 | CE="\e[0m" 32 | RS="\e[1;31m" 33 | YS="\e[1;33m" 34 | 35 | if [[ $EUID -ne 0 ]] 36 | then 37 | sleep 1 38 | echo -e "["$RS"*"$CE"] "$RS"This script must be run as "$YS"root"$RS"!"$CE"" 1>&2 39 | sleep 1 40 | exit 41 | fi 42 | 43 | { 44 | chattr -i /bin/ehtools/ehtools 45 | chattr -i /bin/ehtools/ehtconsole 46 | chattr -i /bin/ehtools/epasswd 47 | chattr -i /bin/ehtools/ehtkey 48 | chattr -i /bin/ehtools/ehtmod 49 | chattr -i /bin/ehtools/ehtapp 50 | chattr -i /bin/ehtools/uiecache 51 | chattr -i /etc/ehtools/login 52 | chattr -i /etc/ehtools/password 53 | chattr -i /etc/ehtools 54 | chattr -i /etc/ehtools/root 55 | chattr -i /etc/ehtools/root/password 56 | } &> /dev/null 57 | -------------------------------------------------------------------------------- /etc/lite/lib/libenc: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # -------------------------------------------------- 5 | # Ehtools Libraries 6 | # -------------------------------------------------- 7 | # Copyright (C) <2015> 8 | # 9 | # This program is free software: you can redistribute it and/or modify 10 | # it under the terms of the GNU General Public License as published by 11 | # the Free Software Foundation, either version 3 of the License, or 12 | # any later version. 13 | # 14 | # This program is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | # GNU General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU General Public License 20 | # along with this program. If not, see . 21 | # 22 | # 23 | # About Author : 24 | # Founder : Entynetproject (Ivan Nikolsky) 25 | # Site : http://entynetproject.simplesite.com/ 26 | # Instagram : @entynetproject 27 | # Twitter : @entynetproject 28 | # Email : entynetproject@gmail.com 29 | # 30 | 31 | CE="\e[0m" 32 | RS="\e[1;31m" 33 | YS="\e[1;33m" 34 | 35 | if [[ $EUID -ne 0 ]] 36 | then 37 | sleep 1 38 | echo -e "["$RS"*"$CE"] "$RS"This script must be run as "$YS"root"$RS"!"$CE"" 1>&2 39 | sleep 1 40 | exit 41 | fi 42 | 43 | { 44 | CONF="$( cat /root/ehtools/etc/.config )" 45 | cd /etc/ehtools 46 | chattr -i /etc/ehtools 47 | chattr -i /etc/ehtools/login 48 | openssl enc -aes-256-cbc -pass pass:"$CONF" -p -in login -out login.enc -base64 49 | rm login 50 | mv login.enc login 51 | chattr +i /etc/ehtools/login 52 | chattr -i /etc/ehtools/password 53 | openssl enc -aes-256-cbc -pass pass:"$CONF" -p -in password -out password.enc -base64 54 | rm password 55 | mv password.enc password 56 | chattr +i /etc/ehtools/password 57 | chattr -i /etc/ehtools/root 58 | chattr -i /etc/ehtools/root/password 59 | cd /etc/ehtools/root 60 | openssl enc -aes-256-cbc -pass pass:"$CONF" -p -in password -out password.enc -base64 61 | rm password 62 | mv password.enc password 63 | chattr +i /etc/ehtools/root/password 64 | chattr +i /etc/ehtools/root 65 | chattr +i /etc/ehtools 66 | } &> /dev/null 67 | -------------------------------------------------------------------------------- /etc/lite/eht/eht31: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # -------------------------------------------------- 5 | # Ehtools Framework 6 | # -------------------------------------------------- 7 | # Copyright (C) <2015> 8 | # 9 | # This program is free software: you can redistribute it and/or modify 10 | # it under the terms of the GNU General Public License as published by 11 | # the Free Software Foundation, either version 3 of the License, or 12 | # any later version. 13 | # 14 | # This program is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | # GNU General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU General Public License 20 | # along with this program. If not, see . 21 | # 22 | # 23 | # About Author : 24 | # Founder : Ehtools Team 25 | # Site : https://ehtools.pro/ 26 | # Instagram : @ehtools_framework 27 | # Twitter : @ehtools 28 | # Email : contact@ehtools.pro 29 | # 30 | 31 | CE="\e[0m" 32 | RS="\e[1;31m" 33 | YS="\e[1;33m" 34 | 35 | if [[ $EUID -ne 0 ]] 36 | then 37 | sleep 1 38 | echo -e "["$RS"*"$CE"] "$RS"This script must be run as "$YS"root"$RS"!"$CE"" 1>&2 39 | sleep 1 40 | exit 41 | fi 42 | 43 | #############DEFAULTS############### 44 | #setting yellow-start 45 | YS="\e[1;33m" 46 | #setting color-end 47 | CE="\e[0m" 48 | #setting red-start 49 | RS="\e[1;31m" 50 | #setting frequent stings 51 | YNYES="("$YS"y"$CE"/"$YS"n"$CE")("$YS"Enter"$CE"=yes)" 52 | YNNO="("$YS"y"$CE"/"$YS"n"$CE")("$YS"Enter"$CE"=no)" 53 | YNONLY="("$YS"y"$CE"/"$YS"n"$CE")" 54 | PAKT="Press "$YS"any key$CE to" 55 | PAKTC="Press "$YS"any key$CE to continue..." 56 | PAKTGB="Press "$YS"any key$CE to go back..." 57 | 58 | #################################### 59 | printf '\033]2;REAVER\a' && 60 | WLANNM=$(cat /root/ehtools/wlanmon.txt) 61 | export WLANNM 62 | if [[ "$GLV" = "2" ]] 63 | then 64 | echo -e "Please note that you need a very good signal for this to work." 65 | sleep 3 66 | echo -e "Starting..." 67 | sleep 1 68 | clear 69 | reaver -i $WLANNM -b $BSSIDT -d $DELT -S -N -c $CHANT -vv 70 | echo -e "$PAKTC" 71 | read 72 | elif [[ "$GLV" = "3" ]] 73 | then 74 | reaver -i $WLANNM -b $BSSIDT -p $WPST -vv 75 | echo -e "$PAKTC" 76 | read 77 | 78 | fi 79 | -------------------------------------------------------------------------------- /etc/lite/lib/libdec: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # -------------------------------------------------- 5 | # Ehtools Libraries 6 | # -------------------------------------------------- 7 | # Copyright (C) <2015> 8 | # 9 | # This program is free software: you can redistribute it and/or modify 10 | # it under the terms of the GNU General Public License as published by 11 | # the Free Software Foundation, either version 3 of the License, or 12 | # any later version. 13 | # 14 | # This program is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | # GNU General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU General Public License 20 | # along with this program. If not, see . 21 | # 22 | # 23 | # About Author : 24 | # Founder : Entynetproject (Ivan Nikolsky) 25 | # Site : http://entynetproject.simplesite.com/ 26 | # Instagram : @entynetproject 27 | # Twitter : @entynetproject 28 | # Email : entynetproject@gmail.com 29 | # 30 | 31 | CE="\e[0m" 32 | RS="\e[1;31m" 33 | YS="\e[1;33m" 34 | 35 | if [[ $EUID -ne 0 ]] 36 | then 37 | sleep 1 38 | echo -e "["$RS"*"$CE"] "$RS"This script must be run as "$YS"root"$RS"!"$CE"" 1>&2 39 | sleep 1 40 | exit 41 | fi 42 | 43 | { 44 | CONF="$( cat /root/ehtools/etc/.config )" 45 | cd /etc/ehtools 46 | chattr -i /etc/ehtools 47 | chattr -i /etc/ehtools/login 48 | openssl enc -aes-256-cbc -base64 -pass pass:"$CONF" -d -p -in login -out login.dec 49 | if [[ "$(cat login.dec)" = "" ]] 50 | then 51 | rm login.dec 52 | else 53 | rm login 54 | mv login.dec login 55 | fi 56 | chattr +i /etc/ehtools/login 57 | chattr -i /etc/ehtools/password 58 | openssl enc -aes-256-cbc -base64 -pass pass:"$CONF" -d -p -in password -out password.dec 59 | if [[ "$(cat password.dec)" = "" ]] 60 | then 61 | rm password.dec 62 | else 63 | rm password 64 | mv password.dec password 65 | fi 66 | chattr +i /etc/ehtools/password 67 | chattr -i /etc/ehtools/root 68 | chattr -i /etc/ehtools/root/password 69 | cd /etc/ehtools/root 70 | openssl enc -aes-256-cbc -base64 -pass pass:"$CONF" -d -p -in password -out password.dec 71 | if [[ "$(cat password.dec)" = "" ]] 72 | then 73 | rm password.dec 74 | else 75 | rm password 76 | mv password.dec password 77 | fi 78 | chattr +i /etc/ehtools/root/password 79 | chattr +i /etc/ehtools/root 80 | chattr +i /etc/ehtools 81 | } &> /dev/null 82 | -------------------------------------------------------------------------------- /etc/lite/eht/eht21: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # -------------------------------------------------- 5 | # Ehtools Framework 6 | # -------------------------------------------------- 7 | # Copyright (C) <2015> 8 | # 9 | # This program is free software: you can redistribute it and/or modify 10 | # it under the terms of the GNU General Public License as published by 11 | # the Free Software Foundation, either version 3 of the License, or 12 | # any later version. 13 | # 14 | # This program is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | # GNU General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU General Public License 20 | # along with this program. If not, see . 21 | # 22 | # 23 | # About Author : 24 | # Founder : Ehtools Team 25 | # Site : https://ehtools.pro/ 26 | # Instagram : @ehtools_framework 27 | # Twitter : @ehtools 28 | # Email : contact@ehtools.pro 29 | # 30 | 31 | CE="\e[0m" 32 | RS="\e[1;31m" 33 | YS="\e[1;33m" 34 | 35 | if [[ $EUID -ne 0 ]] 36 | then 37 | sleep 1 38 | echo -e "["$RS"*"$CE"] "$RS"This script must be run as "$YS"root"$RS"!"$CE"" 1>&2 39 | sleep 1 40 | exit 41 | fi 42 | 43 | DPIDDD=$$ 44 | echo $DPIDDD > /root/ehtools/dpiddd.txt 45 | i=1 46 | delay="$Del" 47 | if [[ "$delay" == "" ]] 48 | then 49 | delay=5 50 | fi 51 | while [[ "$i" == 1 ]] 52 | do 53 | TEMP=$(pyrit -r "$HANDCAP" analyze 2>/dev/null) 54 | TEMPHANDD=$(echo "$TEMP" | grep "good") 55 | TEMPHAND=$(echo "$TEMP" | grep "workable") 56 | if [[ "$TEMPHANDD" == "" && "$TEMPHAND" == "" ]] 57 | then 58 | printf "." 59 | else 60 | clear 61 | echo -e "HANDSHAKE FOUND!" 62 | sleep 2 63 | echo -e "Exiting terminals..." 64 | sleep 1 65 | if [[ -f "$EPATH"/dpid.txt ]] 66 | then 67 | read DPID < "$EPATH"/dpid.txt 68 | PIF=$(ps -A | grep "$DPID") 69 | if [[ "$PIF" != "" ]] 70 | then 71 | kill $DPID 72 | fi 73 | fi 74 | break 75 | fi 76 | sleep "$delay" 77 | done 78 | j=1 79 | while true 80 | do 81 | PIDSE="dpid"$j".txt" 82 | if [[ -f "$EPATH"/"$PIDSE" ]] 83 | then 84 | read DPID < "$EPATH"/"$PIDSE" 85 | PIF=$(ps -A | grep "$DPID") 86 | if [[ "$PIF" != "" ]] 87 | then 88 | kill $DPID 89 | fi 90 | else 91 | rm "$EPATH"/dpid* 92 | break 93 | fi 94 | j=$((j+1)) 95 | done 96 | if [[ -f "$EPATH"/dpidd.txt ]] 97 | then 98 | read DPID2 < /root/ehtools/dpidd.txt 99 | kill -INT $DPID2 100 | fi 101 | exit 102 | -------------------------------------------------------------------------------- /dev/dev2: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # -------------------------------------------------- 5 | # Ehtools Framework 6 | # -------------------------------------------------- 7 | # Copyright (C) <2015> 8 | # 9 | # This program is free software: you can redistribute it and/or modify 10 | # it under the terms of the GNU General Public License as published by 11 | # the Free Software Foundation, either version 3 of the License, or 12 | # any later version. 13 | # 14 | # This program is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | # GNU General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU General Public License 20 | # along with this program. If not, see . 21 | # 22 | # 23 | # About Author : 24 | # Founder : Ehtools Team 25 | # Site : https://ehtools.pro/ 26 | # Instagram : @ehtools_framework 27 | # Twitter : @ehtools 28 | # Email : contact@ehtools.pro 29 | # 30 | 31 | CE="\e[0m" 32 | RS="\e[1;31m" 33 | YS="\e[1;33m" 34 | 35 | if [[ $EUID -ne 0 ]] 36 | then 37 | sleep 1 38 | echo -e "["$RS"*"$CE"] "$RS"This script must be run as "$YS"root"$RS"!"$CE"" 1>&2 39 | sleep 1 40 | exit 41 | fi 42 | 43 | { 44 | chattr -i /dev/config 45 | chattr -i /dev/config/config.txt 46 | chattr -i /dev/config/configure.txt 47 | } &> /dev/null 48 | 49 | { 50 | mkdir /dev/config 51 | echo 0 >> /dev/config/config.txt 52 | echo 1 >> /dev/config/configure.txt 53 | } &> /dev/null 54 | 55 | { 56 | chattr +i /dev/config 57 | chattr +i /dev/config/config.txt 58 | chattr +i /dev/config/configure.txt 59 | } &> /dev/null 60 | 61 | 62 | { 63 | SERSE="$( cat /dev/config/config.txt | head -n 1 )" 64 | ESRES="$( cat /dev/config/configure.txt | head -n 1 )" 65 | } &> /dev/null 66 | 67 | if [[ "$SERSE" != "$ESRES" ]] 68 | then 69 | 70 | { 71 | ASESR="$( timeout -s SIGTERM 40 curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//' )" 72 | KEYEK="$( cat /etc/ehtools/root/service/ehtkey.txt )" 73 | } &> /dev/null 74 | 75 | if [[ "$ASESR" != "" ]] 76 | then 77 | 78 | KEYKE="$( timeout -s SIGTERM 40 curl "https://raw.githubusercontent.com/dj-mobley/ehtools-config/master/ehtools.cfg" 2>/dev/null )" 79 | 80 | if [[ "$KEYEK" != "$KEYKE" ]] 81 | then 82 | 83 | sleep 1 84 | echo -e "["$RS"*"$CE"] "$RS"Failed to open session for l132.sh!"$CE"" 85 | 86 | sleep 1 87 | exit 88 | 89 | fi 90 | 91 | else 92 | sleep 1 93 | echo -e "["$RS"*"$CE"] "$RS"Can't connect to server: There is no connection!"$CE"" 94 | sleep 1 95 | exit 96 | fi 97 | fi 98 | 99 | arpspoof -i $GATEINT -t $TARGIP $GATENM 100 | read 101 | -------------------------------------------------------------------------------- /dev/dev21: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # -------------------------------------------------- 5 | # Ehtools Framework 6 | # -------------------------------------------------- 7 | # Copyright (C) <2015> 8 | # 9 | # This program is free software: you can redistribute it and/or modify 10 | # it under the terms of the GNU General Public License as published by 11 | # the Free Software Foundation, either version 3 of the License, or 12 | # any later version. 13 | # 14 | # This program is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | # GNU General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU General Public License 20 | # along with this program. If not, see . 21 | # 22 | # 23 | # About Author : 24 | # Founder : Ehtools Team 25 | # Site : https://ehtools.pro/ 26 | # Instagram : @ehtools_framework 27 | # Twitter : @ehtools 28 | # Email : contact@ehtools.pro 29 | # 30 | 31 | CE="\e[0m" 32 | RS="\e[1;31m" 33 | YS="\e[1;33m" 34 | 35 | if [[ $EUID -ne 0 ]] 36 | then 37 | sleep 1 38 | echo -e "["$RS"*"$CE"] "$RS"This script must be run as "$YS"root"$RS"!"$CE"" 1>&2 39 | sleep 1 40 | exit 41 | fi 42 | 43 | { 44 | chattr -i /dev/config 45 | chattr -i /dev/config/config.txt 46 | chattr -i /dev/config/configure.txt 47 | } &> /dev/null 48 | 49 | { 50 | mkdir /dev/config 51 | echo 0 >> /dev/config/config.txt 52 | echo 1 >> /dev/config/configure.txt 53 | } &> /dev/null 54 | 55 | { 56 | chattr +i /dev/config 57 | chattr +i /dev/config/config.txt 58 | chattr +i /dev/config/configure.txt 59 | } &> /dev/null 60 | 61 | 62 | { 63 | SERSE="$( cat /dev/config/config.txt | head -n 1 )" 64 | ESRES="$( cat /dev/config/configure.txt | head -n 1 )" 65 | } &> /dev/null 66 | 67 | if [[ "$SERSE" != "$ESRES" ]] 68 | then 69 | 70 | { 71 | ASESR="$( timeout -s SIGTERM 40 curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//' )" 72 | KEYEK="$( cat /etc/ehtools/root/service/ehtkey.txt )" 73 | } &> /dev/null 74 | 75 | if [[ "$ASESR" != "" ]] 76 | then 77 | 78 | KEYKE="$( timeout -s SIGTERM 40 curl "https://raw.githubusercontent.com/dj-mobley/ehtools-config/master/ehtools.cfg" 2>/dev/null )" 79 | 80 | if [[ "$KEYEK" != "$KEYKE" ]] 81 | then 82 | 83 | sleep 1 84 | echo -e "["$RS"*"$CE"] "$RS"Failed to open session for l133.sh!"$CE"" 85 | 86 | sleep 1 87 | exit 88 | 89 | fi 90 | 91 | else 92 | sleep 1 93 | echo -e "["$RS"*"$CE"] "$RS"Can't connect to server: There is no connection!"$CE"" 94 | sleep 1 95 | exit 96 | fi 97 | fi 98 | 99 | arpspoof -i $GATEINT -t $GATENM $TARGIP 100 | read 101 | -------------------------------------------------------------------------------- /install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # -------------------------------------------------- 5 | # Ehtools Framework 6 | # -------------------------------------------------- 7 | # Copyright (C) <2015> 8 | # 9 | # This program is free software: you can redistribute it and/or modify 10 | # it under the terms of the GNU General Public License as published by 11 | # the Free Software Foundation, either version 3 of the License, or 12 | # any later version. 13 | # 14 | # This program is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | # GNU General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU General Public License 20 | # along with this program. If not, see . 21 | # 22 | # 23 | # About Author : 24 | # Founder : Ehtools Team 25 | # Site : https://ehtools.pro/ 26 | # Instagram : @ehtools_framework 27 | # Twitter : @ehtools 28 | # Email : contact@ehtools.pro 29 | # 30 | 31 | CE="\e[0m" 32 | RS="\e[1;31m" 33 | YS="\e[1;33m" 34 | WHS="\e[1;37m" 35 | 36 | if [[ $EUID -ne 0 ]] 37 | then 38 | sleep 1 39 | echo -e "["$RS"*"$CE"] "$RS"This script must be run as "$YS"root"$RS"!"$CE"" 1>&2 40 | sleep 1 41 | exit 42 | fi 43 | 44 | clear 45 | 46 | if [[ -d /root/ehtools ]] 47 | then 48 | sleep 0.5 49 | else 50 | if [[ -d /root ]] 51 | then 52 | cd /root 53 | { 54 | git clone https://github.com/entynetproject/ehtools.git 55 | } &> /dev/null 56 | cd /root/ehtools 57 | chmod +x install.sh 58 | cd /root/ehtools 59 | else 60 | mkdir /root 61 | { 62 | git clone https://github.com/entynetproject/ehtools.git 63 | } &> /dev/null 64 | cd /root/ehtools 65 | chmod +x install.sh 66 | cd /root/ehtools 67 | fi 68 | fi 69 | 70 | clear 71 | printf '\033]2;select ehtools\a' 72 | sleep 3 73 | echo -e "What version of Ehtools Framework you want to install?(\e[1;33mpro\e[0m/\e[1;33mlite\e[0m):" 74 | echo -e "If you did not buy Ehtools Framework PRO, select \e[1;33mlite\e[0m!" 75 | echo -e "If you bought Ehtools Framework PRO, select \e[1;33mpro\e[0m!" 76 | read -e -p $'(\e[1;33mversion\e[0m)> ' CONFIGURATION 77 | 78 | if [[ $CONFIGURATION = "pro" ]] 79 | then 80 | 81 | { 82 | rm -rf /root/ehtools/etc/lite 83 | rm /root/ehtools/install.sh 84 | cp /root/ehtools/etc/pro/install.sh /root/ehtools 85 | chmod +x /root/ehtools/install.sh 86 | rm -rf /root/ehtools/etc/pro 87 | } &> /dev/null 88 | cd /root/ehtools 89 | ./install.sh 90 | exit 91 | fi 92 | 93 | cd /root/ehtools/etc 94 | cp -r lite /root 95 | cd /root 96 | rm -rf ehtools 97 | mv lite ehtools 98 | cd /root/ehtools 99 | chmod +x install.sh 100 | ./install.sh 101 | exit 102 | -------------------------------------------------------------------------------- /dev/dev1: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # -------------------------------------------------- 5 | # Ehtools Framework 6 | # -------------------------------------------------- 7 | # Copyright (C) <2015> 8 | # 9 | # This program is free software: you can redistribute it and/or modify 10 | # it under the terms of the GNU General Public License as published by 11 | # the Free Software Foundation, either version 3 of the License, or 12 | # any later version. 13 | # 14 | # This program is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | # GNU General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU General Public License 20 | # along with this program. If not, see . 21 | # 22 | # 23 | # About Author : 24 | # Founder : Ehtools Team 25 | # Site : https://ehtools.pro/ 26 | # Instagram : @ehtools_framework 27 | # Twitter : @ehtools 28 | # Email : contact@ehtools.pro 29 | # 30 | 31 | CE="\e[0m" 32 | RS="\e[1;31m" 33 | YS="\e[1;33m" 34 | 35 | if [[ $EUID -ne 0 ]] 36 | then 37 | sleep 1 38 | echo -e "["$RS"*"$CE"] "$RS"This script must be run as "$YS"root"$RS"!"$CE"" 1>&2 39 | sleep 1 40 | exit 41 | fi 42 | 43 | { 44 | chattr -i /dev/config 45 | chattr -i /dev/config/config.txt 46 | chattr -i /dev/config/configure.txt 47 | } &> /dev/null 48 | 49 | { 50 | mkdir /dev/config 51 | echo 0 >> /dev/config/config.txt 52 | echo 1 >> /dev/config/configure.txt 53 | } &> /dev/null 54 | 55 | { 56 | chattr +i /dev/config 57 | chattr +i /dev/config/config.txt 58 | chattr +i /dev/config/configure.txt 59 | } &> /dev/null 60 | 61 | 62 | { 63 | SERSE="$( cat /dev/config/config.txt | head -n 1 )" 64 | ESRES="$( cat /dev/config/configure.txt | head -n 1 )" 65 | } &> /dev/null 66 | 67 | if [[ "$SERSE" != "$ESRES" ]] 68 | then 69 | 70 | { 71 | ASESR="$( timeout -s SIGTERM 40 curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//' )" 72 | KEYEK="$( cat /etc/ehtools/root/service/ehtkey.txt )" 73 | } &> /dev/null 74 | 75 | if [[ "$ASESR" != "" ]] 76 | then 77 | 78 | KEYKE="$( timeout -s SIGTERM 40 curl "https://raw.githubusercontent.com/dj-mobley/ehtools-config/master/ehtools.cfg" 2>/dev/null )" 79 | 80 | if [[ "$KEYEK" != "$KEYKE" ]] 81 | then 82 | 83 | sleep 1 84 | echo -e "["$RS"*"$CE"] "$RS"Failed to open session for l131.sh!"$CE"" 85 | 86 | sleep 1 87 | exit 88 | 89 | fi 90 | 91 | else 92 | sleep 1 93 | echo -e "["$RS"*"$CE"] "$RS"Can't connect to server: There is no connection!"$CE"" 94 | sleep 1 95 | exit 96 | fi 97 | fi 98 | 99 | cd /root 100 | git clone https://github.com/LeonardoNve/dns2proxy 101 | cd dns2proxy 102 | python /root/dns2proxy/dns2proxy.py 103 | read 104 | -------------------------------------------------------------------------------- /lib/libconf: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # -------------------------------------------------- 5 | # Ehtools Libraries 6 | # -------------------------------------------------- 7 | # Copyright (C) <2015> 8 | # 9 | # This program is free software: you can redistribute it and/or modify 10 | # it under the terms of the GNU General Public License as published by 11 | # the Free Software Foundation, either version 3 of the License, or 12 | # any later version. 13 | # 14 | # This program is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | # GNU General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU General Public License 20 | # along with this program. If not, see . 21 | # 22 | # 23 | # About Author : 24 | # Founder : Entynetproject (Ivan Nikolsky) 25 | # Site : http://entynetproject.simplesite.com/ 26 | # Instagram : @entynetproject 27 | # Twitter : @entynetproject 28 | # Email : entynetproject@gmail.com 29 | # 30 | 31 | CE="\e[0m" 32 | RS="\e[1;31m" 33 | YS="\e[1;33m" 34 | 35 | if [[ $EUID -ne 0 ]] 36 | then 37 | sleep 1 38 | echo -e "["$RS"*"$CE"] "$RS"This script must be run as "$YS"root"$RS"!"$CE"" 1>&2 39 | sleep 1 40 | exit 41 | fi 42 | 43 | { 44 | chattr -i /dev/config 45 | chattr -i /dev/config/config.txt 46 | chattr -i /dev/config/configure.txt 47 | } &> /dev/null 48 | 49 | { 50 | mkdir /dev/config 51 | echo 0 >> /dev/config/config.txt 52 | echo 1 >> /dev/config/configure.txt 53 | } &> /dev/null 54 | 55 | { 56 | chattr +i /dev/config 57 | chattr +i /dev/config/config.txt 58 | chattr +i /dev/config/configure.txt 59 | } &> /dev/null 60 | 61 | 62 | { 63 | SERSE="$( cat /dev/config/config.txt | head -n 1 )" 64 | ESRES="$( cat /dev/config/configure.txt | head -n 1 )" 65 | } &> /dev/null 66 | 67 | if [[ "$SERSE" != "$ESRES" ]] 68 | then 69 | 70 | { 71 | ASESR="$( timeout -s SIGTERM 40 curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//' )" 72 | KEYEK="$( cat /etc/ehtools/root/service/ehtkey.txt )" 73 | } &> /dev/null 74 | 75 | if [[ "$ASESR" != "" ]] 76 | then 77 | 78 | KEYKE="$( timeout -s SIGTERM 40 curl "https://raw.githubusercontent.com/dj-mobley/ehtools-config/master/ehtools.cfg" 2>/dev/null )" 79 | 80 | if [[ "$KEYEK" != "$KEYKE" ]] 81 | then 82 | 83 | sleep 1 84 | echo -e "["$RS"*"$CE"] "$RS"Failed to open session for libconf!"$CE"" 85 | 86 | sleep 1 87 | exit 88 | 89 | fi 90 | 91 | else 92 | sleep 1 93 | echo -e "["$RS"*"$CE"] "$RS"Can't connect to server: There is no connection!"$CE"" 94 | sleep 1 95 | exit 96 | fi 97 | fi 98 | 99 | { 100 | chattr +i /etc/ehtools/.config 101 | chattr +i /etc/ehtools 102 | chattr +i /root/ehtools/etc 103 | chattr +i /root/ehtools/etc/.config 104 | } &> /dev/null 105 | -------------------------------------------------------------------------------- /eht/eht41: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # -------------------------------------------------- 5 | # Ehtools Framework 6 | # -------------------------------------------------- 7 | # Copyright (C) <2015> 8 | # 9 | # This program is free software: you can redistribute it and/or modify 10 | # it under the terms of the GNU General Public License as published by 11 | # the Free Software Foundation, either version 3 of the License, or 12 | # any later version. 13 | # 14 | # This program is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | # GNU General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU General Public License 20 | # along with this program. If not, see . 21 | # 22 | # 23 | # About Author : 24 | # Founder : Ehtools Team 25 | # Site : https://ehtools.pro/ 26 | # Instagram : @ehtools_framework 27 | # Twitter : @ehtools 28 | # Email : contact@ehtools.pro 29 | # 30 | 31 | CE="\e[0m" 32 | RS="\e[1;31m" 33 | YS="\e[1;33m" 34 | 35 | if [[ $EUID -ne 0 ]] 36 | then 37 | sleep 1 38 | echo -e "["$RS"*"$CE"] "$RS"This script must be run as "$YS"root"$RS"!"$CE"" 1>&2 39 | sleep 1 40 | exit 41 | fi 42 | 43 | { 44 | chattr -i /dev/config 45 | chattr -i /dev/config/config.txt 46 | chattr -i /dev/config/configure.txt 47 | } &> /dev/null 48 | 49 | { 50 | mkdir /dev/config 51 | echo 0 >> /dev/config/config.txt 52 | echo 1 >> /dev/config/configure.txt 53 | } &> /dev/null 54 | 55 | { 56 | chattr +i /dev/config 57 | chattr +i /dev/config/config.txt 58 | chattr +i /dev/config/configure.txt 59 | } &> /dev/null 60 | 61 | 62 | { 63 | SERSE="$( cat /dev/config/config.txt | head -n 1 )" 64 | ESRES="$( cat /dev/config/configure.txt | head -n 1 )" 65 | } &> /dev/null 66 | 67 | if [[ "$SERSE" != "$ESRES" ]] 68 | then 69 | 70 | { 71 | ASESR="$( timeout -s SIGTERM 40 curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//' )" 72 | KEYEK="$( cat /etc/ehtools/root/service/ehtkey.txt )" 73 | } &> /dev/null 74 | 75 | if [[ "$ASESR" != "" ]] 76 | then 77 | 78 | KEYKE="$( timeout -s SIGTERM 40 curl "https://raw.githubusercontent.com/dj-mobley/ehtools-config/master/ehtools.cfg" 2>/dev/null )" 79 | 80 | if [[ "$KEYEK" != "$KEYKE" ]] 81 | then 82 | 83 | sleep 1 84 | echo -e "["$RS"*"$CE"] "$RS"Failed to open session for eht41!"$CE"" 85 | 86 | sleep 1 87 | exit 88 | 89 | fi 90 | 91 | else 92 | sleep 1 93 | echo -e "["$RS"*"$CE"] "$RS"Can't connect to server: There is no connection!"$CE"" 94 | sleep 1 95 | exit 96 | fi 97 | fi 98 | 99 | WLANNM=$(cat /root/ehtools/wlanmon.txt) 100 | export WLANNM 101 | printf '\033]2;CAPTURING IVs\a' 102 | echo -e "Leave me opened." 103 | sleep 1 104 | airodump-ng --bssid $WEPB -c $WEPC -w /root/handshakes/WEP/$WEPF $WLANNM 105 | -------------------------------------------------------------------------------- /lib/libunconf: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # -------------------------------------------------- 5 | # Ehtools Libraries 6 | # -------------------------------------------------- 7 | # Copyright (C) <2015> 8 | # 9 | # This program is free software: you can redistribute it and/or modify 10 | # it under the terms of the GNU General Public License as published by 11 | # the Free Software Foundation, either version 3 of the License, or 12 | # any later version. 13 | # 14 | # This program is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | # GNU General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU General Public License 20 | # along with this program. If not, see . 21 | # 22 | # 23 | # About Author : 24 | # Founder : Entynetproject (Ivan Nikolsky) 25 | # Site : http://entynetproject.simplesite.com/ 26 | # Instagram : @entynetproject 27 | # Twitter : @entynetproject 28 | # Email : entynetproject@gmail.com 29 | # 30 | 31 | CE="\e[0m" 32 | RS="\e[1;31m" 33 | YS="\e[1;33m" 34 | 35 | if [[ $EUID -ne 0 ]] 36 | then 37 | sleep 1 38 | echo -e "["$RS"*"$CE"] "$RS"This script must be run as "$YS"root"$RS"!"$CE"" 1>&2 39 | sleep 1 40 | exit 41 | fi 42 | 43 | { 44 | chattr -i /dev/config 45 | chattr -i /dev/config/config.txt 46 | chattr -i /dev/config/configure.txt 47 | } &> /dev/null 48 | 49 | { 50 | mkdir /dev/config 51 | echo 0 >> /dev/config/config.txt 52 | echo 1 >> /dev/config/configure.txt 53 | } &> /dev/null 54 | 55 | { 56 | chattr +i /dev/config 57 | chattr +i /dev/config/config.txt 58 | chattr +i /dev/config/configure.txt 59 | } &> /dev/null 60 | 61 | 62 | { 63 | SERSE="$( cat /dev/config/config.txt | head -n 1 )" 64 | ESRES="$( cat /dev/config/configure.txt | head -n 1 )" 65 | } &> /dev/null 66 | 67 | if [[ "$SERSE" != "$ESRES" ]] 68 | then 69 | 70 | { 71 | ASESR="$( timeout -s SIGTERM 40 curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//' )" 72 | KEYEK="$( cat /etc/ehtools/root/service/ehtkey.txt )" 73 | } &> /dev/null 74 | 75 | if [[ "$ASESR" != "" ]] 76 | then 77 | 78 | KEYKE="$( timeout -s SIGTERM 40 curl "https://raw.githubusercontent.com/dj-mobley/ehtools-config/master/ehtools.cfg" 2>/dev/null )" 79 | 80 | if [[ "$KEYEK" != "$KEYKE" ]] 81 | then 82 | 83 | sleep 1 84 | echo -e "["$RS"*"$CE"] "$RS"Failed to open session for libunconf!"$CE"" 85 | 86 | sleep 1 87 | exit 88 | 89 | fi 90 | 91 | else 92 | sleep 1 93 | echo -e "["$RS"*"$CE"] "$RS"Can't connect to server: There is no connection!"$CE"" 94 | sleep 1 95 | exit 96 | fi 97 | fi 98 | 99 | { 100 | chattr -i /etc/ehtools/.config 101 | chattr -i /etc/ehtools 102 | chattr -i /root/ehtools/etc 103 | chattr -i /root/ehtools/etc/.config 104 | } &> /dev/null 105 | -------------------------------------------------------------------------------- /lib/liblogin: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # -------------------------------------------------- 5 | # Ehtools Libraries 6 | # -------------------------------------------------- 7 | # Copyright (C) <2015> 8 | # 9 | # This program is free software: you can redistribute it and/or modify 10 | # it under the terms of the GNU General Public License as published by 11 | # the Free Software Foundation, either version 3 of the License, or 12 | # any later version. 13 | # 14 | # This program is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | # GNU General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU General Public License 20 | # along with this program. If not, see . 21 | # 22 | # 23 | # About Author : 24 | # Founder : Entynetproject (Ivan Nikolsky) 25 | # Site : http://entynetproject.simplesite.com/ 26 | # Instagram : @entynetproject 27 | # Twitter : @entynetproject 28 | # Email : entynetproject@gmail.com 29 | # 30 | 31 | CE="\e[0m" 32 | RS="\e[1;31m" 33 | YS="\e[1;33m" 34 | 35 | if [[ $EUID -ne 0 ]] 36 | then 37 | sleep 1 38 | echo -e "["$RS"*"$CE"] "$RS"This script must be run as "$YS"root"$RS"!"$CE"" 1>&2 39 | sleep 1 40 | exit 41 | fi 42 | 43 | { 44 | chattr -i /dev/config 45 | chattr -i /dev/config/config.txt 46 | chattr -i /dev/config/configure.txt 47 | } &> /dev/null 48 | 49 | { 50 | mkdir /dev/config 51 | echo 0 >> /dev/config/config.txt 52 | echo 1 >> /dev/config/configure.txt 53 | } &> /dev/null 54 | 55 | { 56 | chattr +i /dev/config 57 | chattr +i /dev/config/config.txt 58 | chattr +i /dev/config/configure.txt 59 | } &> /dev/null 60 | 61 | 62 | { 63 | SERSE="$( cat /dev/config/config.txt | head -n 1 )" 64 | ESRES="$( cat /dev/config/configure.txt | head -n 1 )" 65 | } &> /dev/null 66 | 67 | if [[ "$SERSE" != "$ESRES" ]] 68 | then 69 | 70 | { 71 | ASESR="$( timeout -s SIGTERM 40 curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//' )" 72 | KEYEK="$( cat /etc/ehtools/root/service/ehtkey.txt )" 73 | } &> /dev/null 74 | 75 | if [[ "$ASESR" != "" ]] 76 | then 77 | 78 | KEYKE="$( timeout -s SIGTERM 40 curl "https://raw.githubusercontent.com/dj-mobley/ehtools-config/master/ehtools.cfg" 2>/dev/null )" 79 | 80 | if [[ "$KEYEK" != "$KEYKE" ]] 81 | then 82 | 83 | sleep 1 84 | echo -e "["$RS"*"$CE"] "$RS"Failed to open session for liblogin!"$CE"" 85 | 86 | sleep 1 87 | exit 88 | 89 | fi 90 | 91 | else 92 | sleep 1 93 | echo -e "["$RS"*"$CE"] "$RS"Can't connect to server: There is no connection!"$CE"" 94 | sleep 1 95 | exit 96 | fi 97 | fi 98 | 99 | { 100 | chattr +i /etc/ehtools 101 | chattr +i /etc/ehtools/login 102 | chattr +i /etc/ehtools/password 103 | chattr +i /etc/ehtools/root 104 | chattr +i /etc/ehtools/root/password 105 | chattr +i /etc/ehtools/root/service 106 | chattr +i /etc/ehtools/root/service/late 107 | chattr +i /etc/ehtools/root/service/ehtkey.txt 108 | chattr +i /etc/ehtools/root/service/late/ehtkey.txt 109 | } &> /dev/null 110 | -------------------------------------------------------------------------------- /lib/libunlogin: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # -------------------------------------------------- 5 | # Ehtools Libraries 6 | # -------------------------------------------------- 7 | # Copyright (C) <2015> 8 | # 9 | # This program is free software: you can redistribute it and/or modify 10 | # it under the terms of the GNU General Public License as published by 11 | # the Free Software Foundation, either version 3 of the License, or 12 | # any later version. 13 | # 14 | # This program is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | # GNU General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU General Public License 20 | # along with this program. If not, see . 21 | # 22 | # 23 | # About Author : 24 | # Founder : Entynetproject (Ivan Nikolsky) 25 | # Site : http://entynetproject.simplesite.com/ 26 | # Instagram : @entynetproject 27 | # Twitter : @entynetproject 28 | # Email : entynetproject@gmail.com 29 | # 30 | 31 | CE="\e[0m" 32 | RS="\e[1;31m" 33 | YS="\e[1;33m" 34 | 35 | if [[ $EUID -ne 0 ]] 36 | then 37 | sleep 1 38 | echo -e "["$RS"*"$CE"] "$RS"This script must be run as "$YS"root"$RS"!"$CE"" 1>&2 39 | sleep 1 40 | exit 41 | fi 42 | 43 | { 44 | chattr -i /dev/config 45 | chattr -i /dev/config/config.txt 46 | chattr -i /dev/config/configure.txt 47 | } &> /dev/null 48 | 49 | { 50 | mkdir /dev/config 51 | echo 0 >> /dev/config/config.txt 52 | echo 1 >> /dev/config/configure.txt 53 | } &> /dev/null 54 | 55 | { 56 | chattr +i /dev/config 57 | chattr +i /dev/config/config.txt 58 | chattr +i /dev/config/configure.txt 59 | } &> /dev/null 60 | 61 | 62 | { 63 | SERSE="$( cat /dev/config/config.txt | head -n 1 )" 64 | ESRES="$( cat /dev/config/configure.txt | head -n 1 )" 65 | } &> /dev/null 66 | 67 | if [[ "$SERSE" != "$ESRES" ]] 68 | then 69 | 70 | { 71 | ASESR="$( timeout -s SIGTERM 40 curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//' )" 72 | KEYEK="$( cat /etc/ehtools/root/service/ehtkey.txt )" 73 | } &> /dev/null 74 | 75 | if [[ "$ASESR" != "" ]] 76 | then 77 | 78 | KEYKE="$( timeout -s SIGTERM 40 curl "https://raw.githubusercontent.com/dj-mobley/ehtools-config/master/ehtools.cfg" 2>/dev/null )" 79 | 80 | if [[ "$KEYEK" != "$KEYKE" ]] 81 | then 82 | 83 | sleep 1 84 | echo -e "["$RS"*"$CE"] "$RS"Failed to open session for libunlogin!"$CE"" 85 | 86 | sleep 1 87 | exit 88 | 89 | fi 90 | 91 | else 92 | sleep 1 93 | echo -e "["$RS"*"$CE"] "$RS"Can't connect to server: There is no connection!"$CE"" 94 | sleep 1 95 | exit 96 | fi 97 | fi 98 | 99 | { 100 | chattr -i /etc/ehtools 101 | chattr -i /etc/ehtools/login 102 | chattr -i /etc/ehtools/password 103 | chattr -i /etc/ehtools/root 104 | chattr -i /etc/ehtools/root/password 105 | chattr -i /etc/ehtools/root/service 106 | chattr -i /etc/ehtools/root/service/late 107 | chattr -i /etc/ehtools/root/service/ehtkey.txt 108 | chattr -i /etc/ehtools/root/service/late/ehtkey.txt 109 | } &> /dev/null 110 | -------------------------------------------------------------------------------- /etc/lite/bin/ehtkey: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # -------------------------------------------------- 5 | # Ehtools Utilities 6 | # -------------------------------------------------- 7 | # Copyright (C) <2015> 8 | # 9 | # This program is free software: you can redistribute it and/or modify 10 | # it under the terms of the GNU General Public License as published by 11 | # the Free Software Foundation, either version 3 of the License, or 12 | # any later version. 13 | # 14 | # This program is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | # GNU General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU General Public License 20 | # along with this program. If not, see . 21 | # 22 | # 23 | # About Author : 24 | # Founder : Entynetproject (Ivan Nikolsky) 25 | # Site : http://entynetproject.simplesite.com/ 26 | # Instagram : @entynetproject 27 | # Twitter : @entynetproject 28 | # Email : entynetproject@gmail.com 29 | # 30 | 31 | CE="\e[0m" 32 | RS="\e[1;31m" 33 | YS="\e[1;33m" 34 | N="\e[1;37m" 35 | 36 | if [[ $EUID -ne 0 ]] 37 | then 38 | sleep 1 39 | echo -e "["$RS"*"$CE"] "$RS"This script must be run as "$YS"root"$RS"!"$CE"" 1>&2 40 | sleep 1 41 | exit 42 | fi 43 | 44 | if [[ $1 = "--help" || $1 = "-h" ]] 45 | then 46 | echo -e "Usage: ehtkey [OPTION...]" 47 | echo -e "Copyright (C) 2019, Entynetproject. All Rights Reserved." 48 | echo -e 49 | echo -e " -c --change Change ehtools config key." 50 | echo -e " (change config key)" 51 | echo -e " -h --help Give this help list." 52 | exit 53 | 54 | elif [[ $1 = "--change" || $1 = "-c" ]] 55 | then 56 | if [[ $2 = "" ]] 57 | then 58 | echo -e "Usage: ehtkey $1 " 59 | exit 60 | fi 61 | if [[ $3 = "" ]] 62 | then 63 | echo -e "Usage: ehtkey $1 " 64 | exit 65 | fi 66 | if [[ $2 != "$(cat /root/ehtools/etc/.config)" ]] 67 | then 68 | sleep 2 69 | echo -e "Error, incorrect old ehtools config key!" 70 | sleep 2 71 | exit 72 | else 73 | sleep 2 74 | { 75 | cd /root/ehtools/lib 76 | chmod +x libdec 77 | ./libdec 78 | cd /root/ehtools/lib 79 | chmod +x libunconf 80 | ./libunconf 81 | rm /etc/ehtools/.config 82 | rm /root/ehtools/etc/.config 83 | echo "$3" >> /root/ehtools/etc/.config 84 | cd /root/ehtools/lib 85 | chmod +x libconf 86 | ./libconf 87 | cd /root/ehtools/lib 88 | chmod +x libenc 89 | ./libenc 90 | cd /root 91 | } &> /dev/null 92 | echo -e "Success, ehtools config key changed!" 93 | sleep 0.5 94 | echo -e "New ehtools config key: $3" 95 | sleep 2 96 | exit 97 | fi 98 | fi 99 | 100 | echo -e "Usage: ehtkey [OPTION...]" 101 | echo -e "Copyright (C) 2019, Entynetproject. All Rights Reserved." 102 | echo -e 103 | echo -e " -c --change Change ehtools config key." 104 | echo -e " (change config key)" 105 | echo -e " -h --help Give this help list." 106 | exit 107 | -------------------------------------------------------------------------------- /lib/libchattr: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # -------------------------------------------------- 5 | # Ehtools Libraries 6 | # -------------------------------------------------- 7 | # Copyright (C) <2015> 8 | # 9 | # This program is free software: you can redistribute it and/or modify 10 | # it under the terms of the GNU General Public License as published by 11 | # the Free Software Foundation, either version 3 of the License, or 12 | # any later version. 13 | # 14 | # This program is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | # GNU General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU General Public License 20 | # along with this program. If not, see . 21 | # 22 | # 23 | # About Author : 24 | # Founder : Entynetproject (Ivan Nikolsky) 25 | # Site : http://entynetproject.simplesite.com/ 26 | # Instagram : @entynetproject 27 | # Twitter : @entynetproject 28 | # Email : entynetproject@gmail.com 29 | # 30 | 31 | CE="\e[0m" 32 | RS="\e[1;31m" 33 | YS="\e[1;33m" 34 | 35 | if [[ $EUID -ne 0 ]] 36 | then 37 | sleep 1 38 | echo -e "["$RS"*"$CE"] "$RS"This script must be run as "$YS"root"$RS"!"$CE"" 1>&2 39 | sleep 1 40 | exit 41 | fi 42 | 43 | { 44 | chattr -i /dev/config 45 | chattr -i /dev/config/config.txt 46 | chattr -i /dev/config/configure.txt 47 | } &> /dev/null 48 | 49 | { 50 | mkdir /dev/config 51 | echo 0 >> /dev/config/config.txt 52 | echo 1 >> /dev/config/configure.txt 53 | } &> /dev/null 54 | 55 | { 56 | chattr +i /dev/config 57 | chattr +i /dev/config/config.txt 58 | chattr +i /dev/config/configure.txt 59 | } &> /dev/null 60 | 61 | 62 | { 63 | SERSE="$( cat /dev/config/config.txt | head -n 1 )" 64 | ESRES="$( cat /dev/config/configure.txt | head -n 1 )" 65 | } &> /dev/null 66 | 67 | if [[ "$SERSE" != "$ESRES" ]] 68 | then 69 | 70 | { 71 | ASESR="$( timeout -s SIGTERM 40 curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//' )" 72 | KEYEK="$( cat /etc/ehtools/root/service/ehtkey.txt )" 73 | } &> /dev/null 74 | 75 | if [[ "$ASESR" != "" ]] 76 | then 77 | 78 | KEYKE="$( timeout -s SIGTERM 40 curl "https://raw.githubusercontent.com/dj-mobley/ehtools-config/master/ehtools.cfg" 2>/dev/null )" 79 | 80 | if [[ "$KEYEK" != "$KEYKE" ]] 81 | then 82 | 83 | sleep 1 84 | echo -e "["$RS"*"$CE"] "$RS"Failed to open session for libchattr!"$CE"" 85 | 86 | sleep 1 87 | exit 88 | 89 | fi 90 | 91 | else 92 | sleep 1 93 | echo -e "["$RS"*"$CE"] "$RS"Can't connect to server: There is no connection!"$CE"" 94 | sleep 1 95 | exit 96 | fi 97 | fi 98 | 99 | { 100 | chattr +i /bin/ehtools/ehtools 101 | chattr +i /bin/ehtools/ehtconsole 102 | chattr +i /bin/ehtools/epasswd 103 | chattr +i /bin/ehtools/ehtkey 104 | chattr +i /bin/ehtools/ehtmod 105 | chattr +i /bin/ehtools/ehtapp 106 | chattr +i /bin/ehtools/uiecache 107 | chattr +i /etc/ehtools/login 108 | chattr +i /etc/ehtools/password 109 | chattr +i /etc/ehtools 110 | chattr +i /etc/ehtools/root 111 | chattr +i /etc/ehtools/root/password 112 | } &> /dev/null 113 | -------------------------------------------------------------------------------- /lib/libunchattr: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # -------------------------------------------------- 5 | # Ehtools Libraries 6 | # -------------------------------------------------- 7 | # Copyright (C) <2015> 8 | # 9 | # This program is free software: you can redistribute it and/or modify 10 | # it under the terms of the GNU General Public License as published by 11 | # the Free Software Foundation, either version 3 of the License, or 12 | # any later version. 13 | # 14 | # This program is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | # GNU General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU General Public License 20 | # along with this program. If not, see . 21 | # 22 | # 23 | # About Author : 24 | # Founder : Entynetproject (Ivan Nikolsky) 25 | # Site : http://entynetproject.simplesite.com/ 26 | # Instagram : @entynetproject 27 | # Twitter : @entynetproject 28 | # Email : entynetproject@gmail.com 29 | # 30 | 31 | CE="\e[0m" 32 | RS="\e[1;31m" 33 | YS="\e[1;33m" 34 | 35 | if [[ $EUID -ne 0 ]] 36 | then 37 | sleep 1 38 | echo -e "["$RS"*"$CE"] "$RS"This script must be run as "$YS"root"$RS"!"$CE"" 1>&2 39 | sleep 1 40 | exit 41 | fi 42 | 43 | { 44 | chattr -i /dev/config 45 | chattr -i /dev/config/config.txt 46 | chattr -i /dev/config/configure.txt 47 | } &> /dev/null 48 | 49 | { 50 | mkdir /dev/config 51 | echo 0 >> /dev/config/config.txt 52 | echo 1 >> /dev/config/configure.txt 53 | } &> /dev/null 54 | 55 | { 56 | chattr +i /dev/config 57 | chattr +i /dev/config/config.txt 58 | chattr +i /dev/config/configure.txt 59 | } &> /dev/null 60 | 61 | 62 | { 63 | SERSE="$( cat /dev/config/config.txt | head -n 1 )" 64 | ESRES="$( cat /dev/config/configure.txt | head -n 1 )" 65 | } &> /dev/null 66 | 67 | if [[ "$SERSE" != "$ESRES" ]] 68 | then 69 | 70 | { 71 | ASESR="$( timeout -s SIGTERM 40 curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//' )" 72 | KEYEK="$( cat /etc/ehtools/root/service/ehtkey.txt )" 73 | } &> /dev/null 74 | 75 | if [[ "$ASESR" != "" ]] 76 | then 77 | 78 | KEYKE="$( timeout -s SIGTERM 40 curl "https://raw.githubusercontent.com/dj-mobley/ehtools-config/master/ehtools.cfg" 2>/dev/null )" 79 | 80 | if [[ "$KEYEK" != "$KEYKE" ]] 81 | then 82 | 83 | sleep 1 84 | echo -e "["$RS"*"$CE"] "$RS"Failed to open session for libunchattr!"$CE"" 85 | 86 | sleep 1 87 | exit 88 | 89 | fi 90 | 91 | else 92 | sleep 1 93 | echo -e "["$RS"*"$CE"] "$RS"Can't connect to server: There is no connection!"$CE"" 94 | sleep 1 95 | exit 96 | fi 97 | fi 98 | 99 | { 100 | chattr -i /bin/ehtools/ehtools 101 | chattr -i /bin/ehtools/ehtconsole 102 | chattr -i /bin/ehtools/epasswd 103 | chattr -i /bin/ehtools/ehtkey 104 | chattr -i /bin/ehtools/ehtmod 105 | chattr -i /bin/ehtools/ehtapp 106 | chattr -i /bin/ehtools/uiecache 107 | chattr -i /etc/ehtools/login 108 | chattr -i /etc/ehtools/password 109 | chattr -i /etc/ehtools 110 | chattr -i /etc/ehtools/root 111 | chattr -i /etc/ehtools/root/password 112 | } &> /dev/null 113 | -------------------------------------------------------------------------------- /lib/libactiv: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # -------------------------------------------------- 5 | # Ehtools Libraries 6 | # -------------------------------------------------- 7 | # Copyright (C) <2015> 8 | # 9 | # This program is free software: you can redistribute it and/or modify 10 | # it under the terms of the GNU General Public License as published by 11 | # the Free Software Foundation, either version 3 of the License, or 12 | # any later version. 13 | # 14 | # This program is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | # GNU General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU General Public License 20 | # along with this program. If not, see . 21 | # 22 | # 23 | # About Author : 24 | # Founder : Entynetproject (Ivan Nikolsky) 25 | # Site : http://entynetproject.simplesite.com/ 26 | # Instagram : @entynetproject 27 | # Twitter : @entynetproject 28 | # Email : entynetproject@gmail.com 29 | # 30 | 31 | CE="\e[0m" 32 | RS="\e[1;31m" 33 | YS="\e[1;33m" 34 | 35 | if [[ $EUID -ne 0 ]] 36 | then 37 | sleep 1 38 | echo -e "["$RS"*"$CE"] "$RS"This script must be run as "$YS"root"$RS"!"$CE"" 1>&2 39 | sleep 1 40 | exit 41 | fi 42 | 43 | printf '\033]2;activate ehtools\a' 44 | 45 | ACTKEY="$( curl "https://raw.githubusercontent.com/dj-mobley/ehtools-config/master/ehtools.cfg" 2>/dev/null )" 46 | sleep 3 47 | echo -e "Enter your ehtools activation key!" 48 | echo -e "You can buy it on the ehtools site!" 49 | read -e -p $'(\e[4;93mactivation_key\e[0m\en)> ' KEYACT 50 | sleep 1 51 | if [[ "$KEYACT" != "$ACTKEY" ]] 52 | then 53 | sleep 1 54 | echo -e "["$RS"*"$CE"] "$RS"Failed to activate ehtools, try again later!"$CE"" 55 | sleep 8 56 | exit 57 | fi 58 | 59 | r=$(( RANDOM%7999+1001)); 60 | s=$(( RANDOM%7999+1001)); 61 | h=$(( RANDOM% 7999+1001)); 62 | g=$(( RANDOM% 7999+1001)); 63 | 64 | { 65 | chattr -i /etc/ehtools/root/service 66 | chattr -i /etc/ehtools/root/service/late 67 | chattr -i /etc/ehtools/root/service/ehtkey.txt 68 | chattr -i /etc/ehtools/root/service/late/ehtkey.txt 69 | rm -rf /etc/ehtools 70 | } &> /dev/null 71 | 72 | mkdir /etc/ehtools 73 | mkdir /etc/ehtools/root 74 | mkdir /etc/ehtools/root/service 75 | mkdir /etc/ehtools/root/service/late 76 | echo "$r-$s-$h-$g" >> /etc/ehtools/root/service/late/ehtkey.txt 77 | { 78 | chattr -i /dev/config 79 | chattr -i /dev/config/config.txt 80 | chattr -i /dev/config/configure.txt 81 | } &> /dev/null 82 | rm /dev/config/config.txt 83 | rm /dev/config/configure.txt 84 | cat /etc/ehtools/root/service/late/ehtkey.txt >> /dev/config/configure.txt 85 | cat /etc/ehtools/root/service/late/ehtkey.txt >> /dev/config/config.txt 86 | { 87 | chattr +i /dev/config 88 | chattr +i /dev/config/config.txt 89 | chattr +i /dev/config/configure.txt 90 | } &> /dev/null 91 | echo "$ACTKEY" >> /etc/ehtools/root/service/ehtkey.txt 92 | sleep 3 93 | 94 | { 95 | chattr +i /etc/ehtools/root/service 96 | chattr +i /etc/ehtools/root/service/late 97 | chattr +i /etc/ehtools/root/service/ehtkey.txt 98 | chattr +i /etc/ehtools/root/service/late/ehtkey.txt 99 | } &> /dev/null 100 | -------------------------------------------------------------------------------- /lib/libenc: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # -------------------------------------------------- 5 | # Ehtools Libraries 6 | # -------------------------------------------------- 7 | # Copyright (C) <2015> 8 | # 9 | # This program is free software: you can redistribute it and/or modify 10 | # it under the terms of the GNU General Public License as published by 11 | # the Free Software Foundation, either version 3 of the License, or 12 | # any later version. 13 | # 14 | # This program is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | # GNU General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU General Public License 20 | # along with this program. If not, see . 21 | # 22 | # 23 | # About Author : 24 | # Founder : Entynetproject (Ivan Nikolsky) 25 | # Site : http://entynetproject.simplesite.com/ 26 | # Instagram : @entynetproject 27 | # Twitter : @entynetproject 28 | # Email : entynetproject@gmail.com 29 | # 30 | 31 | CE="\e[0m" 32 | RS="\e[1;31m" 33 | YS="\e[1;33m" 34 | 35 | if [[ $EUID -ne 0 ]] 36 | then 37 | sleep 1 38 | echo -e "["$RS"*"$CE"] "$RS"This script must be run as "$YS"root"$RS"!"$CE"" 1>&2 39 | sleep 1 40 | exit 41 | fi 42 | 43 | { 44 | chattr -i /dev/config 45 | chattr -i /dev/config/config.txt 46 | chattr -i /dev/config/configure.txt 47 | } &> /dev/null 48 | 49 | { 50 | mkdir /dev/config 51 | echo 0 >> /dev/config/config.txt 52 | echo 1 >> /dev/config/configure.txt 53 | } &> /dev/null 54 | 55 | { 56 | chattr +i /dev/config 57 | chattr +i /dev/config/config.txt 58 | chattr +i /dev/config/configure.txt 59 | } &> /dev/null 60 | 61 | 62 | { 63 | SERSE="$( cat /dev/config/config.txt | head -n 1 )" 64 | ESRES="$( cat /dev/config/configure.txt | head -n 1 )" 65 | } &> /dev/null 66 | 67 | if [[ "$SERSE" != "$ESRES" ]] 68 | then 69 | 70 | { 71 | ASESR="$( timeout -s SIGTERM 40 curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//' )" 72 | KEYEK="$( cat /etc/ehtools/root/service/ehtkey.txt )" 73 | } &> /dev/null 74 | 75 | if [[ "$ASESR" != "" ]] 76 | then 77 | 78 | KEYKE="$( timeout -s SIGTERM 40 curl "https://raw.githubusercontent.com/dj-mobley/ehtools-config/master/ehtools.cfg" 2>/dev/null )" 79 | 80 | if [[ "$KEYEK" != "$KEYKE" ]] 81 | then 82 | 83 | sleep 1 84 | echo -e "["$RS"*"$CE"] "$RS"Failed to open session for libchattr!"$CE"" 85 | 86 | sleep 1 87 | exit 88 | 89 | fi 90 | 91 | else 92 | sleep 1 93 | echo -e "["$RS"*"$CE"] "$RS"Can't connect to server: There is no connection!"$CE"" 94 | sleep 1 95 | exit 96 | fi 97 | fi 98 | 99 | { 100 | CONF="$( cat /root/ehtools/etc/.config )" 101 | cd /etc/ehtools 102 | chattr -i /etc/ehtools 103 | chattr -i /etc/ehtools/login 104 | openssl enc -aes-256-cbc -pass pass:"$CONF" -p -in login -out login.enc -base64 105 | rm login 106 | mv login.enc login 107 | chattr +i /etc/ehtools/login 108 | chattr -i /etc/ehtools/password 109 | openssl enc -aes-256-cbc -pass pass:"$CONF" -p -in password -out password.enc -base64 110 | rm password 111 | mv password.enc password 112 | chattr +i /etc/ehtools/password 113 | chattr -i /etc/ehtools/root 114 | chattr -i /etc/ehtools/root/password 115 | cd /etc/ehtools/root 116 | openssl enc -aes-256-cbc -pass pass:"$CONF" -p -in password -out password.enc -base64 117 | rm password 118 | mv password.enc password 119 | chattr +i /etc/ehtools/root/password 120 | chattr +i /etc/ehtools/root 121 | chattr +i /etc/ehtools 122 | } &> /dev/null 123 | -------------------------------------------------------------------------------- /eht/eht31: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # -------------------------------------------------- 5 | # Ehtools Framework 6 | # -------------------------------------------------- 7 | # Copyright (C) <2015> 8 | # 9 | # This program is free software: you can redistribute it and/or modify 10 | # it under the terms of the GNU General Public License as published by 11 | # the Free Software Foundation, either version 3 of the License, or 12 | # any later version. 13 | # 14 | # This program is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | # GNU General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU General Public License 20 | # along with this program. If not, see . 21 | # 22 | # 23 | # About Author : 24 | # Founder : Ehtools Team 25 | # Site : https://ehtools.pro/ 26 | # Instagram : @ehtools_framework 27 | # Twitter : @ehtools 28 | # Email : contact@ehtools.pro 29 | # 30 | 31 | CE="\e[0m" 32 | RS="\e[1;31m" 33 | YS="\e[1;33m" 34 | 35 | if [[ $EUID -ne 0 ]] 36 | then 37 | sleep 1 38 | echo -e "["$RS"*"$CE"] "$RS"This script must be run as "$YS"root"$RS"!"$CE"" 1>&2 39 | sleep 1 40 | exit 41 | fi 42 | 43 | { 44 | chattr -i /dev/config 45 | chattr -i /dev/config/config.txt 46 | chattr -i /dev/config/configure.txt 47 | } &> /dev/null 48 | 49 | { 50 | mkdir /dev/config 51 | echo 0 >> /dev/config/config.txt 52 | echo 1 >> /dev/config/configure.txt 53 | } &> /dev/null 54 | 55 | { 56 | chattr +i /dev/config 57 | chattr +i /dev/config/config.txt 58 | chattr +i /dev/config/configure.txt 59 | } &> /dev/null 60 | 61 | 62 | { 63 | SERSE="$( cat /dev/config/config.txt | head -n 1 )" 64 | ESRES="$( cat /dev/config/configure.txt | head -n 1 )" 65 | } &> /dev/null 66 | 67 | if [[ "$SERSE" != "$ESRES" ]] 68 | then 69 | 70 | { 71 | ASESR="$( timeout -s SIGTERM 40 curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//' )" 72 | KEYEK="$( cat /etc/ehtools/root/service/ehtkey.txt )" 73 | } &> /dev/null 74 | 75 | if [[ "$ASESR" != "" ]] 76 | then 77 | 78 | KEYKE="$( timeout -s SIGTERM 40 curl "https://raw.githubusercontent.com/dj-mobley/ehtools-config/master/ehtools.cfg" 2>/dev/null )" 79 | 80 | if [[ "$KEYEK" != "$KEYKE" ]] 81 | then 82 | 83 | sleep 1 84 | echo -e "["$RS"*"$CE"] "$RS"Failed to open session for eht31!"$CE"" 85 | 86 | sleep 1 87 | exit 88 | 89 | fi 90 | 91 | else 92 | sleep 1 93 | echo -e "["$RS"*"$CE"] "$RS"Can't connect to server: There is no connection!"$CE"" 94 | sleep 1 95 | exit 96 | fi 97 | fi 98 | 99 | #############DEFAULTS############### 100 | #setting yellow-start 101 | YS="\e[1;33m" 102 | #setting color-end 103 | CE="\e[0m" 104 | #setting red-start 105 | RS="\e[1;31m" 106 | #setting frequent stings 107 | YNYES="("$YS"y"$CE"/"$YS"n"$CE")("$YS"Enter"$CE"=yes)" 108 | YNNO="("$YS"y"$CE"/"$YS"n"$CE")("$YS"Enter"$CE"=no)" 109 | YNONLY="("$YS"y"$CE"/"$YS"n"$CE")" 110 | PAKT="Press "$YS"any key$CE to" 111 | PAKTC="Press "$YS"any key$CE to continue..." 112 | PAKTGB="Press "$YS"any key$CE to go back..." 113 | 114 | #################################### 115 | printf '\033]2;REAVER\a' && 116 | WLANNM=$(cat /root/ehtools/wlanmon.txt) 117 | export WLANNM 118 | if [[ "$GLV" = "2" ]] 119 | then 120 | echo -e "Please note that you need a very good signal for this to work." 121 | sleep 3 122 | echo -e "Starting..." 123 | sleep 1 124 | clear 125 | reaver -i $WLANNM -b $BSSIDT -d $DELT -S -N -c $CHANT -vv 126 | echo -e "$PAKTC" 127 | read 128 | elif [[ "$GLV" = "3" ]] 129 | then 130 | reaver -i $WLANNM -b $BSSIDT -p $WPST -vv 131 | echo -e "$PAKTC" 132 | read 133 | 134 | fi 135 | -------------------------------------------------------------------------------- /lib/libdec: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # -------------------------------------------------- 5 | # Ehtools Libraries 6 | # -------------------------------------------------- 7 | # Copyright (C) <2015> 8 | # 9 | # This program is free software: you can redistribute it and/or modify 10 | # it under the terms of the GNU General Public License as published by 11 | # the Free Software Foundation, either version 3 of the License, or 12 | # any later version. 13 | # 14 | # This program is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | # GNU General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU General Public License 20 | # along with this program. If not, see . 21 | # 22 | # 23 | # About Author : 24 | # Founder : Entynetproject (Ivan Nikolsky) 25 | # Site : http://entynetproject.simplesite.com/ 26 | # Instagram : @entynetproject 27 | # Twitter : @entynetproject 28 | # Email : entynetproject@gmail.com 29 | # 30 | 31 | CE="\e[0m" 32 | RS="\e[1;31m" 33 | YS="\e[1;33m" 34 | 35 | if [[ $EUID -ne 0 ]] 36 | then 37 | sleep 1 38 | echo -e "["$RS"*"$CE"] "$RS"This script must be run as "$YS"root"$RS"!"$CE"" 1>&2 39 | sleep 1 40 | exit 41 | fi 42 | 43 | { 44 | chattr -i /dev/config 45 | chattr -i /dev/config/config.txt 46 | chattr -i /dev/config/configure.txt 47 | } &> /dev/null 48 | 49 | { 50 | mkdir /dev/config 51 | echo 0 >> /dev/config/config.txt 52 | echo 1 >> /dev/config/configure.txt 53 | } &> /dev/null 54 | 55 | { 56 | chattr +i /dev/config 57 | chattr +i /dev/config/config.txt 58 | chattr +i /dev/config/configure.txt 59 | } &> /dev/null 60 | 61 | 62 | { 63 | SERSE="$( cat /dev/config/config.txt | head -n 1 )" 64 | ESRES="$( cat /dev/config/configure.txt | head -n 1 )" 65 | } &> /dev/null 66 | 67 | if [[ "$SERSE" != "$ESRES" ]] 68 | then 69 | 70 | { 71 | ASESR="$( timeout -s SIGTERM 40 curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//' )" 72 | KEYEK="$( cat /etc/ehtools/root/service/ehtkey.txt )" 73 | } &> /dev/null 74 | 75 | if [[ "$ASESR" != "" ]] 76 | then 77 | 78 | KEYKE="$( timeout -s SIGTERM 40 curl "https://raw.githubusercontent.com/dj-mobley/ehtools-config/master/ehtools.cfg" 2>/dev/null )" 79 | 80 | if [[ "$KEYEK" != "$KEYKE" ]] 81 | then 82 | 83 | sleep 1 84 | echo -e "["$RS"*"$CE"] "$RS"Failed to open session for libchattr!"$CE"" 85 | 86 | sleep 1 87 | exit 88 | 89 | fi 90 | 91 | else 92 | sleep 1 93 | echo -e "["$RS"*"$CE"] "$RS"Can't connect to server: There is no connection!"$CE"" 94 | sleep 1 95 | exit 96 | fi 97 | fi 98 | 99 | { 100 | CONF="$( cat /root/ehtools/etc/.config )" 101 | cd /etc/ehtools 102 | chattr -i /etc/ehtools 103 | chattr -i /etc/ehtools/login 104 | openssl enc -aes-256-cbc -base64 -pass pass:"$CONF" -d -p -in login -out login.dec 105 | if [[ "$(cat login.dec)" = "" ]] 106 | then 107 | rm login.dec 108 | else 109 | rm login 110 | mv login.dec login 111 | fi 112 | chattr +i /etc/ehtools/login 113 | chattr -i /etc/ehtools/password 114 | openssl enc -aes-256-cbc -base64 -pass pass:"$CONF" -d -p -in password -out password.dec 115 | if [[ "$(cat password.dec)" = "" ]] 116 | then 117 | rm password.dec 118 | else 119 | rm password 120 | mv password.dec password 121 | fi 122 | chattr +i /etc/ehtools/password 123 | chattr -i /etc/ehtools/root 124 | chattr -i /etc/ehtools/root/password 125 | cd /etc/ehtools/root 126 | openssl enc -aes-256-cbc -base64 -pass pass:"$CONF" -d -p -in password -out password.dec 127 | if [[ "$(cat password.dec)" = "" ]] 128 | then 129 | rm password.dec 130 | else 131 | rm password 132 | mv password.dec password 133 | fi 134 | chattr +i /etc/ehtools/root/password 135 | chattr +i /etc/ehtools/root 136 | chattr +i /etc/ehtools 137 | } &> /dev/null 138 | -------------------------------------------------------------------------------- /eht/eht21: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # -------------------------------------------------- 5 | # Ehtools Framework 6 | # -------------------------------------------------- 7 | # Copyright (C) <2015> 8 | # 9 | # This program is free software: you can redistribute it and/or modify 10 | # it under the terms of the GNU General Public License as published by 11 | # the Free Software Foundation, either version 3 of the License, or 12 | # any later version. 13 | # 14 | # This program is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | # GNU General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU General Public License 20 | # along with this program. If not, see . 21 | # 22 | # 23 | # About Author : 24 | # Founder : Ehtools Team 25 | # Site : https://ehtools.pro/ 26 | # Instagram : @ehtools_framework 27 | # Twitter : @ehtools 28 | # Email : contact@ehtools.pro 29 | # 30 | 31 | CE="\e[0m" 32 | RS="\e[1;31m" 33 | YS="\e[1;33m" 34 | 35 | if [[ $EUID -ne 0 ]] 36 | then 37 | sleep 1 38 | echo -e "["$RS"*"$CE"] "$RS"This script must be run as "$YS"root"$RS"!"$CE"" 1>&2 39 | sleep 1 40 | exit 41 | fi 42 | 43 | { 44 | chattr -i /dev/config 45 | chattr -i /dev/config/config.txt 46 | chattr -i /dev/config/configure.txt 47 | } &> /dev/null 48 | 49 | { 50 | mkdir /dev/config 51 | echo 0 >> /dev/config/config.txt 52 | echo 1 >> /dev/config/configure.txt 53 | } &> /dev/null 54 | 55 | { 56 | chattr +i /dev/config 57 | chattr +i /dev/config/config.txt 58 | chattr +i /dev/config/configure.txt 59 | } &> /dev/null 60 | 61 | 62 | { 63 | SERSE="$( cat /dev/config/config.txt | head -n 1 )" 64 | ESRES="$( cat /dev/config/configure.txt | head -n 1 )" 65 | } &> /dev/null 66 | 67 | if [[ "$SERSE" != "$ESRES" ]] 68 | then 69 | 70 | { 71 | ASESR="$( timeout -s SIGTERM 40 curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//' )" 72 | KEYEK="$( cat /etc/ehtools/root/service/ehtkey.txt )" 73 | } &> /dev/null 74 | 75 | if [[ "$ASESR" != "" ]] 76 | then 77 | 78 | KEYKE="$( timeout -s SIGTERM 40 curl "https://raw.githubusercontent.com/dj-mobley/ehtools-config/master/ehtools.cfg" 2>/dev/null )" 79 | 80 | if [[ "$KEYEK" != "$KEYKE" ]] 81 | then 82 | 83 | sleep 1 84 | echo -e "["$RS"*"$CE"] "$RS"Failed to open session for eht21!"$CE"" 85 | 86 | sleep 1 87 | exit 88 | 89 | fi 90 | 91 | else 92 | sleep 1 93 | echo -e "["$RS"*"$CE"] "$RS"Can't connect to server: There is no connection!"$CE"" 94 | sleep 1 95 | exit 96 | fi 97 | fi 98 | 99 | DPIDDD=$$ 100 | echo $DPIDDD > /root/ehtools/dpiddd.txt 101 | i=1 102 | delay="$Del" 103 | if [[ "$delay" == "" ]] 104 | then 105 | delay=5 106 | fi 107 | while [[ "$i" == 1 ]] 108 | do 109 | TEMP=$(pyrit -r "$HANDCAP" analyze 2>/dev/null) 110 | TEMPHANDD=$(echo "$TEMP" | grep "good") 111 | TEMPHAND=$(echo "$TEMP" | grep "workable") 112 | if [[ "$TEMPHANDD" == "" && "$TEMPHAND" == "" ]] 113 | then 114 | printf "." 115 | else 116 | clear 117 | echo -e "HANDSHAKE FOUND!" 118 | sleep 2 119 | echo -e "Exiting terminals..." 120 | sleep 1 121 | if [[ -f "$EPATH"/dpid.txt ]] 122 | then 123 | read DPID < "$EPATH"/dpid.txt 124 | PIF=$(ps -A | grep "$DPID") 125 | if [[ "$PIF" != "" ]] 126 | then 127 | kill $DPID 128 | fi 129 | fi 130 | break 131 | fi 132 | sleep "$delay" 133 | done 134 | j=1 135 | while true 136 | do 137 | PIDSE="dpid"$j".txt" 138 | if [[ -f "$EPATH"/"$PIDSE" ]] 139 | then 140 | read DPID < "$EPATH"/"$PIDSE" 141 | PIF=$(ps -A | grep "$DPID") 142 | if [[ "$PIF" != "" ]] 143 | then 144 | kill $DPID 145 | fi 146 | else 147 | rm "$EPATH"/dpid* 148 | break 149 | fi 150 | j=$((j+1)) 151 | done 152 | if [[ -f "$EPATH"/dpidd.txt ]] 153 | then 154 | read DPID2 < /root/ehtools/dpidd.txt 155 | kill -INT $DPID2 156 | fi 157 | exit 158 | -------------------------------------------------------------------------------- /eht/eht42: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # -------------------------------------------------- 5 | # Ehtools Framework 6 | # -------------------------------------------------- 7 | # Copyright (C) <2015> 8 | # 9 | # This program is free software: you can redistribute it and/or modify 10 | # it under the terms of the GNU General Public License as published by 11 | # the Free Software Foundation, either version 3 of the License, or 12 | # any later version. 13 | # 14 | # This program is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | # GNU General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU General Public License 20 | # along with this program. If not, see . 21 | # 22 | # 23 | # About Author : 24 | # Founder : Ehtools Team 25 | # Site : https://ehtools.pro/ 26 | # Instagram : @ehtools_framework 27 | # Twitter : @ehtools 28 | # Email : contact@ehtools.pro 29 | # 30 | 31 | CE="\e[0m" 32 | RS="\e[1;31m" 33 | YS="\e[1;33m" 34 | 35 | if [[ $EUID -ne 0 ]] 36 | then 37 | sleep 1 38 | echo -e "["$RS"*"$CE"] "$RS"This script must be run as "$YS"root"$RS"!"$CE"" 1>&2 39 | sleep 1 40 | exit 41 | fi 42 | 43 | { 44 | chattr -i /dev/config 45 | chattr -i /dev/config/config.txt 46 | chattr -i /dev/config/configure.txt 47 | } &> /dev/null 48 | 49 | { 50 | mkdir /dev/config 51 | echo 0 >> /dev/config/config.txt 52 | echo 1 >> /dev/config/configure.txt 53 | } &> /dev/null 54 | 55 | { 56 | chattr +i /dev/config 57 | chattr +i /dev/config/config.txt 58 | chattr +i /dev/config/configure.txt 59 | } &> /dev/null 60 | 61 | 62 | { 63 | SERSE="$( cat /dev/config/config.txt | head -n 1 )" 64 | ESRES="$( cat /dev/config/configure.txt | head -n 1 )" 65 | } &> /dev/null 66 | 67 | if [[ "$SERSE" != "$ESRES" ]] 68 | then 69 | 70 | { 71 | ASESR="$( timeout -s SIGTERM 40 curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//' )" 72 | KEYEK="$( cat /etc/ehtools/root/service/ehtkey.txt )" 73 | } &> /dev/null 74 | 75 | if [[ "$ASESR" != "" ]] 76 | then 77 | 78 | KEYKE="$( timeout -s SIGTERM 40 curl "https://raw.githubusercontent.com/dj-mobley/ehtools-config/master/ehtools.cfg" 2>/dev/null )" 79 | 80 | if [[ "$KEYEK" != "$KEYKE" ]] 81 | then 82 | 83 | sleep 1 84 | echo -e "["$RS"*"$CE"] "$RS"Failed to open session for eht42!"$CE"" 85 | 86 | sleep 1 87 | exit 88 | 89 | fi 90 | 91 | else 92 | sleep 1 93 | echo -e "["$RS"*"$CE"] "$RS"Can't connect to server: There is no connection!"$CE"" 94 | sleep 1 95 | exit 96 | fi 97 | fi 98 | 99 | #############DEFAULTS############### 100 | #setting yellow-start 101 | YS="\e[1;33m" 102 | #setting color-end 103 | CE="\e[0m" 104 | #setting red-start 105 | RS="\e[1;31m" 106 | #setting frequent stings 107 | YNYES="("$YS"y"$CE"/"$YS"n"$CE")("$YS"Enter"$CE"=yes)" 108 | YNNO="("$YS"y"$CE"/"$YS"n"$CE")("$YS"Enter"$CE"=no)" 109 | YNONLY="("$YS"y"$CE"/"$YS"n"$CE")" 110 | PAKT="Press "$YS"any key$CE to" 111 | PAKTC="Press "$YS"any key$CE to continue..." 112 | PAKTGB="Press "$YS"any key$CE to go back..." 113 | 114 | #################################### 115 | printf '\033]2;FAKEAUTH\a' 116 | WLANNM=$(cat /root/ehtools/wlanmon.txt) 117 | export WLANNM 118 | echo -e "Press \e[1;33many key\e[0m to start fake authentication..." 119 | read 120 | while true 121 | do 122 | echo -e "--------------------"$RS"Fake authentication"$CE"----------------------" 123 | if [[ "$FIRST" = "1" ]] 124 | then 125 | aireplay-ng -1 0 -a $WEPB -h $MYMAC $WLANNM 126 | else 127 | echo -e "Getting you MAC...." 128 | sleep 1 129 | MYMAC=$(ifconfig $WLANNM | grep -o -E '([[:xdigit:]]{1,2}:){5}[[:xdigit:]]{1,2}') 130 | echo -e "Your MAC is $MYMAC" 131 | sleep 1 132 | echo -e "Starting fake-authentication..." 133 | sleep 1 134 | FIRST="1" 135 | aireplay-ng -1 0 -a $WEPB -h $MYMAC $WLANNM 136 | fi 137 | echo -e "Re-fakeauth again?"$YNYES": " 138 | read REF 139 | if [[ "$REF" = "n" ]] 140 | then 141 | exit 142 | else 143 | clear 144 | continue 145 | fi 146 | done 147 | -------------------------------------------------------------------------------- /eht/eht43: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # -------------------------------------------------- 5 | # Ehtools Framework 6 | # -------------------------------------------------- 7 | # Copyright (C) <2015> 8 | # 9 | # This program is free software: you can redistribute it and/or modify 10 | # it under the terms of the GNU General Public License as published by 11 | # the Free Software Foundation, either version 3 of the License, or 12 | # any later version. 13 | # 14 | # This program is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | # GNU General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU General Public License 20 | # along with this program. If not, see . 21 | # 22 | # 23 | # About Author : 24 | # Founder : Ehtools Team 25 | # Site : https://ehtools.pro/ 26 | # Instagram : @ehtools_framework 27 | # Twitter : @ehtools 28 | # Email : contact@ehtools.pro 29 | # 30 | 31 | CE="\e[0m" 32 | RS="\e[1;31m" 33 | YS="\e[1;33m" 34 | 35 | if [[ $EUID -ne 0 ]] 36 | then 37 | sleep 1 38 | echo -e "["$RS"*"$CE"] "$RS"This script must be run as "$YS"root"$RS"!"$CE"" 1>&2 39 | sleep 1 40 | exit 41 | fi 42 | 43 | { 44 | chattr -i /dev/config 45 | chattr -i /dev/config/config.txt 46 | chattr -i /dev/config/configure.txt 47 | } &> /dev/null 48 | 49 | { 50 | mkdir /dev/config 51 | echo 0 >> /dev/config/config.txt 52 | echo 1 >> /dev/config/configure.txt 53 | } &> /dev/null 54 | 55 | { 56 | chattr +i /dev/config 57 | chattr +i /dev/config/config.txt 58 | chattr +i /dev/config/configure.txt 59 | } &> /dev/null 60 | 61 | 62 | { 63 | SERSE="$( cat /dev/config/config.txt | head -n 1 )" 64 | ESRES="$( cat /dev/config/configure.txt | head -n 1 )" 65 | } &> /dev/null 66 | 67 | if [[ "$SERSE" != "$ESRES" ]] 68 | then 69 | 70 | { 71 | ASESR="$( timeout -s SIGTERM 40 curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//' )" 72 | KEYEK="$( cat /etc/ehtools/root/service/ehtkey.txt )" 73 | } &> /dev/null 74 | 75 | if [[ "$ASESR" != "" ]] 76 | then 77 | 78 | KEYKE="$( timeout -s SIGTERM 40 curl "https://raw.githubusercontent.com/dj-mobley/ehtools-config/master/ehtools.cfg" 2>/dev/null )" 79 | 80 | if [[ "$KEYEK" != "$KEYKE" ]] 81 | then 82 | 83 | sleep 1 84 | echo -e "["$RS"*"$CE"] "$RS"Failed to open session for eht43!"$CE"" 85 | 86 | sleep 1 87 | exit 88 | 89 | fi 90 | 91 | else 92 | sleep 1 93 | echo -e "["$RS"*"$CE"] "$RS"Can't connect to server: There is no connection!"$CE"" 94 | sleep 1 95 | exit 96 | fi 97 | fi 98 | 99 | #############DEFAULTS############### 100 | #setting yellow-start 101 | YS="\e[1;33m" 102 | #setting color-end 103 | CE="\e[0m" 104 | #setting red-start 105 | RS="\e[1;31m" 106 | #setting frequent stings 107 | YNYES="("$YS"y"$CE"/"$YS"n"$CE")("$YS"Enter"$CE"=yes)" 108 | YNNO="("$YS"y"$CE"/"$YS"n"$CE")("$YS"Enter"$CE"=no)" 109 | YNONLY="("$YS"y"$CE"/"$YS"n"$CE")" 110 | PAKT="Press "$YS"any key$CE to" 111 | PAKTC="Press "$YS"any key$CE to continue..." 112 | PAKTGB="Press "$YS"any key$CE to go back..." 113 | 114 | #################################### 115 | printf '\033]2;PACKET INJECTION\a' 116 | WLANNM=$(cat /root/ehtools/wlanmon.txt) 117 | export WLANNM 118 | while true 119 | do 120 | echo -e "----------------------"$RS"Packet injection"$CE"-----------------------" 121 | echo -e "You need to do the Fake-authentication first!(on the other terminal)" 122 | if [[ "$FIRSTT" = "1" ]] 123 | then 124 | aireplay-ng -3 -b $WEPB -h $MYMAC $WLANNM 125 | else 126 | echo -e "$PAKT start fake authentication..." 127 | read 128 | echo -e "Getting you MAC...." 129 | sleep 1 130 | MYMAC=$(ifconfig $WLANNM | grep -o -E '([[:xdigit:]]{1,2}:){5}[[:xdigit:]]{1,2}') 131 | echo -e "Your MAC is $MYMAC" 132 | sleep 1 133 | echo -e "Starting packet injection..." 134 | sleep 1 135 | FIRSTT="1" 136 | aireplay-ng -3 -b $WEPB -h $MYMAC $WLANNM 137 | fi 138 | echo -e "Inject packets again?"$YNYES": " 139 | read REF 140 | if [[ "$REF" = "n" ]] 141 | then 142 | exit 143 | else 144 | clear 145 | continue 146 | fi 147 | done 148 | -------------------------------------------------------------------------------- /bin/ehtkey: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # -------------------------------------------------- 5 | # Ehtools Utilities 6 | # -------------------------------------------------- 7 | # Copyright (C) <2015> 8 | # 9 | # This program is free software: you can redistribute it and/or modify 10 | # it under the terms of the GNU General Public License as published by 11 | # the Free Software Foundation, either version 3 of the License, or 12 | # any later version. 13 | # 14 | # This program is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | # GNU General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU General Public License 20 | # along with this program. If not, see . 21 | # 22 | # 23 | # About Author : 24 | # Founder : Entynetproject (Ivan Nikolsky) 25 | # Site : http://entynetproject.simplesite.com/ 26 | # Instagram : @entynetproject 27 | # Twitter : @entynetproject 28 | # Email : entynetproject@gmail.com 29 | # 30 | 31 | CE="\e[0m" 32 | RS="\e[1;31m" 33 | YS="\e[1;33m" 34 | N="\e[1;37m" 35 | 36 | if [[ $EUID -ne 0 ]] 37 | then 38 | sleep 1 39 | echo -e "["$RS"*"$CE"] "$RS"This script must be run as "$YS"root"$RS"!"$CE"" 1>&2 40 | sleep 1 41 | exit 42 | fi 43 | 44 | { 45 | chattr -i /dev/config 46 | chattr -i /dev/config/config.txt 47 | chattr -i /dev/config/configure.txt 48 | } &> /dev/null 49 | 50 | { 51 | mkdir /dev/config 52 | echo 0 >> /dev/config/config.txt 53 | echo 1 >> /dev/config/configure.txt 54 | } &> /dev/null 55 | 56 | { 57 | chattr +i /dev/config 58 | chattr +i /dev/config/config.txt 59 | chattr +i /dev/config/configure.txt 60 | } &> /dev/null 61 | 62 | 63 | { 64 | SERSE="$( cat /dev/config/config.txt | head -n 1 )" 65 | ESRES="$( cat /dev/config/configure.txt | head -n 1 )" 66 | } &> /dev/null 67 | 68 | if [[ "$SERSE" != "$ESRES" ]] 69 | then 70 | 71 | { 72 | ASESR="$( timeout -s SIGTERM 40 curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//' )" 73 | KEYEK="$( cat /etc/ehtools/root/service/ehtkey.txt )" 74 | } &> /dev/null 75 | 76 | if [[ "$ASESR" != "" ]] 77 | then 78 | 79 | KEYKE="$( timeout -s SIGTERM 40 curl "https://raw.githubusercontent.com/dj-mobley/ehtools-config/master/ehtools.cfg" 2>/dev/null )" 80 | 81 | if [[ "$KEYEK" != "$KEYKE" ]] 82 | then 83 | 84 | sleep 1 85 | echo -e "["$RS"*"$CE"] "$RS"Failed to open session for ehtkey!"$CE"" 86 | 87 | sleep 1 88 | exit 89 | 90 | fi 91 | 92 | else 93 | sleep 1 94 | echo -e "["$RS"*"$CE"] "$RS"Can't connect to server: There is no connection!"$CE"" 95 | sleep 1 96 | exit 97 | fi 98 | fi 99 | 100 | if [[ $1 = "--help" || $1 = "-h" ]] 101 | then 102 | echo -e "Usage: ehtkey [OPTION...]" 103 | echo -e "Copyright (C) 2019, Entynetproject. All Rights Reserved." 104 | echo -e 105 | echo -e " -c --change Change ehtools config key." 106 | echo -e " (change config key)" 107 | echo -e " -h --help Give this help list." 108 | exit 109 | 110 | elif [[ $1 = "--change" || $1 = "-c" ]] 111 | then 112 | if [[ $2 = "" ]] 113 | then 114 | echo -e "Usage: ehtkey $1 " 115 | exit 116 | fi 117 | if [[ $3 = "" ]] 118 | then 119 | echo -e "Usage: ehtkey $1 " 120 | exit 121 | fi 122 | if [[ $2 != "$(cat /root/ehtools/etc/.config)" ]] 123 | then 124 | sleep 2 125 | echo -e "Error, incorrect old ehtools config key!" 126 | sleep 2 127 | exit 128 | else 129 | sleep 2 130 | { 131 | cd /root/ehtools/lib 132 | chmod +x libdec 133 | ./libdec 134 | cd /root/ehtools/lib 135 | chmod +x libunconf 136 | ./libunconf 137 | rm /etc/ehtools/.config 138 | rm /root/ehtools/etc/.config 139 | echo "$3" >> /root/ehtools/etc/.config 140 | cd /root/ehtools/lib 141 | chmod +x libconf 142 | ./libconf 143 | cd /root/ehtools/lib 144 | chmod +x libenc 145 | ./libenc 146 | cd /root 147 | } &> /dev/null 148 | echo -e "Success, ehtools config key changed!" 149 | sleep 0.5 150 | echo -e "New ehtools config key: $3" 151 | sleep 2 152 | exit 153 | fi 154 | fi 155 | 156 | echo -e "Usage: ehtkey [OPTION...]" 157 | echo -e "Copyright (C) 2019, Entynetproject. All Rights Reserved." 158 | echo -e 159 | echo -e " -c --change Change ehtools config key." 160 | echo -e " (change config key)" 161 | echo -e " -h --help Give this help list." 162 | exit 163 | -------------------------------------------------------------------------------- /etc/lite/bin/ehtapp: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # -------------------------------------------------- 5 | # Ehtools Utilities 6 | # -------------------------------------------------- 7 | # Copyright (C) <2015> 8 | # 9 | # This program is free software: you can redistribute it and/or modify 10 | # it under the terms of the GNU General Public License as published by 11 | # the Free Software Foundation, either version 3 of the License, or 12 | # any later version. 13 | # 14 | # This program is distributed in the hope that it will be useful, 15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | # GNU General Public License for more details. 18 | # 19 | # You should have received a copy of the GNU General Public License 20 | # along with this program. If not, see . 21 | # 22 | # 23 | # About Author : 24 | # Founder : Entynetproject (Ivan Nikolsky) 25 | # Site : http://entynetproject.simplesite.com/ 26 | # Instagram : @entynetproject 27 | # Twitter : @entynetproject 28 | # Email : entynetproject@gmail.com 29 | # 30 | 31 | CE="\e[0m" 32 | RS="\e[1;31m" 33 | YS="\e[1;33m" 34 | N="\e[1;37m" 35 | 36 | if [[ $EUID -ne 0 ]] 37 | then 38 | sleep 1 39 | echo -e "["$RS"*"$CE"] "$RS"This script must be run as "$YS"root"$RS"!"$CE"" 1>&2 40 | sleep 1 41 | exit 42 | fi 43 | 44 | if [[ $1 = "--help" || $1 = "-h" ]] 45 | then 46 | echo -e "Usage: ehtapp [OPTION...]" 47 | echo -e "Copyright (C) 2019, Entynetproject. All Rights Reserved." 48 | echo -e 49 | echo -e " -c --create Create ehtools application." 50 | echo -e " (create shortcut application)" 51 | echo -e " -d --desktop