diff --git a/spidercat.ps1 b/spidercat.ps1 index 1ae264f..89f9adc 100644 --- a/spidercat.ps1 +++ b/spidercat.ps1 @@ -10,6 +10,8 @@ $username = $env:username $markdown = "$account.md" # network values +# possible replacement for using curl.exe (better OPSEC) +# $public = Resolve-DnsName -Server ns1.google.com -Type TXT -Name o-o.myaddr.l.google.com | Select-Object -ExpandProperty 'Strings' $public = curl.exe https://ident.me $private = (get-WmiObject Win32_NetworkAdapterConfiguration|Where {$_.Ipaddress.length -gt 1}).ipaddress[0] $MAC = ipconfig /all | Select-String -Pattern "physical" | select-object -First 1; $MAC = [string]$MAC; $MAC = $MAC.Substring($MAC.Length - 17)