From aeb179630814d87fac5058186e33f19e7e3ba591 Mon Sep 17 00:00:00 2001 From: Gregory Lirent Date: Thu, 1 Aug 2024 19:28:37 +0300 Subject: [PATCH] Update remote-ip script --- vbs-utils/remote-ip.vbs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vbs-utils/remote-ip.vbs b/vbs-utils/remote-ip.vbs index bf41640..6201117 100644 --- a/vbs-utils/remote-ip.vbs +++ b/vbs-utils/remote-ip.vbs @@ -1,6 +1,6 @@ Dim o Set o = CreateObject("MSXML2.XMLHTTP") o.open "GET", "https://2ip.io", False -o.SetRequestHeader "User-Agent", "curl" +o.SetRequestHeader "User-Agent", "curl/8.8.0" o.send -echo Trim(o.responseText) +WScript.echo Trim(o.responseText)