Skip to content

ntqbit/snet-extractor-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

SafetyNet JAR extractor

Command line tool to download and extract the latest version of the Google Play Services SafetyNet Jar file.

Rewritten version of anestisb's snet-extractor on python.

How to use

Run

python extract.py

to download and store the JAR file to the current folder as {date}-{version}.snet.jar

Run

python extract.py --save-all path

to download and store the JAR file and save all intermediate binaries such as snet.flags binary, snet_flags payload as JSON, and JAR binary.

Help:

usage: extract.py [-h] [--output-file OUTPUT_FILE] [--output-dir OUTPUT_DIR] [--save-all SAVE_ALL]

options:
  -h, --help            show this help message and exit
  --output-file OUTPUT_FILE, -o OUTPUT_FILE
                        Path to output JAR file.
  --output-dir OUTPUT_DIR, -d OUTPUT_DIR
                        Path to output JAR directory
  --save-all SAVE_ALL, -v SAVE_ALL
                        Path to directory with intermediate downloaded binaries

Credits

All credits to snet-extractor.

About

SafetyNet JAR extractor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages