Skip to content

Instantly share code, notes, and snippets.

Avatar

Elad Shamir eladshamir

View GitHub Profile
@eladshamir
eladshamir / DnsTunnel.cs
Created Apr 11, 2020
This simple program tunnels UDP DNS packets to a TCP port
View DnsTunnel.cs
using System;
using System.Net.Sockets;
using System.Net;
namespace DnsTunnel
{
class Program
{
static void OpenTunnel(int listenerPort, string targetHost, int targetPort)
{