Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
W
work-weixin-SDK
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
徐阳
work-weixin-SDK
Commits
a4ef753e
Commit
a4ef753e
authored
Jun 30, 2020
by
徐阳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
‘添加说明文档’
parent
242396bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
0 deletions
+37
-0
README.md
README.md
+37
-0
No files found.
README.md
0 → 100644
View file @
a4ef753e
# 获取企业微信聊天记录
##编译 (只能Linux中编译,Linux系统中使用)
```
g++ wx_work.cpp -o wx_work -ldl
```
##执行
```
获取聊天记录
./wx_work corpid secret 1 seq limit
下载聊天中的资源
./wx_work corpid secret 2 fileid savefile
解密聊天记录
./wx_work corpid secret 3 encrypt_key encrypt_msg
```
##参数说明
```
corpid 企业微信appid
secret 企业微信secret
seq 第几条聊天记录
limit 条数
fileid 聊天记录中的 fileid
savefile 保存文件的路径和文件, 保证指定的目录当前用户可写 推荐使用系统的临时目录:/tmp/file_name
encrypt_key 根据聊天记录的 encrypt_random_key 使用私钥解密 //PHP代码 openssl_private_decrypt(base64_decode($encrypt_random_key), $encrypt_key, 私钥, OPENSSL_PKCS1_PADDING);
encrypt_msg 根据聊天记录的 encrypt_msg
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment