Today, WE mainly analyze the call for wechat to send XML business card messages. The tools we use are OD and CE, which are different from the call for sending messages. We can send messages one by one, change the WXID and then confirm. The process of sending business cards is first in the chat window, and then click send business card, the list of friends will appear for you to choose. At this time, we can first find the selected call, which can start from the difference between selecting and not selecting the word displayed above. If you select a person, the word above will become: "1 contact has been selected".Copy the code
Search for these words in CE, get three results, and then select a person. The text at the bottom will become “2 contacts have been selected”, so as to confirm this address, and then move this address to the following.
Then open the address OD, DD, the next memory write breakpoint, and then select a contact, but directly break, and then delete the breakpoint.
Double-click on the stack in the lower right corner to find wxid, double-click on an address, look at the lower left corner, see filehelper, and then assemble the next breakpoint on it, and run it directly, and select filehelper in wechat, then the assembly place breaks, indicating that it is here.
Then click the address when you confirm the selection, change the WXID of the file assistant to an uncommon WXID in CE, and search, the address can be found, the same step, click the breakpoint in OD, find. And then let’s see how many parameters we need to pass, copy the XML, we just need to pass a WXID and a nickname, and the avatar will show itself.
At present, most of the functions have been realized, stable operation, such as: send all kinds of messages, receive all kinds of messages, group tube, download files, add friends, detect zombie powder and other functions, can provide interface, convenient for a variety of languages secondary development, welcome technical exchange, do not use for commercial purposes.