查询本机目前公网ip

发表日期: 2023-05-11

image.png


进入它网站发现它是iFrame嵌入了https://2023.ip138.com/,核心查询是这个网站,外面是个壳,为了拉广告流量的

Dim hc As New HttpClient("https://2023.ip138.com/")
Dim regex As New Regex("<title>(.*?)<\/title>")

Dim s As String = hc.GetData
Dim match As Match = regex.Match(s)
If match.Success Then
    s = match.Groups(1).Value.Substring(8)
    Output.Show(s)
End If

结果:14.28.129.33


随便看看
商务联系QQ : 2385350359

Copyright 2016-2023 江门蓬江区华越科技公司 版权所有 | 承接软件定制开发,欢迎联系
粤ICP备19148806号-5