本帖最后由 Demo 于 2015-7-11 22:53 编辑
[Visual Basic] 纯文本查看 复制代码 'Demo
'吾爱破解
'转载请保持完整出处
'[url=http://www.52pojie.cn/space-uid-153321.html]http://www.52pojie.cn/space-uid-153321.html[/url]
Function HttpGet(url)
With CreateObject("Msxml2.ServerXMLHTTP")
.open "GET", url, False
.send
HttpGet = .responseText
End With
End Function
Private Sub Command1_Click()
a = HttpGet("http://1111.ip138.com/ic.asp[url=http://1111.ip138.com/ic.asp"]"[/url])
a = Split(a, "[")
a = a(1)
a = Split(a, "]")
a = a(0)
MsgBox a
End Sub
高级版:
[Visual Basic] 纯文本查看 复制代码 '吾爱破解
'转载请保持完整出处
'[url=http://www.52pojie.cn/space-uid-153321.html]http://www.52pojie.cn/space-uid-153321.html[/url]
Function HttpGet(url)
With CreateObject("Msxml2.ServerXMLHTTP")
.open "GET", url, False
.send
HttpGet = .responseText
End With
End Function
Private Sub Command1_Click()
a = HttpGet("http://1111.ip138.com/ic.asp[url=http://1111.ip138.com/ic.asp"]"[/url])
a = Split(a, "[")
a = a(1)
a = Split(a, "]")
a = a(0)
MsgBox a
a = HttpGet("http://wap.ip138.com/ip_search138.asp?ip=[url=http://wap.ip138.com/ip_search138.asp?ip="]"[/url] & a)
a = Split(a, "</b><br/><b>")
a = a(1)
a = Split(a, "</b><br/>")
a = a(0)
MsgBox a
End Sub
|