跳转到内容

wx profiles

此内容尚不支持你的语言。

Register and read stopped local WeChat profiles

wx profiles add

Register the path and optional key file of a stopped local profile

Argument or flagTakesWhat it does
<NAME>position 1, requiredName to save the profile under
--account-dirtakes <ACCOUNT_DIR>Account folder name under —path (or —path/xwechat_files) to use
--formattakes <FORMAT>, default official-linuxProfile file layout; only official-linux is supported
--keys-filetakes <KEYS_FILE>Private file with this profile’s database keys, from wx profiles keys export
--pathrequired, takes <PATH>Stopped official profile folder; add —account-dir if it holds several accounts

wx profiles avatars

Retrieve a saved avatar from a stopped local profile

Argument or flagTakesWhat it does
--allow-plaintextswitchPermit a deliberately created plaintext export; encrypted sources remain the default
--cursortakes <CURSOR>Continue from the next-page cursor of the previous result
--limittakes <LIMIT>, default 50Return at most this many items (1 to 200)
--outputrequired, takes <OUTPUT>Save to this new file outside the profile; an existing file is not overwritten
--rawswitchInclude original typed source fields, which can contain private transport metadata
--searchtakes <SEARCH>Only list chats, contacts, groups or members whose name or ID contains this text
--source-stoppedswitchConfirm that the selected source is stopped or is a consistent snapshot
--usernamerequired, takes <USERNAME>Username of the contact or group whose saved avatar to export

wx profiles chats

List chats from a stopped local profile

Argument or flagTakesWhat it does
--allow-plaintextswitchPermit a deliberately created plaintext export; encrypted sources remain the default
--cursortakes <CURSOR>Continue from the next-page cursor of the previous result
--limittakes <LIMIT>, default 50Return at most this many items (1 to 200)
--rawswitchInclude original typed source fields, which can contain private transport metadata
--searchtakes <SEARCH>Only list chats, contacts, groups or members whose name or ID contains this text
--source-stoppedswitchConfirm that the selected source is stopped or is a consistent snapshot

wx profiles contacts

Read contacts from a stopped local profile

Argument or flagTakesWhat it does
--allow-plaintextswitchPermit a deliberately created plaintext export; encrypted sources remain the default
--cursortakes <CURSOR>Continue from the next-page cursor of the previous result
--limittakes <LIMIT>, default 50Return at most this many items (1 to 200)
--rawswitchInclude original typed source fields, which can contain private transport metadata
--searchtakes <SEARCH>Only list chats, contacts, groups or members whose name or ID contains this text
--source-stoppedswitchConfirm that the selected source is stopped or is a consistent snapshot

wx profiles groups

Read groups and saved members from a stopped local profile

Argument or flagTakesWhat it does
--allow-plaintextswitchPermit a deliberately created plaintext export; encrypted sources remain the default
--cursortakes <CURSOR>Continue from the next-page cursor of the previous result
--idtakes <ID>Show only this group, by ID, instead of the whole list
--limittakes <LIMIT>, default 50Return at most this many items (1 to 200)
--membersswitchList the saved members of the group given by —id
--rawswitchInclude original typed source fields, which can contain private transport metadata
--searchtakes <SEARCH>Only list chats, contacts, groups or members whose name or ID contains this text
--source-stoppedswitchConfirm that the selected source is stopped or is a consistent snapshot

wx profiles images

Retrieve a saved image from a stopped local profile

Argument or flagTakesWhat it does
--allow-plaintextswitchPermit a deliberately created plaintext export; encrypted sources remain the default
--cursortakes <CURSOR>Continue from the next-page cursor of the previous result
--limittakes <LIMIT>, default 50Return at most this many items (1 to 200)
--messagerequired, takes <MESSAGE>Message observation ID from wx profiles messages
--outputrequired, takes <OUTPUT>Save to this new file outside the profile; an existing file is not overwritten
--qualitytakes <QUALITY>, default best, values best|thumbnail|standard|original|fullWhich saved copy to export; best picks the highest quality available (full is original)
--rawswitchInclude original typed source fields, which can contain private transport metadata
--searchtakes <SEARCH>Only list chats, contacts, groups or members whose name or ID contains this text
--source-stoppedswitchConfirm that the selected source is stopped or is a consistent snapshot

wx profiles inspect

Inspect the selected profile’s layout and key availability

wx profiles keys

Export profile keys from authorized local key material

wx profiles keys export

Export keys from an authorized password file or agent data directory

Argument or flagTakesWhat it does
<NAME>position 1Profile name from wx profiles list; defaults to the selected profile
--agent-token-filetakes <AGENT_TOKEN_FILE>Private file with the token that unlocks the agent data; needed for —from-agent-data
--from-agent-datatakes <FROM_AGENT_DATA>Agent data folder, or its agent.db file, holding saved profile keys
--outputrequired, takes <OUTPUT>Write the keys to this new private file outside the profile
--password-filetakes <PASSWORD_FILE>Private file holding the account password as exactly 32 raw bytes
--sessiontakes <SESSION>Key session ID to read; needed only when the agent data has several for this account
--source-stoppedrequired, switchConfirm that the selected source is stopped or is a consistent snapshot

wx profiles list

List registered profiles and their selected defaults

wx profiles messages

Read messages from a stopped local profile

Argument or flagTakesWhat it does
--allow-plaintextswitchPermit a deliberately created plaintext export; encrypted sources remain the default
--chatrequired, takes <CHAT>Chat ID to read, from wx profiles chats
--cursortakes <CURSOR>Continue from the next-page cursor of the previous result
--limittakes <LIMIT>, default 50Return at most this many items (1 to 200)
--own-usernametakes <OWN_USERNAME>Your WeChat username, used to mark which messages you sent
--rawswitchInclude original typed source fields, which can contain private transport metadata
--searchtakes <SEARCH>Only list chats, contacts, groups or members whose name or ID contains this text
--source-stoppedswitchConfirm that the selected source is stopped or is a consistent snapshot

wx profiles select

Save the default local profile for this CLI or selected server

Argument or flagTakesWhat it does
<NAME>position 1, requiredProfile name from wx profiles list