Skip to content

Commit ecaa250

Browse files
committed
Merge remote-tracking branch 'origin/v4' into HEAD
2 parents 09e0d3b + 891d2d0 commit ecaa250

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wechat-dump-rs"
3-
version = "1.0.29-no-phone"
3+
version = "1.0.31-no-phone"
44
edition = "2021"
55
repository = "https://github.com/0xlane/wechat-dump-rs"
66

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ wechat-dump-rs.exe -k xxxxxxxxxxxxxxxxx -f c:\users\xxxx\xxxx\contact.db -r --vv
9595
- 4.0.1.17
9696
- 4.0.1.21
9797
- 4.0.2.17
98+
- 4.0.3.22
9899

99100
## 库表结构
100101

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ fn cli() -> clap::Command {
44
use clap::{arg, value_parser, Command};
55

66
Command::new("wechat-dump-rs")
7-
.version("1.0.25")
7+
.version("1.0.31-no-phone")
88
.about("A wechat db dump tool")
99
.author("REinject")
1010
.help_template("{name} ({version}) - {author}\n{about}\n{all-args}")

wxdump/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wxdump"
3-
version = "1.0.29-no-phone"
3+
version = "1.0.31-no-phone"
44
edition = "2021"
55
repository = "https://github.com/0xlane/wechat-dump-rs"
66

wxdump/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const RULES_V4: &str = r#"
6969
rule GetUserInfoOffset
7070
{
7171
strings:
72-
$a = /(.{16}[\x00-\x20]\x00{7}(\x0f|\x1f)\x00{7}){2}.{16}[\x01-\x20]\x00{7}(\x0f|\x1f)\x00{7}[0-9]{11}\x00{5}\x0b\x00{7}\x0f\x00{7}.{25}\x00{7}(\x3f|\x2f|\x1f|\x0f)\x00{7}/s
72+
$a = /(.{16}[\x00-\x20]\x00{7}(\x0f|\x1f)\x00{7}){2}.{16}[\x01-\x20]\x00{7}(\x0f|\x1f)\x00{7}[0-9]{11}\x00{5}\x0b\x00{7}\x0f\x00{7}.{25}\x00{7}(\x4f|\x3f|\x2f|\x1f|\x0f)\x00{7}/s
7373
condition:
7474
$a
7575
}
@@ -615,11 +615,11 @@ rule GetKeyAddrStub
615615
const PAGE_SIZE: usize = 4096;
616616
const ROUND_COUNT: u32 = 256000;
617617
let mut db_file_path = PathBuf::from(data_dir.clone());
618-
db_file_path.push(r"db_storage\biz\biz.db");
618+
db_file_path.push(r"db_storage\contact\contact.db");
619619
let mut db_file = std::fs::File::open(&db_file_path)
620620
.expect(format!("{} is not exsit", db_file_path.display()).as_str());
621621
let mut buf = [0u8; PAGE_SIZE];
622-
db_file.read(&mut buf[..]).expect("read biz.db is failed");
622+
db_file.read(&mut buf[..]).expect("read contact.db is failed");
623623

624624
// HMAC_SHA512算法比较耗时,使用多线程跑
625625
let n_job = pre_addresses.len();

0 commit comments

Comments
 (0)