How to use MFC to write a QQ group sender software (Chapter 1)

Since the company's business needs to use QQ group senders, and these group senders on the market are very rubbish, and they have to charge hundreds of oceans for one, in line with the idea of ​​​​doing your own food and clothing, I spend a few nights writing during the New Year holidays. I have a QQ group sender. First, I named it Feisu group sender (simple and fast). The language used is C++, and the framework is MFC. Not much to say, first picture:

What I want to talk about today is how to write a QQ group sender based on MFC through C++. Although the interface will be a bit ugly, the effect is still very good.

Among them, databases such as SQLite are also used to record the sending results and sending configuration.

Before writing the code, first analyze our business needs:

At present, the QQ group senders on the market all simulate manually clicking on the QQ interface to pop up a chat box, and send them by copying and pasting data.

This operation has the disadvantage that it is easy to be banned. And the sending time is very concentrated, the QQ background can easily judge that it is sent by machines

It was blocked.

Our business summarizes the following requirements:

===============

1. The setup is simple, and the configuration can be imported and exported to different computers through the configuration file to start working immediately, that is, out of the box.

2. We cannot let the system determine that we are sending with a mass transmitter, try to simulate manual transmission, avoid machine transmission traces, and simulate manual transmission in terms of transmission frequency and transmission behavior.

3. The sent QQ groups can be grouped, not all QQ groups are sent.

4. The sent results can be statistically analyzed

5. The QQ group that has been sent is not sent,

6. Compatible with different QQ versions.

 

Implementation ideas and principles

===============

In order to avoid the action of the machine group sending, the passive group sending method is adopted.

It is only sent when someone chats in the QQ group, and the sending interval is 2 hours. If it has been sent before

It's not sending, just close it. In this way, the simulation of QQ group sending is more like manual sending, and the sending time point will not be

Too concentrated, and only active groups with someone discussing get messages.

 

Ready to work:

1. By setting the QQ software, the window will pop up automatically.

2. By setting the QQ software, press Enter to send the message.

The core idea of ​​the program:

1. Refresh the process list through the timer and find the QQ chat window

2. Interact with the chat window by copying and pasting, and copy the content to be sent to the chat window to send.

3. After sending, close the window.

4. Record the sending QQ group, sending content, sending time, for subsequent group sending judgment and statistical analysis.

Here's a high-resolution picture:

The boss has come to supervise the work, to be continued.

 

If you need source code, please leave a message. I will organize the source code and open source it later.

Or you can pay attention to our website feisuqunfa.com, where the relevant source code will also be published.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324917124&siteId=291194637
Recommended