微信机器人
BIN
images/00af689fe837bb00c626fb49d61c32b67c3a9af8.png
Normal file
|
After Width: | Height: | Size: 368 KiB |
BIN
images/03e6557d736c73dc927724623b97102c56ce0bfc.png
Normal file
|
After Width: | Height: | Size: 867 KiB |
BIN
images/09255d47a0288a504b630d7333a163e984b38246.png
Normal file
|
After Width: | Height: | Size: 185 KiB |
BIN
images/0d67af84f2b6be1207fb2c696e5f2186da287eda.png
Normal file
|
After Width: | Height: | Size: 707 KiB |
BIN
images/17b0fc6e60b6bdb096d72c085918519fd56b20b5.png
Normal file
|
After Width: | Height: | Size: 157 KiB |
BIN
images/3d1c7839d2d43915d1fceba7f3ece8d8d54718bf.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
images/3e71b6ec81769cffb0241b4071cc1032d29ee36f.png
Normal file
|
After Width: | Height: | Size: 232 KiB |
BIN
images/3eafd4cc25af8a2b5871b019b8b66b5d71ecefe5.jpg
Normal file
|
After Width: | Height: | Size: 68 KiB |
BIN
images/4ac026c4669338bf873a7dc84359391ec3f4b179.png
Normal file
|
After Width: | Height: | Size: 179 KiB |
BIN
images/5cd084165cdde4c1704af81b75070ae403550979.png
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
images/5e22960a3209601d927827310e6da4ca4b28c095.png
Normal file
|
After Width: | Height: | Size: 1.1 MiB |
BIN
images/5faa912ef68c9cdd585449dc134fad98f91918d8.png
Normal file
|
After Width: | Height: | Size: 326 KiB |
BIN
images/601048a19952909ac9b7786146552abc27ba9e80.png
Normal file
|
After Width: | Height: | Size: 363 KiB |
BIN
images/604607b686923693e6491e2bd8c26c917877455d.png
Normal file
|
After Width: | Height: | Size: 519 KiB |
BIN
images/6e85c24f3aca6bfd20bd864c7ded54d0576d2aa1.png
Normal file
|
After Width: | Height: | Size: 87 KiB |
BIN
images/733852b5fea48b7211a141f321f9d690bce9086a.png
Normal file
|
After Width: | Height: | Size: 618 KiB |
BIN
images/786baa5a1ec63ec20d1a7231b4ab2e796fd4c6f4.png
Normal file
|
After Width: | Height: | Size: 187 KiB |
BIN
images/7bead8fa57f0a27e6ea86bf48e8888748afd69c9.png
Normal file
|
After Width: | Height: | Size: 619 KiB |
BIN
images/94fbe0594e5f3a3958bfefb56690a21197eafe69.png
Normal file
|
After Width: | Height: | Size: 975 KiB |
BIN
images/969606425260ac7dc9ba304ba42b567c02c176ba.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
images/ab229be0b264a73b45f7fd01c1f47b108d2c3abc.png
Normal file
|
After Width: | Height: | Size: 1.3 MiB |
BIN
images/ba5c350869bcba17d26f21380c0dd4d95bf0a229.png
Normal file
|
After Width: | Height: | Size: 308 KiB |
BIN
images/dd1c2130be88d7122c3937832447664c70e196df.png
Normal file
|
After Width: | Height: | Size: 138 KiB |
BIN
images/e4a34abf75962a64959285dc37fc2bc62fda7ffd.png
Normal file
|
After Width: | Height: | Size: 300 KiB |
BIN
images/e7111d13695c758357680d8682e0fb20ea5fc806.png
Normal file
|
After Width: | Height: | Size: 734 KiB |
BIN
images/eb3bd154c503c6a86f896f1321c15d1878d53bb6.jpg
Normal file
|
After Width: | Height: | Size: 96 KiB |
BIN
images/f912813c7779be23c90eb7e92b3a4e1d1f740c05.jpg
Normal file
|
After Width: | Height: | Size: 52 KiB |
59
公众号/云手机2:安卓环境配置.md
Normal file
@@ -0,0 +1,59 @@
|
||||
## 云手机"环境配置"
|
||||
|
||||
> 外挂环境
|
||||
|
||||
本来是想配置magisk和lsposed, 但是由于安卓是容器docker
|
||||
|
||||
在X86主机和arm主板上测试都没有成功
|
||||
|
||||
最后选择了免root的外挂方案:`lspatch`
|
||||
|
||||
<img title="" src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202311041738724.png" alt="" width="248">
|
||||
|
||||
---
|
||||
|
||||
## adb安装apk
|
||||
|
||||
由于安卓虚拟机,是将redroid部署在ubunti server上(没有GUI图形界面)
|
||||
|
||||
所以操作手机,用scrcpy在电脑上操作即可
|
||||
|
||||
可以`adb install xx.apk`安装
|
||||
|
||||
也可以将apl文件,直接拖拽到手机窗口,就会自动安装了
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
## 激活shizuku
|
||||
|
||||
lspatch的运行依赖shizuku
|
||||
|
||||
用adb命令即可激活
|
||||
|
||||
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202311041738239.png" title="" alt="" width="249">
|
||||
|
||||
---
|
||||
|
||||
## lspatch优化wechat
|
||||
|
||||
采用了免root的方案,原生的apk安装包是不能运行xposed模块的
|
||||
|
||||
所以这里要编译优化一下
|
||||
|
||||
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202311041739333.png" title="" alt="" width="222">
|
||||
|
||||
---
|
||||
|
||||
## 最后
|
||||
|
||||
建立了`交流群`
|
||||
|
||||
有兴趣折腾的小伙伴,可以添加微信号:`hackrobot`
|
||||
|
||||
发送关键词`加群`,即可自动邀请
|
||||
|
||||
- 默认AI gpt对话
|
||||
|
||||
- /img 描述词 =>会返回生成的图片
|
||||
93
公众号/云手机3.md
Normal file
@@ -0,0 +1,93 @@
|
||||
## android13+magisk
|
||||
|
||||
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202311142204976.png" title="" alt="" width="218">
|
||||
|
||||
> 新建的redroid容器集成magisk+google play
|
||||
|
||||
设置了以下功能
|
||||
|
||||
- 微信机器人+AIGC(chatglm+stable duffsion)
|
||||
|
||||
- mitmproxy抓包https
|
||||
|
||||
- scrcpy云控安卓
|
||||
|
||||
- V免签(接入独角数卡)
|
||||
|
||||
- 挂游戏( adb+autojs实现自动化)
|
||||
|
||||
- 其他~
|
||||
|
||||
|
||||
|
||||
> 使用lspatch的免root方案有缺陷,还是需要root
|
||||
|
||||
使用lspath有以下缺陷
|
||||
|
||||
- 微信机器人会掉线,显示`该版本是试用版本`,2-3天/次,不稳定
|
||||
|
||||
- 无法使用`应用变量`,修改硬件参数
|
||||
|
||||
---
|
||||
|
||||
## 微信机器人
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
## https抓包
|
||||
|
||||
> 在ubuntu安装mitmproxy
|
||||
|
||||
在magisk安装`AlwaysTrustUserCerts`就可以解决android7以上系统版本,限制抓包的问题
|
||||
|
||||
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202311142205015.png" title="" alt="" width="246">
|
||||
|
||||
---
|
||||
|
||||
## scrcpy云控手机
|
||||
|
||||
> 通过frp内网穿透
|
||||
|
||||
下载开源的安卓scrcpy app,就可以实时远程控制了
|
||||
|
||||
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202311142205821.jpg" title="" alt="" width="258">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## V免签+独角数卡
|
||||
|
||||
> V免签的原理是监听手机状态栏通知
|
||||
|
||||
独角数卡是个人的收款解决方案
|
||||
|
||||
<img title="" src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202311142204763.png" alt="" width="371">
|
||||
|
||||
|
||||
|
||||
V免签由于要检测状态栏,所有24H挂机,也需要安卓虚拟机
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
## 挂游戏
|
||||
|
||||
> 打开游戏时,会变成横屏模式
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
## 最后,测试数据
|
||||
|
||||
<img title="" src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202311142205259.jpg" alt="" width="248">
|
||||
|
||||
|
||||
|
||||
|
||||
1
公众号/建了微信群.md
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
15
待办2.md
Normal file
@@ -0,0 +1,15 @@
|
||||
美女
|
||||
|
||||
[徒步] ==> l莲花山
|
||||
|
||||
宠物
|
||||
|
||||
学习型社群(设计/会计/英语) | 职场技能
|
||||
|
||||
技术 [数字游民]
|
||||
|
||||
活动 副业[赚钱]
|
||||
|
||||
自驾
|
||||
|
||||
露营 [帐篷]
|
||||
43
待办事项.md
@@ -1,4 +1,35 @@
|
||||
keep
|
||||
```
|
||||
docker run -itd --rm --privileged \
|
||||
-v ~/data:/data \
|
||||
-p 5555:5555 \
|
||||
redroid/redroid:11.0.0_magisk_widevine \
|
||||
ro.product.cpu.abilist=x86_64,arm64-v8a,x86,armeabi-v7a,armeabi \
|
||||
ro.product.cpu.abilist64=x86_64,arm64-v8a \
|
||||
ro.product.cpu.abilist32=x86,armeabi-v7a,armeabi \
|
||||
ro.dalvik.vm.isa.arm=x86 \
|
||||
ro.dalvik.vm.isa.arm64=x86_64 \
|
||||
ro.enable.native.bridge.exec=1 \
|
||||
ro.dalvik.vm.native.bridge=libndk_translation.so \
|
||||
ro.ndk_translation.version=0.2.2 \
|
||||
```
|
||||
|
||||
97b15b17e17ef0f4bde21004d8ed5bfc
|
||||
|
||||
97b15b17e17ef0f4bde21004d8ed5bfc
|
||||
|
||||
97b15b17e17ef0f4bde21004d8ed5bfc
|
||||
|
||||
```
|
||||
sudo docker run -itd --rm --privileged \
|
||||
--name a11 \
|
||||
-v ~/data:/data \
|
||||
-v ~/remove.rc:/vendor/etc/init/remove.rc \
|
||||
-v ~/setup.sh:/setup.sh \
|
||||
-v ~/magisk.tar:/magisk.tar \
|
||||
-p 5555:5555 \
|
||||
redroid/redroid:11.0.0-latest \
|
||||
ro.secure=0
|
||||
```
|
||||
|
||||
dingtalk boss直聘 wework
|
||||
|
||||
@@ -123,8 +154,8 @@ wp/youtube
|
||||
```
|
||||
docker run -itd --rm --privileged \
|
||||
-v ~/data:/data \
|
||||
-p 6666:5555 \
|
||||
redroid/redroid:11.0.0-gapps-ndk-magisk-widevine \
|
||||
-p 5555:5555 \
|
||||
redroid/redroid:11.0.0_ndk_magisk_widevine \
|
||||
ro.product.cpu.abilist=x86_64,arm64-v8a,x86,armeabi-v7a,armeabi \
|
||||
ro.product.cpu.abilist64=x86_64,arm64-v8a \
|
||||
ro.product.cpu.abilist32=x86,armeabi-v7a,armeabi \
|
||||
@@ -135,9 +166,7 @@ ro.product.cpu.abilist=x86_64,arm64-v8a,x86,armeabi-v7a,armeabi \
|
||||
ro.ndk_translation.version=0.2.2 \
|
||||
```
|
||||
|
||||
|
||||
|
||||
```docker run -itd --rm --privileged \
|
||||
```docker
|
||||
docker run -itd --rm --privileged \
|
||||
-v ~/data12:/data \
|
||||
-p 7777:5555 \
|
||||
@@ -150,8 +179,6 @@ docker run -itd --rm --privileged \
|
||||
ro.dalvik.vm.native.bridge=libndk_translation.so
|
||||
```
|
||||
|
||||
|
||||
|
||||
```
|
||||
from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("THUDM/chatglm2-6b", trust_remote_code=True)
|
||||
>>> model = AutoModel.from_pretrained("THUDM/chatglm2-6b", trust_remote_code=True, device='cuda')
|
||||
|
||||
114
微信AI /auto-redroid.sh.md
Normal file
@@ -0,0 +1,114 @@
|
||||
## 一键安装脚本android13+magisk
|
||||
|
||||
<img src="file:///Users/eric/Documents/marktext/images/5e22960a3209601d927827310e6da4ca4b28c095.png" title="" alt="Screenshot 2023-11-14 at 14.44.01.png" width="294">
|
||||
|
||||
```
|
||||
#!/bin/bash
|
||||
uname -r5.15.0-1013-oracle #这里最好>=5.0#
|
||||
本脚本仅用于redroid开启magisk和谷歌play服务
|
||||
#
|
||||
redroid_overlay及dobox镜像文件均来源于https://github.com/ChisBread/malior
|
||||
apt install linux-modules-extra-`uname -r`
|
||||
modprobe binder_linux devices="binder,hwbinder,vndbinder" #进程通信模块
|
||||
modprobe ashmem_linux #内存共享模块
|
||||
curl -fsSL https://get.docker.com | bash
|
||||
if [[ $EUID -ne 0 ]]; then
|
||||
echo "此脚本必须以 root 用户身份运行。"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# 创建目录 /opt/redroidplus_overlay
|
||||
echo "创建目录 /opt/redroidplus_overlay..."
|
||||
mkdir -p /opt/redroidplus_overlay || { echo "创建目录失败。"; exit 1; }
|
||||
|
||||
# 删除 base_overlay.zip 文件
|
||||
echo "正在删除 base_overlay.zip 文件..."
|
||||
rm /opt/redroidplus_overlay/base_overlay.zip
|
||||
|
||||
# 下载 base_overlay.zip 文件到 /opt/redroidplus_overlay 目录
|
||||
echo "正在下载 base_overlay.zip 文件到 /opt/redroidplus_overlay 目录..."
|
||||
wget
|
||||
https://ghproxy.com/https://github.com/ChisBread/malior/releases/download/redroid-overlays-latest/base_overlay.zip
|
||||
-P /opt/redroidplus_overlay || { echo "下载文件失败。"; exit 1; }
|
||||
|
||||
# 解压 base_overlay.zip 文件
|
||||
echo "正在解压 base_overlay.zip 文件..."
|
||||
unzip -o /opt/redroidplus_overlay/base_overlay.zip -d
|
||||
/opt/redroidplus_overlay || { echo "解压文件失败。"; exit 1; }
|
||||
|
||||
# 删除 base_overlay.zip 文件
|
||||
echo "正在删除 base_overlay.zip 文件..."
|
||||
rm /opt/redroidplus_overlay/base_overlay.zip || { echo "删除文件失败。";
|
||||
exit 1; }
|
||||
|
||||
# 查找 /opt/redroid_overlay/ 目录下的所有文件,并生成用于挂载的参数
|
||||
echo "查找 /opt/redroidplus_overlay/
|
||||
目录下的所有文件,并生成用于挂载的参数..."
|
||||
OVERLAY_BIND=$(find /opt/redroidplus_overlay/ -type f | sed -e
|
||||
's@\(.*opt.*redroidplus_overlay\)\(.*\)@-v \1\2:\2@g')
|
||||
if [[ -z $OVERLAY_BIND ]]; then
|
||||
echo "查找文件失败或找不到任何文件。"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# 启动容器
|
||||
echo "正在启动容器..."
|
||||
docker run -itd --privileged --pull always --restart=always --name android
|
||||
-v /mnt/doboxplus:/data $OVERLAY_BIND -v /dev/net/tunplus:/dev/tun -v
|
||||
/dev/mali0plus:/dev/mali0 -p 999:5900 -p 12342:5555
|
||||
redroid/redroid:13.0.0-latest androidboot.hardware=mt6891 ro.secure=0
|
||||
ro.boot.hwc=GLOBAL ro.ril.oem.imei=861503068361145
|
||||
ro.ril.oem.imei1=861503068361145 ro.ril.oem.imei2=861503068361148
|
||||
ro.ril.miui.imei0=861503068361148 ro.product.manufacturer=Xiaomi
|
||||
ro.build.product=chopin redroid.width=720 redroid.height=1280
|
||||
redroid.density=320 redroid.gpu.mode=guest --rm
|
||||
registry.cn-hangzhou.aliyuncs.com/whsyf/dobox:rk3588-202303010 || { echo
|
||||
"启动容器失败。"; exit 1; }
|
||||
|
||||
echo "脚本执行完成。"
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## mitmproxy抓包
|
||||
|
||||
> 安装mitmproxy
|
||||
|
||||
```
|
||||
pip install mitmproxy
|
||||
```
|
||||
|
||||
启动 mitmweb
|
||||
|
||||
> adb设置手机网络代理
|
||||
|
||||
```csharp
|
||||
adb shell settings put global http_proxy 代理IP地址:端口号
|
||||
```
|
||||
|
||||
> 安装手机证书
|
||||
|
||||
手机chrome打开`mitm.it`,下载安卓证书,
|
||||
|
||||
在设置-安全=>安装
|
||||
|
||||
> magisk安装AlwaysTrustUserCerts
|
||||
|
||||
重启手机
|
||||
|
||||
> 清除手机全局代理配置
|
||||
|
||||
```
|
||||
adb shell settings delete global http_proxy
|
||||
adb shell settings delete global global_http_proxy_host
|
||||
adb shell settings delete global global_http_proxy_port
|
||||
adb reboot
|
||||
```
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
其他问题
|
||||
|
||||
- android13 微信转账=>黑屏
|
||||
59
微信AI /charles.md
Normal file
@@ -0,0 +1,59 @@
|
||||
例如:
|
||||
|
||||
- APPID: xxxxxxxxxxxxxxx
|
||||
- TOKEN: xxxxxxxxxxxxxxx
|
||||
- EncodingAESKey: xxxxxxxxxxxxxxx
|
||||
|
||||
|
||||
|
||||
### 1. 获取`signature`接口:
|
||||
|
||||
`https://chatbot.weixin.qq.com/openapi/sign/{TOKEN}`
|
||||
|
||||
```
|
||||
{
|
||||
signature: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImp0aSI6IjI2NTQ0NzYzLTk1NzctNDZlNS1iOTFlLTA3NjAyMzhiMjUwNSIsImlhdCI6MTU4NjA5Nzc4MSwiZXhwIjoxNTg2MTAxMzgxfQ.qugHipCyBnONQRGY2fadm1LH-bLi0TrVqam3vZTpRcI
|
||||
expiresIn: 7200
|
||||
}
|
||||
|
||||
|
||||
```
|
||||
|
||||
|
||||
|
||||
> signature 也可以在本地通过jwt签名得到
|
||||
|
||||
```
|
||||
const signature = jwt.encode(
|
||||
EncodingAESKey,
|
||||
{
|
||||
username: "some persone",
|
||||
userid: "alsjdasf12",
|
||||
avatar:
|
||||
"https://res.wx.qq.com/a/wx_fed/weixin_portal/res/static/img/1L3ryyg.png",
|
||||
},
|
||||
"HS256",
|
||||
);
|
||||
```
|
||||
|
||||
|
||||
|
||||
### 2. 智能对话接口:
|
||||
|
||||
`https://chatbot.weixin.qq.com/openapi/aibot/{TOKEN}`
|
||||
|
||||
|
||||
|
||||
| 字段 | 类型 | 是否必填 | 描述 |
|
||||
| --------- | ------ | ---- | --------------------- |
|
||||
| signature | string | 是 | 上一步获取到的 signature 返回值 |
|
||||
| query | string | 是 | 用户发送的消息 |
|
||||
|
||||
返回值说明:
|
||||
|
||||
| 字段 | 类型 | 描述 |
|
||||
| ------------- | ------ | --------- |
|
||||
| ans_node_id | int32 | 技能id |
|
||||
| ans_node_name | string | 分类/技能名称 |
|
||||
| title | string | 标准问题/意图名称 |
|
||||
| answer | string | 命中的回答 |
|
||||
27
微信AI /dd-img.md
Normal file
@@ -0,0 +1,27 @@
|
||||
```
|
||||
sudo fdisk -u -l
|
||||
```
|
||||
|
||||
Disk /dev/mmcblk0: 232.96 GiB
|
||||
|
||||
需要使用ubuntu 图形系统,用gparted对硬盘进行挂载,分区
|
||||
|
||||
```
|
||||
sudo fdisk -u -l /dev/mmcblk0
|
||||
```
|
||||
|
||||
Device Start End Sectors Size Type
|
||||
/dev/mmcblk0p1 61440 2158591 2097152 1G Linux extended boot
|
||||
/dev/mmcblk0p2 2158592 483655679 481497088 229.6G Linux filesystem
|
||||
|
||||
最大的 end数量+1
|
||||
|
||||
483655679+1=483655680
|
||||
|
||||
|
||||
|
||||
bs一定要=512
|
||||
|
||||
```
|
||||
dd bs=512 count=2158592 if=/dev/mmcblk0 of=/ghost.img status=progress
|
||||
```
|
||||
73
微信AI /ios双开微信.md
Normal file
@@ -0,0 +1,73 @@
|
||||
## ios双开微信
|
||||
|
||||
> 核心步骤如下
|
||||
|
||||
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202311191648542.png" title="" alt="" width="332">
|
||||
|
||||
1. macbook下载altstore
|
||||
|
||||
2. Iphone与macbook通过typec连接,勾选信任
|
||||
|
||||
3. ios-设置,打开`开发者模式`
|
||||
|
||||
4. 下载wechat的`ipa文件`到iphone,可以借助`爱思助手`
|
||||
|
||||
5. 在手机端的altstore,安装ipa文件
|
||||
|
||||
---
|
||||
|
||||
## 下载altstore
|
||||
|
||||
官网地址:`https://altstore.io/`
|
||||
|
||||
在windows或者mac电脑,下载客户端后
|
||||
|
||||
通过客户端安装手机app
|
||||
|
||||
- 设置后台自动刷新
|
||||
|
||||
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202311191648972.jpg" title="" alt="" width="214">
|
||||
|
||||
> 设置-隐私与安全-开发者模式-打开
|
||||
|
||||
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202311191648769.png" title="" alt="" width="294">
|
||||
|
||||
---
|
||||
|
||||
## 下载IPA文件
|
||||
|
||||
IPA文件需要自己在网上找(或者自己编译)
|
||||
|
||||
在手机端直接安装即可
|
||||
|
||||
- 微信ipa (双开/多开)
|
||||
|
||||
- tiktok (免拔卡)
|
||||
|
||||
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202311191648806.png" title="" alt="" width="239">
|
||||
|
||||
---
|
||||
|
||||
## 另外:微信多端登录
|
||||
|
||||
> 可以同时登录手机/ipad/电脑
|
||||
|
||||
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202311191648680.png" title="" alt="" width="313">
|
||||
|
||||
假设我们有2个微信号(一个生活/一个工作)
|
||||
|
||||
- iphone双开
|
||||
|
||||
- android(root),设置pad模式,也可以双开
|
||||
|
||||
- 电脑双开
|
||||
|
||||
就可以保持三端同时登录,尤其是安卓pad模式,本质上还是手机体验
|
||||
|
||||
出门带`两个手机,双号双端同时登录`
|
||||
|
||||
---
|
||||
|
||||
## 最后
|
||||
|
||||
> 玩机有风险,使用需谨慎
|
||||
@@ -19,21 +19,17 @@ ls /dev/mmcblk*boot0 | cut -c1-12
|
||||
- dd 命令清空下 eMMC,
|
||||
|
||||
```
|
||||
sudo dd bs=1M if=/dev/zero of=/dev/mmcblk0 count=1000 status=progress
|
||||
sudo dd bs=1M if=/dev/zero of=/dev/mmcblk1 count=1000 status=progress
|
||||
sudo sync
|
||||
```
|
||||
|
||||
- dd 命令烧录开发板的 linux 镜像到 eMMC 中
|
||||
|
||||
```
|
||||
sudo dd bs=1M if=orangepi5plus.img of=/dev/mmcblk0 status=progress
|
||||
sudo dd bs=1M if=orangepi5plus.img of=/dev/mmcblk1 status=progress
|
||||
sudo sync
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
安装redroid [xposed]
|
||||
@@ -43,19 +39,61 @@ docker run -itd --rm --privileged \
|
||||
--pull always \
|
||||
-v ~/data:/data \
|
||||
-p 5555:5555 \
|
||||
redroid/redroid:11.0.0-latest
|
||||
redroid/redroid:13.0.0-latest
|
||||
```
|
||||
|
||||
|
||||
|
||||
- 查看端口号
|
||||
|
||||
```
|
||||
lsof -i:端口号
|
||||
```
|
||||
|
||||
|
||||
|
||||
安装 稳定版 微信apk
|
||||
|
||||
安装madisk /lsposed
|
||||
|
||||
X86教程 [Docker](https://hub.docker.com/r/sickcodes/dock-droid)
|
||||
|
||||
arm教程 [GitHub - ayasa520/redroid-script](https://github.com/ayasa520/redroid-script)
|
||||
|
||||
- 下载源码
|
||||
|
||||
```
|
||||
git clone https://github.com/ayasa520/redroid-script.git
|
||||
```
|
||||
|
||||
安装
|
||||
|
||||
```
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
设置容器
|
||||
|
||||
```
|
||||
# pull the latest image 该值可以是8.1.0、9.0.0、10.0.0、11.0.0、12.0.0、12.0.0_64only或13.0.0。默认值为 11.0.0
|
||||
python redroid.py -a 11.0.0
|
||||
```
|
||||
|
||||
安装 magisk
|
||||
|
||||
```
|
||||
python redroid.py -a 11.0.0 -mnw
|
||||
```
|
||||
|
||||
运行容器
|
||||
|
||||
```
|
||||
docker run -itd --rm --privileged \
|
||||
-v ~/data:/data \
|
||||
-p 5555:5555 \
|
||||
redroid/redroid:11.0.0_magisk\
|
||||
ro.product.cpu.abilist=x86_64,arm64-v8a,x86,armeabi-v7a,armeabi \
|
||||
ro.product.cpu.abilist64=x86_64,arm64-v8a \
|
||||
ro.product.cpu.abilist32=x86,armeabi-v7a,armeabi \
|
||||
ro.dalvik.vm.isa.arm=x86 \
|
||||
ro.dalvik.vm.isa.arm64=x86_64 \
|
||||
ro.enable.native.bridge.exec=1 \
|
||||
ro.dalvik.vm.native.bridge=libndk_translation.so \
|
||||
ro.ndk_translation.version=0.2.2 \
|
||||
```
|
||||
|
||||
25
微信AI /windows微信机器人.md
Normal file
@@ -0,0 +1,25 @@
|
||||
发送人的 头像/wxid/昵称/备注
|
||||
|
||||
接受转账 :获取wxid
|
||||
|
||||
---
|
||||
|
||||
消息体: 验证手机号
|
||||
|
||||
消息体:图片
|
||||
|
||||
消息体: 小程序 XML信息 [与wxid绑定openid]
|
||||
|
||||
---
|
||||
|
||||
遍历通讯录:好友列表
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
http与wx模块结合
|
||||
|
||||
- http自动通过好友申请 备注wxid
|
||||
|
||||
- wx模块 消息和转账就能获取wxid的信息
|
||||
@@ -5,7 +5,7 @@ if(document.referrer==="https://wx.zsxq.com/" || !document.referrer){
|
||||
console.log("https://wx.zsxq.com/'123")
|
||||
}else{
|
||||
//非星球打开重定向到其他页面
|
||||
window.location.href="https://hackrobot.org/wordpress2/"
|
||||
window.location.href="https://www.hackrobot.cn/wordpress"
|
||||
console.log("321")
|
||||
}
|
||||
</script>
|
||||
|
||||
85
微信AI /可爱猫业务代码.md
Normal file
@@ -0,0 +1,85 @@
|
||||
```
|
||||
from fastapi import FastAPI
|
||||
from pydantic import BaseModel
|
||||
import requests
|
||||
import json
|
||||
|
||||
|
||||
class Item(BaseModel):
|
||||
event: str
|
||||
EventGroupMsg: None = None
|
||||
prirobot_wxidce: None = None
|
||||
type: None = None
|
||||
# event
|
||||
# "":"EventGroupMsg",//事件标示(当前值为群消息事件)
|
||||
# "robot_wxid":"wxid_5hxa04j4z6pg22",//机器人wxid
|
||||
# "robot_name":"",//机器人昵称,一般为空
|
||||
# "type":1,//1/文本消息 3/图片消息 34/语音消息 42/名片消息 43/视频 47/动态表情 48/地理位置 49/分享链接 2000/转账 2001/红包 2002/小程序 2003/群邀请
|
||||
# "from_wxid":"18900134932@chatroom",//群id,群消息事件才有
|
||||
# "from_name":"微群测",//群名字
|
||||
# "final_from_wxid":"sundreamer",//发该消息的用户微信id
|
||||
# "final_from_name":"遗忘悠剑o",//微信昵称
|
||||
# "to_wxid":"wxid_5hxa04j4z6pg22",//接收消息的人id,(一般是机器人收到了,也有可能是机器人发出的消息,别人收到了,那就是别人)
|
||||
# "msg":"图片https://b3logfile.com/bing/20201024.jpg",//消息内容(string/array) 使用时候根据不同的事件标示来定义这个值,字符串类型或者数据类型
|
||||
# "money":0.01 //金额,只有"EventReceivedTransfer"事件才有该参数
|
||||
|
||||
|
||||
app = FastAPI()
|
||||
|
||||
|
||||
@app.get("/")
|
||||
async def root():
|
||||
|
||||
payload2 = {'event': 'SendTextMsg', 'robot_wxid': 'wxid_haqoszjheyuz22', 'robot_name': '', 'type': 1, 'from_wxid': 'wxid_haqoszjheyuz22', 'from_name': '',
|
||||
'final_from_wxid': 'wxid_haqoszjheyuz22', 'final_from_name': '', 'to_wxid': 'wxid_4413224132412', 'msgid': '1284190763721151116', 'msg': '1111111'}
|
||||
|
||||
# 网址返回wxid以及时间戳
|
||||
mag = {"title:": '标题', "text": '活动小助手', "target_url": 'https://hackrobot.cn', "pic_url": "https://aiimg.hackrobot.cn/1698288150.2901459.png",
|
||||
"icon_url": "https://www.hackrobot.cn/wp-content/uploads/2023/05/cropped-Screenshot-2023-05-22-at-17.26.38-32x32.png"}
|
||||
link = {'event': 'SendLinkMsg', 'robot_wxid': 'wxid_haqoszjheyuz22', 'robot_name': '', 'from_wxid': 'wxid_haqoszjheyuz22', 'from_name': '',
|
||||
'final_from_wxid': 'wxid_haqoszjheyuz22', 'final_from_name': '', 'to_wxid': 'wxid_4413224132412', 'msg': mag}
|
||||
# r = requests.post("http://192.168.31.25:8090", data=payload)
|
||||
# r = requests.post("http://192.168.31.25:8090", json=payload)
|
||||
|
||||
# 获取好友列表
|
||||
getinfo = {'event': 'GetFriendList', 'robot_wxid': 'wxid_haqoszjheyuz22'}
|
||||
xmllink = {'event': 'SendTextMsg', 'robot_wxid': 'wxid_haqoszjheyuz22', 'robot_name': '', 'type': 49, 'from_wxid': 'wxid_haqoszjheyuz22', 'from_name': '', 'final_from_wxid': 'wxid_haqoszjheyuz22', 'final_from_name': '', 'to_wxid': 'wxid_4413224132412', 'msgid': '894964783959555477', 'msg': '''<msg>\r\n <fromusername>wxid_haqoszjheyuz22</fromusername>\r\n <scene>0</scene>\r\n <commenturl></commenturl>\r\n <appmsg appid="" sdkver="0">\r\n <title></title>\r\n <des>活动小助手</des>\r\n <action>view</action>\r\n <type>5</type>\r\n <showtype
|
||||
>0</showtype>\r\n <content></content>\r\n <url>https://hackrobot.cn</url>\r\n <dataurl></dataurl>\r\n <lowurl></lowurl>\r\n <lowdataurl></lowdataurl>\r\n <recorditem>\r\n <![CDATA[]]>\r\n </recorditem>\r\n <thumburl>https://aiimg.hackrobot.cn/1698288150.2901459.png</thumburl>\r\n
|
||||
<messageaction></messageaction>\r\n <extinfo></extinfo>\r\n <sourceusername></sourceusername>\r\n
|
||||
<sourcedisplayname></sourcedisplayname>\r\n <commenturl></commenturl>\r\n <appattach>\r\n
|
||||
<totallen>0</totallen>\r\n <attachid></attachid>\r\n <emoticonmd5></emoticonmd5>\r\n
|
||||
<fileext></fileext>\r\n <aeskey></aeskey>\r\n </appattach>\r\n <weappinfo>\r\n
|
||||
<pagepath></pagepath>\r\n <username></username>\r\n <appid></appid>\r\n <appservicetype>0</appservicetype>\r\n </weappinfo>\r\n <websearch />\r\n </appmsg>\r\n <appinfo>\r\n
|
||||
<version>1</version>\r\n <appname>Window wechat</appname>\r\n </appinfo>\r\n</msg>\r\n'''}
|
||||
|
||||
file={'event': 'SendFileMsg','robot_wxid': 'wxid_haqoszjheyuz22', 'to_wxid': 'wxid_4413224132412', 'msg': 'C:\\Users\\Administrator\\Documents\\Applet\\static\\.mp3'}
|
||||
|
||||
# r = requests.post("http://192.168.31.25:8090", data=json.dumps(link))
|
||||
|
||||
print('item')
|
||||
return "item"
|
||||
|
||||
|
||||
@app.post("/")
|
||||
async def create_item(item: dict):
|
||||
print('item', item)
|
||||
return "item1"
|
||||
|
||||
@app.post("/friend")
|
||||
async def friend(item: dict):
|
||||
print('friend', item)
|
||||
return "item1"
|
||||
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
运营程序
|
||||
|
||||
```
|
||||
uvicorn main:app --reload --port 8082 --host 0.0.0.0
|
||||
```
|
||||
|
||||
|
||||
100
微信AI /可爱猫机器人功能.md
Normal file
@@ -0,0 +1,100 @@
|
||||
机器人上线/下线
|
||||
定时消息/ 告警通知
|
||||
wxid转正充值
|
||||
好友请求, 根据男女(性别),回复不同 内容
|
||||
好友请求, 存储 头像,性别/昵称, 微信号 wxid 修改备注=>数据分析
|
||||
发送link 卡片 [携带key=wxid]+ openid匹配
|
||||
撤回消息
|
||||
|
||||
获取好友列表=>数据分析
|
||||
群成员列表=>数据分析 "type":1,//1/文本消息 3/图片消息 34/语音消息 42/名片消息 43/视频 47/动态表情 48/地理位置 49/分享链接 2000/转账 2001/红包 2002/小程序 2003/群邀请
|
||||
|
||||
系统好友请求通知
|
||||
{'event': 'EventFriendVerify', 'robot_wxid': 'wxid_haqoszjheyuz22', 'robot_name': '', 'type': 37, 'from_wxid': '', 'from_name': '', 'final_from_wxid': 'wxid_4413224132412', 'final_from_name': 'Eric', 'to_wxid': 'wxid_haqoszjheyuz22', 'msgid': '', 'msg': {'from_content': '我是Eric', 'from_nickname': 'Eric', 'from_wxid': 'wxid_4413224132412', 'he
|
||||
adimgurl': 'http://wx.qlogo.cn/mmhead/ver_1/nBWOwvDWAQ8IzdQagjkiaNSWyyYA6nia6CJ3sxsA2tRGyibSyXQIoI41tVnibZt8kYWPF0Vt0IcX4oHyZlfXFD4icV6Jich5XkPs4XXEgYuNROMMjjGCvuVvSzlSEJ6XVOP1sm/132', 'msgid': '7786859767399705248', 'scene': 6, 'sex': 1, 'to_name': '轮回', 'to_wxid': 'wxid_haqoszjheyuz22', 'type': 6, 'v1': 'v3_020b3826fd030100000000005d7426e8a87817
|
||||
000000501ea9a3dba12f95f6b60a0536a1adb6153e5243d7f7c10c2227c2866d079162a319e3fb97d58bfb050771b538359631535a6b577b9b6b9c9494bda5d158d99c3d4c78e6c5182747f62c8b8c@stranger', 'v2': 'v4_000b708f0b040000010000000000f37090679b2e24d6828c582569651000000050ded0b020927e3c97896a09d47e6e9edd9a9dd03e2eb8a8146b1784603bce66ff14ea5f6eb8a9b3a91b29af3b458508a9714ec4da73ad1bcadf6542d953e5bcbbff1e5583ac5b6c61892e1efd7767248b911690c6c0a3a83a3ee893a958956cb093fe41036d0206cc88eb0912b4bd5ca9ba04843ccb327a@stranger'}}
|
||||
|
||||
- 上传用户数据到mysql数据库
|
||||
- 判断用户的添加方式"微信号"/扫码/名片
|
||||
|
||||
同意好友请求
|
||||
{'event': 'EventFriendMsg', 'robot_wxid': 'wxid_haqoszjheyuz22', 'robot_name': '轮回', 'type': 10000, 'from_wxid
|
||||
': 'wxid_4413224132412', 'from_name': 'Eric', 'final_from_wxid': 'wxid_4413224132412', 'final_from_name': 'Eric', 'to_wxid': 'wxid_haqoszjheyuz22', 'msgid': '1337125416523356513', 'msg': '你已添加了Eric,现在可以开始聊天了。'}
|
||||
|
||||
- 根据"关键词" 回复,比如:加群/活动
|
||||
- 根据男女(性别)=>返回不同的群聊/link
|
||||
|
||||
收到转账1.2
|
||||
{'event': 'EventReceivedTransfer', 'robot_wxid': 'wxid_haqoszjheyuz22', 'robot_name': '', 'type': 2000, 'from_wxid': 'wxid_4413224132412', 'from_name': 'Eric', 'final_from_wxid': 'wxid_4413224132412', 'final_from_name': 'Eric', 'to_wxid': 'wxid_haqoszjheyuz22', 'money': '1.20', 'msgid': '', 'msg': {'is_arrived': 1, 'is_received': 0, 'money': '1.20', 'payer_pay_id': '100005000123120100087236308257792162', 'paysubtype': '1', 'receiver_pay_id': '1000050001202312010216430748916', 'remark': '', 'robot_pay_id': '1000050001202312010216430748916', 'pay_id': '100005000123120100087236308257792162', 'update_msg': 'receiver_pay_id、payer_pay_id属
|
||||
性为robot_pay_id、pay_id的新名字,内容是一样的,建议更INFO:
|
||||
|
||||
接受转账1.2
|
||||
{'event': 'EventReceivedTransfer', 'robot_wxid': 'wxid_haqoszjheyuz22', 'robot_name': '', 'type': 2000, 'from_wxid': 'wxid_haqoszjheyuz22', 'from_name': '轮
|
||||
回', 'final_from_wxid': 'wxid_haqoszjheyuz22', 'final_from_name': '轮回', 'to_wxid': 'wxid_4413224132412', 'money': '1.20', 'msgid': '', 'msg': {'is_arrived': 1,
|
||||
'is_received': 1, 'money': '1.20', 'payer_pay_id': '100005000123120100087236308257792162', 'paysubtype': '3', 'receiver_pay_id': '1000050001202312010216430748916', 'remark': '', 'robot_pay_id': '1000050001202312010216430748916', 'pay_id': '100005000123120100087236308257792162', 'update_msg': 'receiver_pay_id、payer_pay_id
|
||||
属性为robot_pay_id、pay_id的新名字,内容是一样的,建议更换'}}
|
||||
|
||||
- 充值积分系统=>数据可视化(小程序)
|
||||
|
||||
二维码收款
|
||||
{'event': 'EventScanCashMoney', 'robot_wxid': 'wxid_haqoszjheyuz22', 'robot_name': '', 'type': 9, 'from_wxid': '', 'from_name': '', 'final_from_wxid': '', 'final_from_name': '轮回', 'to_wxi
|
||||
d': 'wxid_haqoszjheyuz22', 'money': '1.30', 'msgid': '', 'msg': {'from_name': '微信支付', 'from_wxid': 'gh_3dfda90e39d6', 'money': '1.30', 'msgid': '15371052704166345', 'payer_nickname': '轮回',
|
||||
'received_money_index': '1', 'remark': '', 'robot_wxid': 'wxid_haqoszjheyuz22', 'scene': 3, 'scene_desc': '个人收款完成', 'timestamp': 1701392422, 'to_name': '轮回', 'to_wxid': 'wxid_haqoszjhey
|
||||
uz22', 'total_money': '1.30', 'pay_wxid': 'gh_3dfda90e39d6', 'pay_INFO
|
||||
|
||||
- 类似于V免签的支付系统 [更牛逼]
|
||||
|
||||
获取好友列表
|
||||
[{"headimgurl":"https://wx.qlogo.cn/mmhead/ver_1/snpuqoMBlicH7zSpicTicwvdTwhCjEX72L7icibJzbmwa8RHuRcNaQ4NAibwDK1NjR2RtZSVYnNCP5AqU6IjXNPqRLQGiaUrvKlTXZ6INgVxVRic559fzZZdpnKL9S3nsJibobxV4/0","nickname":"amy","note":"","sex":2,"wx_num":"jiangsha6565","wxid":"wxid_gbs1prseui2f21","robot_wxid":"wxid_haqoszjheyuz22"},
|
||||
|
||||
- 好友关系数据分析==>后台管理系统SCRM
|
||||
|
||||
接受文本消息
|
||||
|
||||
- 消息备份
|
||||
- 年终总结
|
||||
|
||||
接受小程序消息
|
||||
{'event': 'EventFriendMsg', 'robot_wxid': 'wxid_haqoszjheyuz22', 'robot_name': '轮回', 'type': 2002, 'from_wxid': 'wxid_4413224132412', 'from_name': 'Eric',
|
||||
'final_from_wxid': 'wxid_4413224132412', 'final_from_name': 'Eric', 'to_wxid': 'wxid_haqoszjheyuz22', 'msgid': '6649187133962216517', 'content': '<?xml version="1.0"?>\r\n<msg>\r\n\t<appmsg appid="" sdkver="0">\r\n\t\t<title>小助手</title>\r\n\t\t<des>异度世界小助手</des>\r\n\t\t<type>33</type>\r\n\t\t<url>https://mp.weixi
|
||||
n.qq.com/mp/waerrpage?appid=wxe50d2cfda682d4d2&type=upgrade&upgradetype=3#wechat_redirect</url>\r\n\t\t<appattach>\r\n\t\t\t<cdnthumburl>3057020100044b304902010002043866a09902032f5aa90204b099697102046569295d042431303933336533352d663262342d346666612d613465632d3361346635306662633363320204051808030201000405004c550500</cdnthumburl>\r\n\t\t\t<cdnthumbmd5>ac95a80afdeb87846c1e66c9b61e4193</cdnthumbmd5>\r\n\t\t\t<cdnthumblength>18260</cdnthumblength>\r\n\t\t\t<cdnthumbwidth>720</cdnthumbwidth>\r\n\t\t\t<cdnthumbheight>576</cdnthumbheight>\r\n\t\t\t<cdnthumbaeskey>cd77a7b51a6372f24e909a4074f6a382</cdnthumbaeskey>\r\n\t\t\t<aeskey>cd77a7b51a6372f24e909a4074f6a382</aeskey>\r\n\t\t\t<encryver>0</encryver>\r\n\t\t\t<filekey>wxid_haqoszjheyuz22_6_1701390684</filekey>\r\n\t\t</appattach>\r\n\t\t<sourceusername>gh_20265a6801b7@app</sourceusername>\r\n\t\t<sourcedisplayname>异度世界小助手</sourcedisplayname>\r\n\t\t<md5>ac95a80afdeb87846c1e66c9b61e4193</md5>\r\n\t\t<
|
||||
weappinfo>\r\n\t\t\t<username><![CDATA[gh_20265a6801b7@app]]></username>\r\n\t\t\t<appid><![CDATA[wxe50d2cfda682d4d2]]></appid>\r\n\t\t\t<type>2</type>\r\n\t\t\t<version>5</version>\r\n\t\t\t<weappiconurl><![CDATA[http://mmbiz.qpic.cn/sz_mmbiz_png/E1sBagGMN77flzOsmSJicMJOl9LtUywexQSEic4ycyicYjMoKtghBCZtiblEMsAac6Rp1q85kwssMR8G1D0cX2FrPw/640?wx_fmt=png&wxfrom=200]]></weappiconurl>\r\n\t\t\t<pagepath><![CDATA[pages/index/index.html]]></pagepath>\r\n\t\t\t<shareId><![CDATA[0_wxe50d2cfda682d4d2_a96a890b27e8c43d18e2e75fda2a9215_1701390684_0]]></shareId>\r\n\t\t\t<appservicetype>0</appservicetype>\r\n\t\t\t<brandofficialflag>0</brandofficialflag>\r\n\t\t\t<showRelievedBuyFlag>0</showRelievedBuyFlag>\r\n\t\t\t<hasRelievedBuyPlugin>0</hasRelievedBuyPlugin>\r\n\t\t\t<flagshipflag>0</flagshipflag>\r\n\t\t\t<subType>0</subType>\r\n\t\t\t<isprivatemessage>0</isprivatemessage>\r\n\t\t</weappinfo>\r\n\t</appmsg>\r\n\t<fromusername>wxid_4413224132412</fromusername>\r\n\t<scene>0</scene>\r\n\t<appinfo>\r\n\t\t<version>1</version>\r\n\t\t<appname></appname>\r\n\t</appinfo>\r\n\t<commenturl></commenturl>\r\n</msg>\r\n', 'msg': '<?xml version="1.0"?>\r\n<msg>\r\n\t<appmsg appid="" sdkver="0">\r\n\t\t<title>小助手</title>\r\n\t\t<des>异度世界小助手</des>\r\n\t\t<type>33</type>\r\n\t\t<url>https:
|
||||
//mp.weixin.qq.com/mp/waerrpage?appid=wxe50d2cfda682d4d2&type=upgrade&upgradetype=3#wechat_redirect</url>\r\n\t\t<appattach>\r\n\t\t\t<cdnthumburl>3057020100044b304902010002043866a09902032f5aa90204b099697102046569295d042431303933336533352d663262342d346666612d613465632d3361346635306662633363320204051808030201000405004c550500</cdnthumburl>\r\n\t\t\t<cdnthumbmd5>ac95a80afdeb87846c1e66c9b61e4193</cdnthumbmd5>\r\n\t\t\t<cdnthumblength>18260</cdnthumblength>\r\n\t\t\t<cdnthumbwidth>720</cdnthumbwidth>\r\n\t\t\t<cdnthumbheight>576</cdnthumbheight>\r\n\t\t\t<cdnthumbaeskey>cd77a7b51a6372f24e909a4074f6a382</cdnthumbaeskey>\r\n\t\t\t<aeskey>cd77a7b51a6372f24e909a4074f6a382</aeskey>\r\n\t\t\t<encryver>0</encryver>\r\n\t\t\t<filekey>wxid_haqoszjheyuz22_6_1701390684</filekey>\r\n\t\t</appattach>\r\n\t\t<sourceusername>gh_20265a6801b7@app</sourceusername>\r\n\t\t<sourcedisplayname>异度世界小助手</sourcedisplayname>\r\n\t\t<md5>ac95a80afdeb87846c1e66c9b61e4193</md5
|
||||
|
||||
> \r\n\t\t<weappinfo>\r\n\t\t\t<username><![CDATA[gh_20265a6801b7@app]]></username>\r\n\t\t\t<appid><![CDATA[wxe50d2cfda682d4d2]]></appid>\r\n\t\t\t<type>2</type>\r\n\t\t\t<version>5</version>\r\n\t\t\t<weappiconurl><![CDATA[http://mmbiz.qpic.cn/sz_mmbiz_png/E1sBagGMN77flzOsmSJicMJOl9LtUywexQSEic4ycyicYjMoKtghBCZtiblEMsAac6Rp1q85kwssMR8G1D0cX2FrPw/640?wx_fmt=png&wxfrom=200]]></weappiconurl>\r\n\t\t\t<pagepath><![CDATA[pages/index/index.html]]></pagepath>\r\n\t\t\t<shareId><![CDATA[0_wxe50d2cfda682d4d2_a96a890b27e8c43d18e2e75fda2a9215_1701390684_0]]></shareId>\r\n\t\t\t<appservicetype>0</appservicetype>\r\n\t\t\t<brandofficialflag>0</brandofficialflag>\r\n\t\t\t<showRelievedBuyFlag>0</showRelievedBuyFlag>\r\n\t\t\t<hasRelievedBuyPlugin>0</hasRelievedBuyPlugin>\r\n\t\t\t<flagshipflag>0</flagshipflag>\r\n\t\t\t<subType>0</subType>\r\n\t\t\t<isprivatemessage>0</isprivatemessage>\r\n\t\t</weappinfo>\r\n\t</appmsg>\r\n\t<fromusername>wxid_4413224132412</fromusername>\r\n\t<scene>0</scene>\r\n\t<appinfo>\r\n\t\t<version>1</version>\r\n\t\t<appname></appname>\r\n\t</appinfo>\r\n\t<commenturl></commenturl>\r\n</msg>\r\n'}
|
||||
|
||||
- 小程序转码(二维码/文字链接)
|
||||
- 获取url路径地址/appld
|
||||
|
||||
接受图片消息
|
||||
{'event': 'EventFriendMsg', 'robot_wxid': 'wxid_haqoszjheyuz22', 'robot_name': '轮回', 'type': 3, 'from_wxid': 'wxid_4413224132412', 'from_name': 'Eric', 'fi
|
||||
nal_from_wxid': 'wxid_4413224132412', 'final_from_name': 'Eric', 'to_wxid': 'wxid_haqoszjheyuz22', 'msgid': '3594034256049460127', 'msg': 'C:\\Users\\Administrator\\Documents\\Applet\\static\\8cc3763e7620f8344a64bf8879d47600.png'}
|
||||
|
||||
引用消息[@处理图片指令]
|
||||
{'event': 'EventFriendMsg', 'robot_wxid': 'wxid_haqoszjheyuz22', 'robot_name': '轮回', 'type': 49, 'from_wxid': 'wxid_4413224132412', 'from_name': 'Eric', 'f
|
||||
inal_from_wxid': 'wxid_4413224132412', 'final_from_name': 'Eric', 'to_wxid': 'wxid_haqoszjheyuz22', 'msgid': '7001340219117692963', 'msg': '<?xml version="1.0"?>\r\n<msg>\r\n\t<appmsg appid="" sdkver="0">\r\n\t\t<title>test</title>\r\n\t\t<type>57</type>\r\n\t\t<appattach>\r\n\t\t\t<cdnthumbaeskey />\r\n\t\t\t<aeskey />\r\n\t\t</appattach>\r\n\t\t<refermsg>\r\n\t\t\t<type>3</type>\r\n\t\t\t<svrid>3594034256049460127</svrid>\r\n\t\t\t<fromusr>wxid_4413224132412</fromusr>\r\n\t\t\t<chatusr />\r\n\t\t\t<displayname>Eric</displayname>\r\n\t\t\t<content><msg><img hdlength="0" length="59093" aeskey="76369b8bfcff816a6d893642d82d2b81" encryver="1" md5="8cc3763e7620f8344a64bf8879d47600" originsourcemd5="8db0825a497bb945da0a383a3d32dd4c" filekey="wxid_haqoszjheyuz22_7_1701390794" uploadcontinuecount="0" imgsourceurl="" hevc_mid_size="59093" cdnbigimgurl="" cdnmidimgurl="3057020100044b304902010002047c076f2902032f5aa90204b69969710204656929ca042466616562356337302d396532382d346430622d393739652d353964323331306565643261020405190a020201000405004c55cd00" cdnthumburl="3057020100044b304902010002047c076f2902032f5aa90204b69969710204656929ca042466616562356337302d396532382d346430622d393739652d353964323331306565643261020405190a020201000405004c55cd00" cdnthumblength="2230" cdnthumbwidth="55" cdnthumbheight="120" cdnthumbaeskey="76369b8bfcff816a6d893642d82d2b81"/><appinfo><appid></appid><appname></appname><version>0</version><isforceupdate>1</isforceupdate><mediatagname></mediatagname><messageext></messageext><messageaction></messageaction></appinfo><MMAsset><m_assetUrlForSystem><![CDATA[749B89AD-79A4-4A14-ABBE-B878E79722B8/L0/001]]></m_assetUrlForSystem><m_isNeedOriginImage>0</m_isNeedOriginImage><m_isFailedFromIcloud>0</m_isFailedFromIcloud><m_isLoadingFromIcloud>0</m_isLoadingFromIcloud></MMAsset></msg></content>\r\n\t\t\t<msgsource><msgsource><bizflag>0</bizflag><sec_msg_node><uuid><![CDATA[a84e81cea000773f7f0f0dbcef187c21_]]></uuid></sec_msg_node></msgsource></msgsource>\r\n\t\t\t<createtime>1701390794</createtime>\r\n\t\t</refermsg>\r\n\t</appmsg>\r\n\t<fromusername>wxid_4413224132412</fromusername>\r\n\t<scene>0</scene>\r\n\t<appinfo>\r\n\t\t<version>1</version>\r\n\t\t<appname></appname>\r\n\t</appinfo>\r\n\t<commenturl></commenturl>\r\n</msg>\r\n'}
|
||||
|
||||
核心: 判断引用消息id,以及消息类型(图片)==>'msgid': '3594034256049460127'
|
||||
|
||||
- OCR识别
|
||||
- 头像转动漫
|
||||
|
||||
发送文件语音消息
|
||||
{'event': 'SendFileMsg, 'robot_wxid': 'wxid_haqoszjheyuz22', 'robot_name': '', 'type': 34, 'from_wxid': 'wxid_haqoszjheyuz22', 'from_name': '', 'final_from_wxid': 'wxid_haqoszjheyuz22', 'final_from_name': '', 'to_wxid': 'wxid_4413224132412', 'msgid': '1666643945130145436', 'msg': 'C:\\Users\\Administrator\\Documents\\Applet\\static\\.mp3'}
|
||||
|
||||
- AI变声
|
||||
|
||||
接受文件(pdf)
|
||||
|
||||
- pdf翻译
|
||||
- 自动上传网盘 [nextcloud]
|
||||
|
||||
接受语音消息
|
||||
{'event': 'EventFriendMsg', 'robot_wxid': 'wxid_haqoszjheyuz22', 'robot_name': '轮回', 'type': 34, 'from_wxid': 'wxid_4413224132412', 'from_name': 'Eric', 'f
|
||||
inal_from_wxid': 'wxid_4413224132412', 'final_from_name': 'Eric', 'to_wxid': 'wxid_haqoszjheyuz22', 'msgid': '6536324883072635591', 'msg': 'C:\\Users\\Administrator\\Documents\\Applet\\static\\.mp3'}
|
||||
|
||||
- 自动识别翻译
|
||||
|
||||
接受视频消息
|
||||
|
||||
- 自动生成srt双语字幕
|
||||
15
微信AI /微信个人支付.md
Normal file
@@ -0,0 +1,15 @@
|
||||
payjs
|
||||
|
||||
```
|
||||
极客小助手
|
||||
商户号:1561724891
|
||||
密匙:zA2hBU6pv6CIBzkW
|
||||
```
|
||||
|
||||
收款银行卡:建设银行
|
||||
|
||||
|
||||
|
||||
yougouos
|
||||
|
||||
|
||||
15
微信AI /微信机器人-开发板.md
Normal file
@@ -0,0 +1,15 @@
|
||||
禁止微信自动更新
|
||||
|
||||
设置微信电源/存储
|
||||
|
||||
使用adb push wx模块.json [导入设置]
|
||||
|
||||
```
|
||||
adb push xxx.json /sdcard/Android/data/com.tencent.mm
|
||||
```
|
||||
|
||||
x香橙派5B 配置文件 android12和 linux的docker都适合
|
||||
|
||||
```
|
||||
/storage/emulated/0/Android/data/com.tencent.mm
|
||||
```
|
||||
87
微信AI /独角数卡.md
Normal file
@@ -0,0 +1,87 @@
|
||||
## 独角数卡
|
||||
|
||||
> 个人收款方案
|
||||
|
||||
国内对于`个人商业`以及`独立开发者`客观上不太友好,一般支持个体户和公司主体
|
||||
|
||||
而为了实现`自动化交易`,如果去办理繁琐的注册,维护税务,成本比较高,所以要考虑低成本方案
|
||||
|
||||
目前市面上开源免费的方案,有`独角数卡`,它本身的设计是发卡系统,简单来说就是数字类账号/注册之类
|
||||
|
||||
<img title="" src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202311212232287.png" alt="" width="423">
|
||||
|
||||
---
|
||||
|
||||
## 支付系统
|
||||
|
||||
> 各种第三方,或者挂机监听
|
||||
|
||||
独角数卡,本身只是订单交易履约平台,并没有集成支付渠道
|
||||
|
||||
但是系统内置预设了大量的第三方支付接口,比如`易支付`,`v免签`
|
||||
|
||||
本人也只是体验了这2种,后面会详细谈谈体验
|
||||
|
||||
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202311212232476.png" title="" alt="" width="437">
|
||||
|
||||
---
|
||||
|
||||
## V免签
|
||||
|
||||
> 免费,无中间商,透明交易
|
||||
|
||||
使用V免签,有个硬性条件,就是`挂机`,24小时
|
||||
|
||||
所以针对手机,这种的带电池的商业消耗品,显然不适合支持业务
|
||||
|
||||
前面提到的 [云手机系列](https://mp.weixin.qq.com/mp/homepage?__biz=MzU4NTgyNDUxNw==&hid=11&sn=17e4a687e9aea61aad1b9733d2fc02f6&scene=1&devicetype=iOS17.2&version=18002b2d&lang=zh_CN&nettype=WIFI&ascene=7&session_us=gh_bebb67a13c77&fontScale=100) ,就刚好可以满足条件
|
||||
|
||||
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202311212232536.png" title="" alt="" width="260">
|
||||
|
||||
> 需要在android系统下载`v免签监空app`
|
||||
|
||||
它核心是监听安卓系统的通知栏,然后分析其中的文本,获取收款信息
|
||||
|
||||
然后给独角数卡这种订单系统,发送回调,就完成了履约闭环
|
||||
|
||||
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202311212233340.png" title="" alt="" width="394">
|
||||
|
||||
> 后台可以查看订单数据
|
||||
|
||||
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202311212233609.png" title="" alt="" width="419">
|
||||
|
||||
---
|
||||
|
||||
## 易支付
|
||||
|
||||
> 使用需要谨慎
|
||||
|
||||
牢牢记住劣势
|
||||
|
||||
- 注册就需要约300软妹币左右的成本
|
||||
|
||||
- 收款方不透明,显示`xx商行`
|
||||
|
||||
- 平台可能有跑路风险
|
||||
|
||||
- 交易每单会有手续费
|
||||
|
||||
当然也有优势
|
||||
|
||||
- 原生支付体验,唤醒收银台(无需扫码)
|
||||
|
||||
- 不会丢单
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
## 最后
|
||||
|
||||
> 方法总比困难多
|
||||
|
||||
很多场景,都需要针对个人的收款方案,比如微信小程序
|
||||
|
||||
正在测试中,下篇应该会提到
|
||||
|
||||
关于独角数卡,本人只是折腾部署,并没有实际业务目前
|
||||
23
快速写一篇公众号.md
Normal file
@@ -0,0 +1,23 @@
|
||||
## 快速写一篇公众号
|
||||
|
||||
- 使用markdown语法
|
||||
|
||||
- marktext [开源编辑器]
|
||||
|
||||
---
|
||||
|
||||
## 使用图床
|
||||
|
||||
- 腾讯云cos
|
||||
|
||||
- picgo软件上传
|
||||
|
||||
---
|
||||
|
||||
## 网页格式化
|
||||
|
||||
- xxx
|
||||
|
||||
- 复制markdwon源码
|
||||
|
||||

|
||||
0
数字游民/数字游民.md
Normal file
71
数字游民/深圳市.md
Normal file
@@ -0,0 +1,71 @@
|
||||
[第二十五届中国国际高新技术成果交易会](https://www.chtf.com/)
|
||||
|
||||
11月15日-11月19日
|
||||
|
||||
|
||||
|
||||
仙湖植物园
|
||||
|
||||
[深圳仙湖植物园攻略,深圳仙湖植物园门票_地址,深圳仙湖植物园游览攻略 - 马蜂窝](https://www.mafengwo.cn/poi/6773494.html)
|
||||
|
||||
|
||||
|
||||
港澳台签注
|
||||
|
||||
香港自由行
|
||||
|
||||
|
||||
|
||||
副业活动:莲花山
|
||||
|
||||
<img src="file:///Users/eric/Documents/marktext/images/e4a34abf75962a64959285dc37fc2bc62fda7ffd.png" title="" alt="Screenshot 2023-11-16 at 08.24.12.png" width="328">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
罗湖水贝
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
深圳
|
||||
|
||||
书城
|
||||
|
||||
会展中心
|
||||
|
||||
仙湖植物园
|
||||
|
||||
market [产业地图]--罗湖水贝
|
||||
|
||||
莲花山 [徒步组织]
|
||||
|
||||
大会:跨境/AIGC
|
||||
|
||||
副业:meetup交流
|
||||
|
||||
试听培训课程
|
||||
|
||||
|
||||
|
||||
广州
|
||||
|
||||
水会
|
||||
|
||||
街边地道小吃
|
||||
|
||||
民宿
|
||||
|
||||
当地文化节日
|
||||
|
||||
本地宝:义工
|
||||
|
||||
自驾游
|
||||
|
||||
|
||||
|
||||
出国
|
||||
|
||||
香港:自由行
|
||||