Update remote-ip.vbs

This commit is contained in:
2024-08-02 21:55:56 +03:00
parent 0859928964
commit 25af70f24f
+5 -1
View File
@@ -3,4 +3,8 @@ Set o = CreateObject("MSXML2.XMLHTTP")
o.open "GET", "https://2ip.io", False
o.SetRequestHeader "User-Agent", "curl/8.8.0"
o.send
echo Trim(o.responseText)
ip=Trim(o.responseText)
echo ip
if Len(ip)=0 then echo vbNewLine