From 00259d34bcbd3de2f6a261da578c68cac7263385 Mon Sep 17 00:00:00 2001 From: Daniel Card Date: Thu, 18 May 2023 15:32:27 +0100 Subject: [PATCH] Create godark.ps1 --- godark.ps1 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 godark.ps1 diff --git a/godark.ps1 b/godark.ps1 new file mode 100644 index 0000000..f6421ae --- /dev/null +++ b/godark.ps1 @@ -0,0 +1,14 @@ +#BYE BYE CHARLIE FREN +#DNS Client Sinkhole + +Get-DnsClientNrptRule | Remove-DnsClientNrptRule -Force + +$domainlist = Get-Content .\domains.txt + +foreach($namespace in $domainlist){ + +Add-DnsClientNrptRule -Namespace $namespace -NameServers "127.0.0.2" + +} + +Get-DnsClientNrptRule