本帖vb源代码-回复灌水检测机【吾爱破解专用】

灌水机  时间:2021-03-19  阅读:()

Private Declare Function ShellExecute Lib"shell32.dll"Alias "ShellExecuteA" (ByVal hwnd AsLong,ByVal lpOperation As String,ByVal lpFile As String,ByVal lpParameters As String,ByVallpDirectory As String,ByVal nShowCmd As Long)As Long'声明

Sub ClearDups(lst As Control, comptype As Boolean)

Dim i&, j&, tmp$(),c ID&, ls tCount&, s Comptype&, tmpLine$ls t.Vis ib le=F als els t C o unt=ls t.Lis t C o unt - 1

If lstCount<0 Then Exit Sub

ReDim tmp(ls tCount)

If c omptype Then s Comptype=0 Els e s Comptype=1

For j=lstCount To 0 Step-1tmp Lin e=ls t.Lis t(j)

For i=0 TocID- 1

If StrComp(tmp(i), tmpLine, s Comptype)=0 Thenlst.RemoveItem j

Exit For

End If

Next

If i>cID- 1 Thentmp(cI D)=tmp LinecID=cID+1

End If

Nextls t.Vis ib le=T rue

End Sub

Function ChkList()As Boo lean

Dim m As Integer

F or m=0 To Lis t 1.Lis tCount - 1

If List 1.List(m)=zihao Then

ChkL is t=F als e

Els e

ChkL is t=T rue

End If

Next

End Function

Public Function FindStrMulti$(Strall$,FirstStr$,EndStr$,SplitStr$)

Dim i&, j&j=1

Doi=InStr(j,Strall,FirstStr)

If i=0 Then

Exit Do

End Ifi=i+Len(F ir s tS tr)j=In S tr(i,S trall,EndS tr)

If j>0 Then

F indStrMulti=IIf(Len(F indStrMulti)>0,FindStrMulti&SplitStr, "")&Mid(Strall, i, j -i)

Els e

Exit Do

End If

Loop

End Function

Private Sub Command1_Click()

Web Brow s er 1.Navigate Text 1.Text

Call Command2_Click

Lab e l 1.Vis ib le=True

End Sub

Private Sub Command2_Click()

On Error Resume Next

For i=0 To WebBrow s er 1.Document.links.Length- 1

Dim zihao As String

If InStr(WebBrowser1.Document.links.Item(i),"http://www.52pojie.c n/forum.php?mod=redirec t&goto=findpost&ptid=")Thenzihao = WebBrow s er 1.Doc ument.links.Item(i).innerText & "--" &Web Brow s er 1.Document.getelementbyid("postmes s age_" &FindStrMult i(Web Brow s er 1.Document.links.Item(i)&"abc", "&pid=", "abc", "")).innerTextIf List 1.ListCount=0 Then List 1.AddItem zihao

If ChkList=True Then List 1.AddItem zihao

End If

Next i

End Sub

Private Sub Command3_Click()

Dim sT!sT=Timer

ClearDups List 1,True

Lab el 1.Capt ion="本帖回复"&Lis t 1.Lis tCount&"次/"&I nt(Lis t 1.Lis tCount / 10)+1&"页"

End Sub

Private Sub Command4_Click()

On Error Resume Next

Dim outdatatxt As String

Open"d:\回复记录.txt"F or Output As#1

F or i=0 To Lis t 1.Lis tCount - 1

Pr int#1,Lis t 1.Lis t(i)

Next i

Close#1

Ms gBox"已保存在“d:\回复记录.txt”中", , "提示"

End Sub

Private Sub Command5_Click()

On Error Resume Next

F or i=0 To Lis t 1.Lis tCount - 1

Dim m As Stringm=F indS trMulti(L is t 1.Lis t(i)&"ENT ER", "--", "ENTE R", "")

Dim Sum&

S um=0

For c=1 To Len(m)

Char=Mid(m,c, 1)

If (AscW(Char) > -40870 And AscW(Char) < -19967) Or (AscW(Char) < 40870 AndAs c W(Char)>19967)Then

S um=S um+1

End If

Next c

If Sum<=1 Then

Lis t2.AddItem Lis t 1.Lis t(i)

End If

Next i

If List2.ListCount=0 Then

MsgBox"貌似本帖无人灌水、 ", , "好现象"

