Update remote-ip script

This commit is contained in:
Gregory Lirent 2024-08-01 19:28:37 +03:00
parent 6d0b6a0c79
commit aeb1796308
Signed by: lirent
GPG Key ID: F616BE337EFFEE77

View File

@ -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)