-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsandbox.sh
More file actions
executable file
·29 lines (21 loc) · 823 Bytes
/
sandbox.sh
File metadata and controls
executable file
·29 lines (21 loc) · 823 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
27
28
29
#!/bin/bash
rm -rf ./sandbox
mkdir ./sandbox
echo " "
echo "========================================================="
echo "[0] Igniting malware and copying to sandbox"
echo " "
./build/ignite/polyv_ignite ./build/client/polyv_client
cp ./build/client/polyv_client ./sandbox/polyv_client
cp ./build/target/polyv_target_to_infect ./sandbox/polyv_target_to_infect_1
cp ./build/target/polyv_target_to_infect ./sandbox/polyv_target_to_infect_2
cp ./build/target/polyv_target_to_infect ./sandbox/polyv_target_to_infect_3
echo "========================================================="
echo "[1] Launching malware"
echo " "
./sandbox/polyv_client
echo " "
echo "========================================================="
echo "[2] Launching infected target"
echo " "
./sandbox/polyv_target_to_infect_1 arg_1 arg_2 arg_3