Running the WeChat robot on the cloud desktop eliminates the need to keep the Windows system open all the time (deploying and running the robot)

Hello everyone, my name is Xiongxiong. Welcome to follow the WeChat public account: Xiongxiong’s Little Classroom

image.png

Preface

In the previous article, we introduced how to build Alibaba Cloud's Shadowless Cloud Desktop and map the local disk to the Shadowless Cloud Desktop, so that local files can be easily and quickly uploaded to the Shadowless Cloud Desktop.

Get the cloud desktop for free at the address: https://click.aliyun.com/m/1000371695/

After we have uploaded all the data required by the WeChat robot to the cloud desktop, the next step is how to run the robot on the cloud desktop. In this article, we will introduce in detail how the Xiongxiong version of the WeChat robot runs on the cloud desktop. .

renderings

First, the renderings of the robot.

  1. Group chat welcome message: In the group chat, every time a user joins, the welcome message will be automatically triggered, as shown in the figure below:

image.png

  1. Send messages to the group chat regularly: My group is set to send trending news at 5.50 am every day, as shown in the picture:

image.png

  1. Sending friend messages regularly: For example, we can send daily greetings to our wife, partner or daughter-in-law. The greetings can include: local weather today, a daily sentence, etc., as shown in the figure:
    image.png

There are also many functions that you can explore by yourself.

Upload the files required for the robot in Wuying Cloud Desktop

First, we need to upload the files required by the robot to Wuying Cloud Desktop. Because my cloud desktop disk and local disk are mapped, I pulled the files from the local disk directly to the cloud desktop disk.

image.png

Let me introduce what each file represents.

  • DaenWxHook: This folder is mainly an injection function. Before we use the robot, we need to use the injector to inject it. It is equivalent to adding a layer of filter to the normal WeChat, so as to operate WeChat from the program.
  • wechatbot: Robot client program, through which you can operate WeChat to send messages, texts, music, add group welcome words and join group chats, etc.
  • WeChatSetup3.6.0.18.exe: WeChat installation package. The WeChat installation package used by this robot is 3.6.0.18. Other versions of WeChat installation packages are not supported yet. Please pay attention to this.

The required files have been uploaded, let’s see how to deploy and use it.

Inject dll file

  1. Double-click the WeChat installation package to install WeChat into the cloud desktop. Be sure to remember the installation location because we will need it later. , for example I installedD:\资料\wechatInstall\WeChat

image.png

  1. Open DaenWxHookthe folder, find HPSocket4C.dllthe file, right-click -> Copy (or use the shortcut key ctrl+c), and paste it into the WeChat installation directory, as shown in the figure below:

image.png
Then double-click Daen注入器.exethe injector, DaenWHhook.dllwrite the full path of , as shown below, click Inject and start , WeChat will automatically open, and then log in.
Insert image description here

  1. Contact me and ask for a server account and password, and then we can start the client. First we find the folder wechatbot, then open it, find Start.batthe file, double-click to run it, wait for three to five seconds, a box will pop up asking you to enter your account number and password, enter the account number and password I gave you, and click the OK interface.

image.png

  1. Open the WeChat robot server, the address is: http://wechat.16888.team , log in to your account (if you don’t have an account, you can ask me for one, and I will add one for you)

image.png

After successful login, the following display will appear:

image.png

image.png

appkeyand appscrectmust not be leaked. If it is leaked, you can click the reset button and reset it.

The entire server can view your WeChat friend list, group chat list, and official account list, and modify friends and group chat notes, including setting the timing of friends and group chats, all of which can be completed on the server.

The robot's program is still being upgraded, and the currently supported functions are as follows:

  • Friends List
  • Group chat list
  • Set up scheduled tasks for friends
  • Set up group chat scheduled tasks
  • Send messages to designated friends
  • Send messages to designated group chat
  • Send chat history to specified group chat
  • Send chat history to designated friends
  • List of public accounts
  • Welcome to the group
  • Modify group chat notes
  • Modify friend notes
  • Support calling interface to send messages to friends or group chat
  • ……

New features are added every day~

Guess you like

Origin blog.csdn.net/qq_34137397/article/details/130646368