就是模仿一个密码框?
要仿造得有技术含量!让人看不出破绽还是有点难度的! Option Explicit
Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Private Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" (ByVal hWnd1 As Long, ByVal hWnd2 As Long, ByVal lpsz1 As String, ByVal lpsz2 As String) As Long
Private Declare Function SetParent Lib "user32" (ByVal hWndChild As Long, ByVal hWndNewParent As Long) As Long
Private Declare Function GetWindowRect Lib "user32" (ByVal Hwnd As Long, lpRect As RECT) As Long
Private Type RECT
Left As Long
Top As Long
Right As Long
Bottom As Long
End Type
Private Sub Command1_Click()
Dim Hwnd As Long, tipwnd As Long, rctemp As RECT
Hwnd = FindWindow("SciCalc", vbNullString)
tipwnd = FindWindowEx(Hwnd, 0, "Edit", vbNullString)
GetWindowRect tipwnd, rctemp
With Text1
SetParent .Hwnd, tipwnd
.Top = 0
.Left = 0
.Width = (rctemp.Right - rctemp.Left) * Screen.TwipsPerPixelX - 50
.Height = (rctemp.Bottom - rctemp.Top) * Screen.TwipsPerPixelY
End With
Me.Hide
End Sub
Private Sub Form_Load()
With Text1
.Appearance = 0
.BorderStyle = 0
.Text = ""
End With
Shell "calc.exe"
End Sub
Private Sub Text1_GotFocus()
Text1.SelLength = Len(Text1.Text)
Text1.SelStart = 0
End Sub
Private Sub Text1_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = 81 And Shift = 2 Then
Unload Me
End If
End Sub百度百度。。。。。。这是简单的啦,自己修改。。 学习学习 只有顶了,QQ尾巴复活 窥其全貌
pencilword 发表于 2012-1-15 13:11 static/image/common/back.gif
只有顶了,QQ尾巴复活
复活不了,这种伎俩一旦公开,就没什么用了。 刚来,看下 看看原理。。。 好好学习
我的看看。。。 飘过
呵呵,看看 学习一下咯、、、 学习学习 看看。 Tesla.Angela 发表于 2012-2-16 20:14 static/image/common/back.gif
复活不了,这种伎俩一旦公开,就没什么用了。
一般网民的安全意识没那么强的。用啥spy++啥的。把安全的最后一道防线都交给杀毒软件。
但杀毒软件。。。 了解一下 呵呵,你知道的太多了 学习下
知其言,不知其所以言,学习.....稻 学习学习 现在QQ的密码框应该是自己绘制的了 看看先,是什么东东,谢谢分享 牛,看看是啥东西 表示注入QQ以后再模拟密码框岂不是SPY++也查不出麽.......或者直接SetParent把密码框放到QQ窗体上...... 看看,学习一下 看看,学习一下
页:
1
[2]