-
Notifications
You must be signed in to change notification settings - Fork 12
/
jtre.sh
94 lines (69 loc) · 2.18 KB
/
jtre.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
#!/usr/bin/env bash
#Tool Name = JTRE
#Author = ASHWINI SAHU (GitHub : ASHWIN990)
#Date = 30/07/2019
#Shell Must be used BASH not another like fish, ZSH and any other
#Banner
banner () {
echo -e "\e[1;93m"
cat << "EOF"
_____ ________ _______ ________
| \| \| \ | \
\$$$$$ \$$$$$$$$| $$$$$$$\| $$$$$$$$
| $$ | $$ | $$__| $$| $$__
__ | $$ | $$ | $$ $$| $$ \
| \ | $$ | $$ | $$$$$$$\| $$$$$
| $$__| $$ | $$ | $$ | $$| $$_____
\$$ $$ | $$ | $$ | $$| $$ \
\$$$$$$ \$$ \$$ \$$ \$$$$$$$$
EOF
echo -e "\e[0m"
echo -e "\e[93mMade with LOVE by \e[1;91mASHWINI SAHU\e[0m"
}
#Checking if the install script is runed or not
check-installation () {
if [ -d $PWD/.temp/ ]
then
echo -e "YOU HAVE THE .temp DIRECTORY" && clear
else
echo -e "PLEASE INSTALL THE TOOL FIRST" && exit
fi
}
if [ -d $PWD/.john.pot/ ]
then
echo -e "YOU HAVE THE .john.pot DIRECTORY" && clear
else
echo -e "PLEASE INSTALL THE TOOL FIRST" && exit
fi
#Options List Function
options-list () {
banner
echo -e "\nJOHN THE RIPPER EASY\n\nCrack the password in ease\n\n\n"
echo -e "\e[1;93m1. \e[1;92mCrack Linux USER and Root Password"
echo -e "\e[1;93m2. \e[1;92mCrack MD5 Hash"
echo -e "\e[1;93m3. \e[1;92mCrack Other Hash Algorithms"
echo -e "\e[1;93m4. \e[1;92mCrack Compressed File Password"
echo -e "\e[1;93m5. \e[1;92mCrack PDF File Password"
echo -e "\e[1;93m6. \e[1;92mCrack SSH Key Password\n"
echo -e "\e[1;92mNEW THINGS COMING SOON...........\n\n"
}
#Option Selector Function
options-selector () {
while true;
do
read -p $'\e[1;4;91mSELECT ONE OF THE OPTIONS WITH THE RESPECTED NUMBER\e[0m\e[24;1;97m : ' options
case $options in
[1]* ) echo && bash modules/opt1 ;exit;;
[2]* ) echo && bash modules/opt2 ;exit;;
[3]* ) echo && bash modules/hash-crack/opt3 ;exit;;
[4]* ) echo && bash modules/opt4 ;exit;;
[5]* ) echo && bash modules/opt5 ;exit;;
[6]* ) echo && bash modules/opt6 ;exit;;
* ) clear && options-list && echo -e "\e[1;92mPlease answer it with right options \n\e[0m";;
esac
done
}
check-installation
options-list
options-selector
#ASHWIN990 , ASHWINI SAHU