-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmetasploit.sh
89 lines (75 loc) · 5.29 KB
/
metasploit.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
pkg install python python2 -y
pip install lolcat
clear
banner() {
echo '
.---------------------------------------.
| ╔╗ ╔╗ ╔╗ |
| ╔╝╚╗ ║║ ╔╝╚╗ |
|╔╗╔╗╔══╗╚╗╔╝╔══╗ ╔══╗╔══╗║║ ╔══╗╔╗╚╗╔╝ |
|║╚╝║║╔╗║ ║║ ╚ ╗║ ║══╣║╔╗║║║ ║╔╗║╠╣ ║║ | I
|║║║║║║═╣ ║╚╗║╚╝╚╗╠══║║╚╝║║╚╗║╚╝║║║ ║╚╗ |
|╚╩╩╝╚══╝ ╚═╝╚═══╝╚══╝║╔═╝╚═╝╚══╝╚╝ ╚═╝ |
| ╔╗ ║║ |
|╔╝╚╗ ╚╝ |
|╚╗╔╝╔══╗╔═╗╔╗╔╗╔╗╔╗╔╗╔╗
| ║║ ║╔╗║║╔╝║╚╝║║║║║╚╬╬╝
| ║╚╗║║═╣║║ ║║║║║╚╝║╔╬╬╗
| ╚═╝╚══╝╚╝ ╚╩╩╝╚══╝╚╝╚╝
| by nabin sharma
.---------------------------------------.
' | lolcat
echo ""
echo -e "\e[1;31m [\e[32m√\e[31m] \e[1;91m by \e[1;36m nabin sharma \e[93m/ \e[100;92m FOLLOW US ON GITHUB\e[0m"
}
wr () {
printf "\033[1;91m Invalid input!!!\n"
selection
}
1line() {
cd ~/Metasploit-termux/.object ; bash ml.sh
}
2line() {
cd ~/Metasploit-termux/.object ; bash r.sh
cd ~/Metasploit-termux ; bash metasploit.sh
}
3line() {
cd ~/Metasploit-termux/.object ; bash b.sh
cd ~/Metasploit-termux ; bash metasploit.sh
}
4line() {
cd ~/Metasploit-termux/.object ; bash re.sh
cd ~/Metasploit-termux ; bash metasploit.sh
cd ~/kali-theme ; bash metasploit.sh
}
5line() {
rm -rf ~/Metasploit-termux
cd
git clone https://github.com/NabinSharmaitgithub/Metasploit-termux.git
cd ~/Metasploit-termux ; bash metasploit.sh
}
selection () {
echo -e -n "\e[1;96m Choose\e[1;96m Option : \e[0m"
cd ~/Metasploit-termux
read a
case $a in
1) 1line ;;
2) 2line ;;
3) 3line ;;
4) 4line ;;
5) 5line ;;
6) exit ;;
*) wr ;;
esac
}
menu () {
banner
printf "\n\033[1;91m[\033[0m1\033[1;91m]\033[1;92m Metasploit Installation\n"
printf "\033[1;91m[\033[0m2\033[1;91m]\033[1;92m Repair\n"
printf "\033[1;91m[\033[0m3\033[1;91m]\033[1;92m Backup\n"
printf "\033[1;91m[\033[0m4\033[1;91m]\033[1;92m Restore\n"
printf "\033[1;91m[\033[0m5\033[1;91m]\033[1;92m Update\n"
printf "\033[1;91m[\033[0m6\033[1;91m]\033[1;92m Exit\n\n\n"
selection
}
menu