mirror of
https://github.com/trustedsec/social-engineer-toolkit
synced 2024-11-25 14:00:18 +00:00
add setup.py installer for non-standalone
This commit is contained in:
parent
1252ee4ce2
commit
bbe2a48ef3
3 changed files with 27 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
~~~~~~~~~~~~~~~~
|
||||
version 8.0.2
|
||||
~~~~~~~~~~~~~~~~
|
||||
|
||||
* fix an issue on harvester file not defined (python 3 compat)
|
||||
* add a simple install for setoolkit (setup.py)
|
||||
|
||||
~~~~~~~~~~~~~~~~
|
||||
version 8.0.1
|
||||
~~~~~~~~~~~~~~~~
|
||||
|
|
19
setup.py
Executable file
19
setup.py
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/usr/bin/python
|
||||
#
|
||||
# quick installer for SET
|
||||
#
|
||||
#
|
||||
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.")
|
|
@ -1 +1 @@
|
|||
8.0.1
|
||||
8.0.2
|
||||
|
|
Loading…
Reference in a new issue