Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/bin/bash
IP=$1
# 刷新朋友圈
ssh root@$IP 'kill `pgrep com.tencent.mm`'
ssh root@$IP am start -n com.tencent.mm/.plugin.sns.ui.SnsTimeLineUI
# 调用WeChatMomentStat获取all_sns.json
# 暂时手动触发
echo 调用WeChatMomentStat中
read y
#
# 读取all_sns.json
scp root@$IP:/sdcard/WeChatMomentStat/all_sns.json .
# 读取所有图片
scp -r root@10.2.198.181:/sdcard/tencent/MicroMsg/*/sns/ .
# 解析all_sns.json,获得图片ID
# 搜索图片
# 发送消息
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.