mirror of
https://github.com/trustedsec/social-engineer-toolkit
synced 2024-11-23 04:53:05 +00:00
commit
35f37ff27f
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ if not os.path.isdir(os.path.join(core.setdir, "web_clone")):
|
|||
os.makedirs(os.path.join(core.setdir, "web_clone/"))
|
||||
if os.path.isfile(os.path.join(core.setdir, "web_clone/index.html")):
|
||||
os.remove(os.path.join(core.setdir, "web_clone/index.html"))
|
||||
shutil.copyfile("src/html/index.template", os.path.join(core.setdir, "/web_clone/index.html"))
|
||||
shutil.copyfile("src/html/index.template", os.path.join(core.setdir, "web_clone/index.html"))
|
||||
|
||||
with open(os.path.join(core.setdir, "site.template"), 'w') as filewrite:
|
||||
filewrite.write("TEMPLATE=SELF\nURL={0}".format(url))
|
||||
|
|
Loading…
Reference in a new issue