Skip to content

Instantly share code, notes, and snippets.

@dmchell
Created January 31, 2021 18:43
Show Gist options
  • Save dmchell/e0d32ffdc02d91a73d8806acd1c192a8 to your computer and use it in GitHub Desktop.
Save dmchell/e0d32ffdc02d91a73d8806acd1c192a8 to your computer and use it in GitHub Desktop.
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