From 9d278f6baaa550668358ffa574642368b874bc82 Mon Sep 17 00:00:00 2001 From: DusekJordan94 <45428790+DusekJordan94@users.noreply.github.com> Date: Tue, 17 Dec 2019 12:51:35 -0500 Subject: [PATCH 1/2] Updated to help Jon Helping Jon -- added REM --- useragent/windows/DNSFNetStats.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/useragent/windows/DNSFNetStats.bat b/useragent/windows/DNSFNetStats.bat index fd00125..5481910 100644 --- a/useragent/windows/DNSFNetStats.bat +++ b/useragent/windows/DNSFNetStats.bat @@ -3,7 +3,7 @@ @ECHO OFF REM Version 0.3 REM Created by Josh Lamb on 7NOV18 -Revisioned by Jon Cohen on 11DEC19 +REM Revisioned by Jon Cohen on 11DEC19 SETLOCAL EnableDelayedExpansion TITLE DNSFILTER DEBUGGER SET workdir=C:\temp @@ -152,4 +152,4 @@ write-output "..............................................." | out-file c:\te write-output "Unique string:" $S | out-file c:\temp\debugfile.txt -Encoding "UTF8" -Append write-output "..............................................." | out-file c:\temp\debugfile.txt -Encoding "UTF8" -Append $content = Get-Content c:\temp\debugfile.txt -$content | Foreach {$_.Trim()} | Set-Content c:\temp\debugfile.txt \ No newline at end of file +$content | Foreach {$_.Trim()} | Set-Content c:\temp\debugfile.txt From 4dd54d1a97fd233122f712b8a6872efffbbf11cf Mon Sep 17 00:00:00 2001 From: DNSFilter-jcohen <58705121+DNSFilter-jcohen@users.noreply.github.com> Date: Wed, 19 Feb 2020 10:10:06 -0800 Subject: [PATCH 2/2] Initial upload Version 1.0 initial upload of Clarity. --- DNS Clarity.ps1 | 1383 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1383 insertions(+) create mode 100644 DNS Clarity.ps1 diff --git a/DNS Clarity.ps1 b/DNS Clarity.ps1 new file mode 100644 index 0000000..6cc14a0 --- /dev/null +++ b/DNS Clarity.ps1 @@ -0,0 +1,1383 @@ +<# +DNS Clarity Version 1.0 +Written by Jon Cohen 02/2020 +Copyright (c) DNSFilter. All rights reserved. +#> + +$Global:syncHash = [hashtable]::Synchronized(@{}) +$newRunspace =[runspacefactory]::CreateRunspace() +$newRunspace.ApartmentState = "STA" +$newRunspace.ThreadOptions = "ReuseThread" +$newRunspace.Open() +$newRunspace.SessionStateProxy.SetVariable("syncHash",$syncHash) +$iss = [initialsessionstate]::Create() +$iss.ApartmentState = 'STA' +$iss.ThreadOptions = 'ReuseThread' +$iss.LanguageMode = 'FullLanguage' +$customRSPool = [System.Management.Automation.Runspaces.RunspaceFactory]::CreateRunspacePool(1,4,$iss,$host) +$customRSPool.Open() +$ps = [powershell]::Create() +$ps.RunspacePool = $customRSPool +# Load WPF assembly if necessary +[void][System.Reflection.Assembly]::LoadWithPartialName('presentationframework') + +$psCmd = [PowerShell]::Create().AddScript({ + [xml]$script:xaml = ' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +