-
Notifications
You must be signed in to change notification settings - Fork 150
/
dependencies.py
19 lines (18 loc) · 923 Bytes
/
dependencies.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import os
if __name__ == "__main__":
if os.getuid() != 0:
print("Please run this installation script as root!")
else:
print("Installing Pip for Python.")
os.system('apt-get install -y python3-pip >> /dev/null')
os.system('apt-get install -y python-pip >> /dev/null')
os.system("pip install --upgrade pip")
print("Installing development Python version.")
os.system('apt-get install -y build-essential libssl-dev libffi-dev python-dev >> /dev/null')
print("Installing Nmap.")
os.system('apt-get install -y nmap >> /dev/null')
os.system('apt-get install -y python-tk >> /dev/null')
print("Installing essential python packages.")
os.system('pip install -r requirements.txt >> /dev/null')
#print("Downloading additional backdoors.")
#os.system('git clone https://github.com/n1nj4sec/pupy >> /dev/null')