mirror of
https://github.com/trustedsec/social-engineer-toolkit
synced 2024-11-14 00:37:19 +00:00
20 lines
854 B
Python
Executable file
20 lines
854 B
Python
Executable file
#!/usr/bin/python
|
|
#
|
|
# quick installer for SET
|
|
#
|
|
#
|
|
from __future__ import print_function
|
|
import subprocess
|
|
import os
|
|
print("[*] Installing requirements.txt...")
|
|
subprocess.Popen("pip3 install -r requirements.txt", shell=True).wait()
|
|
print("[*] Installing setoolkit to /usr/share/setoolkit..")
|
|
print(os.getcwd())
|
|
subprocess.Popen("mkdir /usr/share/setoolkit/;mkdir /etc/setoolkit/;cp -rf * /usr/share/setoolkit/;cp src/core/config.baseline /etc/setoolkit/set.config", shell=True).wait()
|
|
print("[*] Creating launcher for setoolkit...")
|
|
filewrite = open("/usr/local/bin/setoolkit", "w")
|
|
filewrite.write("#!/bin/sh\ncd /usr/share/setoolkit\n./setoolkit")
|
|
filewrite.close()
|
|
print("[*] Done. Chmoding +x.... ")
|
|
subprocess.Popen("chmod +x /usr/local/bin/setoolkit", shell=True).wait()
|
|
print("[*] Finished. Run 'setoolkit' to start the Social Engineer Toolkit.")
|