网站首页  汉语字词  英语词汇  考试资料  写作素材  旧版资料

请输入您要查询的考试资料:

 

标题 vbs实现myipneighbors 域名查询结果整理
内容
    把myipneighbors查询的结果COPY下来,然后保存后,拖到此脚本上,进行整理因为myipneighbors有验证码,能力有限,没办法突破..只能先这样了.
    代码如下:
    On Error Resume Next
    Set Arg=Wscript.Arguments
    If Arg.count=0 then Wscript.quit
    'code by NetPatch
    'enjoy it
    Set Fso=CreateObject("Scripting.FileSystemObject")
    Set Gofile=Fso.OpenTextFile(Arg(0),1,false,-2)
    Do while Gofile.Atendofline <> True
    Data=gofile.readline
    With fso.opentextfile(Arg(0)&".htm",8,true)
    Data=replace(Data,"(view site)","")
    Data=trim(replace(Data,mid(Data,1,InStr(Data,")")),""))
    .Write "<table>"
    .Write "<tr>"
    .Write "<tr><td><a href='http://www.google.be/search?hl=zh-CN&q=site:"&Data&"&btnG=Google+' tArget='_blank'>Google_Site查询</a></td></tr>"
    .Write "<td><a href='http://www."&Data&"' tArget='_blank'>www."&Data&"</a></td></tr>"
    .Write "<tr><td><a href='http://www.google.be/search?hl=zh-CN&q=site:"&Data&"+inurl:asp|aspx|cfm&btnG=Google+' tArget='_blank'>查扩展映射(asp|aspx|cfm)</a></td></tr>"
    .Write "<tr><td><a href='http://www.google.be/search?hl=zh-CN&q=site:"&Data&"+inurl:cgi|jsp|pl|py|php|php3&btnG=Google+' tArget='_blank'>查扩展映射(cgi|jsp|pl|py|php|php3)</a></td></tr>"
    .Write "</table>"
    .Writeline "<br><br>"
    .close
    End With
    Loop
    File.Close
    Set Fso=Nothing
    Wscript.Echo "ok"
随便看

 

在线学习网考试资料包含高考、自考、专升本考试、人事考试、公务员考试、大学生村官考试、特岗教师招聘考试、事业单位招聘考试、企业人才招聘、银行招聘、教师招聘、农村信用社招聘、各类资格证书考试等各类考试资料。

 

Copyright © 2002-2024 cuapp.net All Rights Reserved
更新时间:2025/5/20 14:27:10