Update spawn.py

This commit is contained in:
trustedsec 2016-08-10 10:12:49 -04:00 committed by GitHub
parent d0b3bb6b8a
commit 268efbce9a

View file

@ -63,7 +63,7 @@ if core.check_options("CUSTOM_EXE="):
data = data.replace('param name="8" value="YES"', 'param name="8" value="{0}"'.format(goat_random))
filewrite.write(data)
subprocess.Popen("mv {0{ {1}".format(os.path.join(core.setdir, "web_clone/index.html.new"),
subprocess.Popen("mv {0} {1}".format(os.path.join(core.setdir, "web_clone/index.html.new"),
os.path.join(core.setdir, "web_clone/index.html")),
shell=True).wait()