r/shittyprogramming • u/Aggravating_Judge_31 • Sep 26 '23
Discovered this brilliantly written Powershell script at my last job
83
Upvotes
r/shittyprogramming • u/Aggravating_Judge_31 • Sep 26 '23
View all comments
Show parent comment
5
u/jantari Sep 27 '23
I mean, you don't need to go through the complexity of an HTTPS request for this simple task, easier and faster to just use DNS by querying
myip.opendns.comfromresolver1.opendns.com, e.g.: