Skip to content

Instantly share code, notes, and snippets.

@cobbr
Created November 6, 2018 15:46
Show Gist options
  • Save cobbr/cbefc8ae7005a7d167908716a19e4a84 to your computer and use it in GitHub Desktop.
Save cobbr/cbefc8ae7005a7d167908716a19e4a84 to your computer and use it in GitHub Desktop.
PS > [System.Reflection.Assembly]::Load([System.IO.File]::ReadAllBytes("SharpSploit.dll").GetType("SharpSploit.Execution.Shell").GetMethod("ShellExecute").Invoke(0, @("whoami", "", "", ""))
desktop-f9dq76g\cobbr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment