Skip to content

Commit

Permalink
fix #37.
Browse files Browse the repository at this point in the history
  • Loading branch information
0xlane committed Dec 3, 2024
1 parent ad98c38 commit 9959cc0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wechat-dump-rs"
version = "1.0.20"
version = "1.0.21"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ rule GetKeyAddrStub
cur_key_offset
));
if key_bytes.iter().filter(|&&x| x <= 127).count() < 20
&& key_bytes.iter().filter(|&&x| x == 0).count() < 2
&& key_bytes.iter().filter(|&&x| x == 0).count() < 5
{
// 验证 key 是否有效
let start = SALT_SIZE;
Expand Down Expand Up @@ -1076,7 +1076,7 @@ fn cli() -> clap::Command {
use clap::{arg, value_parser, Command};

Command::new("wechat-dump-rs")
.version("1.0.20")
.version("1.0.21")
.about("A wechat db dump tool")
.author("REinject")
.help_template("{name} ({version}) - {author}\n{about}\n{all-args}")
Expand Down

0 comments on commit 9959cc0

Please # to comment.