End If

End Sub

Private Sub Form_Load()

Web Brow s er 1.Navigate"http://www.52pojie.cn/"

End Sub

Private Sub Label3_Click()

On Error Resume Next

ShellEx ecute 0, "open", "http://b log.sina.c om.cn/s/blog_92b6d74d01012s 3r.html", vbNullString,vbNul lS tring, 3

End Sub

Private Sub Text1_Change()

If List 1.ListCount<>0 Then

For a=List1.ListCount - 1 To 0 Step-1

Lis t 1.RemoveItem(a)

Next a

End If

I f Lis t2.Lis tCount<>0 Then

For a=List2.ListCount - 1 To 0 Step-1

Lis t2.RemoveI tem(a)

Next a

End If

Label1.Caption=""

Web Brow s er 1.Navigate"about:b lank"

End Sub

Private Sub Text1_GotFocus()

Text 1.SelStart=0

Text 1.S elLength=Len(Text 1)

End Sub

Private Sub WebBrowser1_DocumentComplete(ByVal pDisp As Object,URL As Variant)For i=0 To WebBrow s er 1.Document.links.Length- 1

If WebBrows er 1.Document.links.Item(i).innerText="下一页"Then

WebBrowser 1.Navigate WebBrowser 1.Document.links.Item(i)

End If

Next i

Call Command2_Click

End Sub

云基最高500G DDoS无视CC攻击(Yunbase),洛杉矶CN2GIA、国内外高防服务器

云基成立于2020年,目前主要提供高防海内外独立服务器用户,欢迎各类追求稳定和高防优质线路的用户。业务可选:洛杉矶CN2-GIA+高防(默认500G高防)、洛杉矶CN2-GIA(默认带50Gbps防御)、香港CN2-GIA高防(双向CN2GIA专线,突发带宽支持,15G-20G DDoS防御,无视CC)、国内高防服务器(广州移动、北京多线、石家庄BGP、保定联通、扬州BGP、厦门BGP、厦门电信、...

DiyVM:2G内存/50G硬盘/元起线路香港vps带宽CN2线路,香港VPS五折月付50元起

DiyVM是一家低调国人VPS主机商,成立于2009年,提供的产品包括VPS主机和独立服务器租用等,数据中心包括香港沙田、美国洛杉矶、日本大阪等,VPS主机基于XEN架构,均为国内直连线路,主机支持异地备份与自定义镜像,可提供内网IP。最近,商家对香港机房VPS提供5折优惠码,最低2GB内存起优惠后仅需50元/月。下面就以香港机房为例,分享几款VPS主机配置信息。CPU:2cores内存:2GB硬...

A2Hosting三年付$1.99/月,庆祝18周年/WordPress共享主机最高优惠81%/100GB SSD空间/无限流量

A2Hosting主机,A2Hosting怎么样?A2Hosting是UK2集团下属公司,成立于2003年的老牌国外主机商,产品包括虚拟主机、VPS和独立服务器等,数据中心提供包括美国、新加坡softlayer和荷兰三个地区机房。A2Hosting在国外是一家非常大非常有名气的终合型主机商,拥有几百万的客户,非常值得信赖,国外主机论坛对它家的虚拟主机评价非常不错,当前,A2Hosting主机庆祝1...

灌水机为你推荐
css加载失败网易邮箱登陆显示CSS加载失败,怎么办?急,在线等。access数据库修复请问Access数据库修复恢复该怎么办啊,有些页和模块打不开了,也不知道是怎么回事,丢了文件还cuteftpCuteFTP Pro如何使用?internetexplorer无法打开internet explorer网页打不开申请支付宝账户如何申请支付宝账户360arp防火墙在哪360ARP防火墙资费标准中国电信套餐资费一览表2021shopex模板SHOPEX模板 修改整体宽度顽固木马专杀工具360顽固木马专杀工具怎么样,和超级巡警比呢?shopex分销王商派的分销王怎么样?听说ShopEx还是大牌子?
鲁诺vps 双线vps 国外主机 圣迭戈 cloudstack seovip 轻博 php探针 天猫双十一抢红包 idc是什么 中国电信测网速 t云 银盘服务是什么 smtp服务器地址 lamp架构 江苏双线 hostease 闪讯网 海外加速 hosting 更多