-
Notifications
You must be signed in to change notification settings - Fork 1
/
notes.txt
38 lines (33 loc) · 1.12 KB
/
notes.txt
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
# Set up Flask and venv
cd /ansible/FLNC/Exec
python3 -m venv venv
source venv/bin/activate
# cp -r ~/certs ~/FLNC/Server
# cp -r ~/certs certs
pip install -r requirements.txt
cd /ansible
# Set up Flask and venv
cd /ansible/FLNC/Exfil
python3 -m venv venv
source venv/bin/activate
# cp -r ~/certs ~/FLNC/Server
# cp -r ~/certs certs
pip install -r requirements.txt
cd /ansible
# set up node
# Check if ~/your-corsanywhere exists
if [ ! -d ~/yourcorsanywhere ]; then
# Clone the GitHub repository
git clone https://github.com/mellosec/yourcorsanywhere /home/ansible/yourcorsanywhere
fi
cd /ansible/yourcorsanywhere/lure-server/cors-anywhere
npm install
cd /ansible
# Create detached TMUX sessions
tmux new-session -d -s exfil
tmux send-keys -t exfil "cd home/ansible/FLNC/Exfil" C-m
tmux send-keys -t exfil "python3 analytics.py -n" C-m
tmux new-session -d -s exec
tmux send-keys -t exec "cd home/ansible/FLNC/Exec" C-m
tmux send-keys -t exec "python3 supdho.py -n" C-m
tmux list-sessions