Skip to content

FastAPI + anyactl for decrypting iBoot and SEP kbags

Notifications You must be signed in to change notification settings

matteyeux/oracle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Oracle

FastAPI wrapper for Anya

Run

First, make sure your device is plugged and running in Anya mode.

With poetry :

  • Install poetry with pip
  • Run poetry run oracle/main.py

Then try it:

λ ~/19F77 » curl -s matteyeux.keys:5555/decrypt/8020/02C85C274A39093F65DAC9BFD470ECACE71B0906B8C98EFFB9FFD039C697089A7B8471CB70B31AF3A922A527B027ADE9 | jq .
{
  "kbag": "02C85C274A39093F65DAC9BFD470ECACE71B0906B8C98EFFB9FFD039C697089A7B8471CB70B31AF3A922A527B027ADE9",
  "key": "AD1F3B06BE0ADB0D9DC43AF6C9E5D5A690378F25DF719BB80D5A98D9F63194236A7AEEEFA6E7458C42E3EBAFF4E3A7A9"
}
λ ~/19F77 » curl -s matteyeux.keys:5555/decrypt/8020/sep/3E59AF67E15C4CA23FEC30466927FEBD8F959471414BC643E4545D0299AA486B57338819D7D514B2C60351CD2D6ADFB0 | jq .
{
  "kbag": "3E59AF67E15C4CA23FEC30466927FEBD8F959471414BC643E4545D0299AA486B57338819D7D514B2C60351CD2D6ADFB0",
  "key": "A1B32444E041EE9DD66E2BF536FE5975BA12262C21E80655093B066493AE5ECBC26FC7C0C44B327D5DA1CD34DE73AB1F"
}

udev rule

If you are on a Linux machine, copy 67-anya.rules to /etc/udev/rules.d to not run the API as root.

Credits

About

FastAPI + anyactl for decrypting iBoot and SEP kbags

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages