Update remote-ip.vbs
This commit is contained in:
parent
0859928964
commit
25af70f24f
@ -3,4 +3,8 @@ Set o = CreateObject("MSXML2.XMLHTTP")
|
|||||||
o.open "GET", "https://2ip.io", False
|
o.open "GET", "https://2ip.io", False
|
||||||
o.SetRequestHeader "User-Agent", "curl/8.8.0"
|
o.SetRequestHeader "User-Agent", "curl/8.8.0"
|
||||||
o.send
|
o.send
|
||||||
echo Trim(o.responseText)
|
|
||||||
|
ip=Trim(o.responseText)
|
||||||
|
echo ip
|
||||||
|
|
||||||
|
if Len(ip)=0 then echo vbNewLine
|
Loading…
Reference in New Issue
Block a user