diff --git a/Cargo.toml b/Cargo.toml index 9a6af2d..8e0a8e2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 diff --git a/src/main.rs b/src/main.rs index 9c96874..9ab1201 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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; @@ -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}")