Skip to content

Instantly share code, notes, and snippets.

@killvxk
Forked from dmchell/getnamedpipes.cs
Created September 22, 2021 08:45
Show Gist options
  • Select an option

  • Save killvxk/c852d476bbfc01e75ae443bd8f2b7320 to your computer and use it in GitHub Desktop.

Select an option

Save killvxk/c852d476bbfc01e75ae443bd8f2b7320 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