Skip to content

LeoMartinDev/Mi-Home-token-extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xiaomi Home token extractor

A simple script to extract Xiaomi Home devices tokens from an unencrypted iOS backup.

Only tested on MacOS.

Installation

MacOS

macOS x64

curl -o- https://github.com/LeoMartinDev/Mi-Home-token-extractor/releases/latest/download/mi-home-token-extractor-macos-x64 | bash

macOS arm64

curl -o- https://github.com/LeoMartinDev/Mi-Home-token-extractor/releases/latest/download/mi-home-token-extractor-macos-arm64 | bash

Linux

curl -o- https://github.com/LeoMartinDev/Mi-Home-token-extractor/releases/latest/download/mi-home-token-extractor-linux | bash

Windows

curl -o- https://github.com/LeoMartinDev/Mi-Home-token-extractor/releases/latest/download/mi-home-token-extractor-windows | bash

Alternatively, clone the repo, run bun install and launch the script bun start !

Usage

  1. Connect your Xiaomi Home devices in the Xiaomi app.
  2. Create an unencrypted iOS backup: https://support.apple.com/en-us/118426#computer
  3. Run token-extractor.
  4. Profit!
> ./token-extractor-macos-arm64

Found 1 backups
Using backup iPhone de Léo (2024-05-29T14:11:51.000Z)
Found 1 devices

DEVICE    My device
TOKEN     unencrypted_token
MAC       CC:CC:CC:CC:CC:CC
LOCAL IP  0.0.0.0
SSID      MY_SSID

About

A simple way to find Xiaomi Home devices tokens from an iOS unencrypted backup

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published