- 1、本文档共17页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
VB制作防盗QQ登陆器
(风流有话说有朋友问我,最近怎么原创文章少了。因为最近学习特有感觉,实在是太忙了!今天放假,赶紧写一篇,不然我的BLOG的流量一天比一天少了...)
QQ防盗登陆器以前有人做过,其原理非常简单,就是利用QQ的命令登录方式来防止键盘记录器记录,QQ命令行启动方式:QQ.exe /START QQUIN:QQ号码 PWDHASH:加密后的QQ密码 /STAT:登陆状态(40隐身,41正常).这样的小程序用VB就可实现。
现做好界面
主框代码:
Private Sub Form_Load()
MakeWindow form1, True 美化登陆器界面
AlwaysOnTop Me, True imgTitleMaxRestore.Picture = imgTitleMaximize.Picture
Check2.BackColor = RGB(207, 207, 207)Text3.BackColor = RGB(207, 207, 207)
On Error GoTo 100
SetWindowPos Me.hwnd, -1, 0, 0, 0, 0, H1 Or H2 设置登陆器窗口置顶
getvalue QQValue 读取QQ安装目录StrQQPath = QQValueText3.Text = StrQQPath QQ.exe 原版QQExit Sub100 Text3.Text = 未安装QQ
End Sub
Private Sub imgTitleMinimize_Click()Me.WindowState = 1End Sub
Private Sub Text1_Change()Text2.Text = Str2QQPwdHash(Text1.Text) 当密码输入框变化时,QQPwdHash文本框自动显示加密后的密码
End Sub
Private Sub imgTitleClose_Click() Unload MeEnd SubPrivate Sub imgTitleLeft_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
DoDrag Me 可以当标题栏拖动End SubPrivate Sub imgTitleMain_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
DoDrag Me 可以当标题栏拖动End SubPrivate Sub imgTitleRight_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
DoDrag Me 可以当标题栏拖动End SubPrivate Sub lblTitle_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
DoDrag Me 可以当标题栏拖动
End Sub
Private Sub Text3_Change()
End Sub
注释我已给出
以下是读取QQ安装目录Private Declare Function RegOpenKeyEx Lib advapi32.dll Alias RegOpenKeyExA (ByVal hkey As Long, ByVal lpSubKey As String, ByVal ulOptions As Long, ByVal samDesired As Long, phkResult As Long) As LongPrivate Declare Function RegCloseKey Lib advapi32.dll (ByVal hkey As Long) As LongPrivate Declare Function RegQueryValueEx Lib advapi32.dll Alias RegQueryValueExA (ByVal hkey As Long, ByVal lpValueName As String, ByVal lpReserved As Long, lpType As Long, lpData As Any, lpcbData As Long) As LongDim lbuffer As Long, sbuffer As Stri
文档评论(0)