Created
January 31, 2021 18:43
-
-
Save dmchell/e0d32ffdc02d91a73d8806acd1c192a8 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.IO; | |
using System; | |
namespace GetNamedPipes | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Console.WriteLine("[*] Found the following pipes:"); | |
foreach(var pipe in Directory.GetFiles("\\\\.\\\\pipe")) | |
{ | |
Console.WriteLine("- {0}", pipe); | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment