*号密码查看器是如何查看密码的

zteclx 2009-06-14 04:19:54
很厉害,鼠标拖动到密码框上方就可以显示出密码,大家从原理上分析
...全文
2730 11 打赏 收藏 转发到动态 举报
写回复
用AI写文章
11 条回复
切换为时间正序
请发表友善的回复…
发表回复
jiujiu45 2009-06-14
  • 打赏
  • 举报
回复
顶一下!
dfen2008 2009-06-14
  • 打赏
  • 举报
回复
看ADSL的密码还可以,看来ADSL还没有与时俱进
ahao 2009-06-14
  • 打赏
  • 举报
回复
注入进程,然后该干啥干啥
wltg2001 2009-06-14
  • 打赏
  • 举报
回复
WM_GETTEXT
==========
这个方法现在不行了,对于NT4或是9x下的程序用这个方法是可以的,但是在2000以后对别的进程的窗口发这个消息的话只会返回ERROR_ACCESS_DENIED,它只对本进程内的有作用了,所以还要加全局钩子,将DLL注入到目标进程中去才能骗过系统。
luckyboy101 2009-06-14
  • 打赏
  • 举报
回复
void CDlgDlg::OnMouseMove(UINT nFlags, CPoint point)
{
ClientToScreen(&point);
//CWnd* pWnd = CWnd::WindowFromPoint(point);
// CWnd*
// pWnd = CWnd::ChildWindowFromPoint(point);
// SetCapture();
// CWnd*
pWnd=CWnd::WindowFromPoint(point);

//SetCapture();
char p[255];
CString kp;


hwnd=pWnd->GetSafeHwnd();
::GetWindowThreadProcessId(hwnd,NULL);
// ::GetClassName(hwnd,k,255);
//AfxMessageBox(k);
LONG lStyle = ::GetWindowLong(hwnd, GWL_STYLE);
if (lStyle & ES_PASSWORD)
{::SendMessage(hwnd,WM_GETTEXT,255,(LPARAM)p);
//m_ed.SetWindowText(k);
m_edit.SetWindowText(p);}
//SetCursor(m_hMagGlassIcon);
UpdateData(TRUE);
// TODO: Add your message handler code here and/or call default

CDialog::OnMouseMove(nFlags, point);
}

//BOOL CDlgDlg::PreTranslateMessage(MSG* pMsg)
//{
// return CDialog::PreTranslateMessage(pMsg);
//}

void CDlgDlg::OnLButtonDown(UINT nFlags, CPoint point)
{
// TODO: Add your message handler code here and/or call default
CWnd* pWnd = CWnd::ChildWindowFromPoint(point);
SetCapture();
// Hook_Start(this->m_hWnd);
SetCursor(m_hMagGlassIcon);
CDialog::OnLButtonDown(nFlags, point);
}

void CDlgDlg::OnLButtonUp(UINT nFlags, CPoint point)
{//::CloseWindow(hwnd);
// Hook_Stop()
ReleaseCapture();
// TODO: Add your message handler code here and/or call default

CDialog::OnLButtonUp(nFlags, point);
}
BaihowFF 2009-06-14
  • 打赏
  • 举报
回复
就是有这个消息嘛...wParam里的参数是多少个字符...lParam里的参数是个指针...Over~~~


MSDN said:

WM_GETTEXT
An application sends a WM_GETTEXT message to copy the text that corresponds to a window into a buffer provided by the caller.

WM_GETTEXT
wParam = (WPARAM) cchTextMax; // number of characters to copy
lParam = (LPARAM) lpszText; // address of buffer for text

Parameters
cchTextMax
Value of wParam. Specifies the maximum number of characters to be copied, including the terminating null character.
lpszText
Value of lParam. Pointer to the buffer that is to receive the text.
Return Values
The return value is the number of characters copied.
zteclx 2009-06-14
  • 打赏
  • 举报
回复
从这个意义上说,可以得到任何密码了
光宇广贞 2009-06-14
  • 打赏
  • 举报
回复
把消息号都给出来了……很详细了……
「已注销」 2009-06-14
  • 打赏
  • 举报
回复
能不能详细点,我也想知道。
一笑拔剑 2009-06-14
  • 打赏
  • 举报
回复
具体点说
sendmessage WM_GETTEXT
gust2012 2009-06-14
  • 打赏
  • 举报
回复
WM_GETTEXT

16,551

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC相关问题讨论
社区管理员
  • 基础类社区
  • Creator Browser
  • encoderlee
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

        VC/MFC社区版块或许是CSDN最“古老”的版块了,记忆之中,与CSDN的年龄几乎差不多。随着时间的推移,MFC技术渐渐的偏离了开发主流,若干年之后的今天,当我们面对着微软的这个经典之笔,内心充满着敬意,那些曾经的记忆,可以说代表着二十年前曾经的辉煌……
        向经典致敬,或许是老一代程序员内心里面难以释怀的感受。互联网大行其道的今天,我们期待着MFC技术能够恢复其曾经的辉煌,或许这个期待会永远成为一种“梦想”,或许一切皆有可能……
        我们希望这个版块可以很好的适配Web时代,期待更好的互联网技术能够使得MFC技术框架得以重现活力,……

试试用AI创作助手写篇文章吧