funambol / android-sms-hash-generator Goto Github PK
View Code? Open in Web Editor NEWSmall and effective python script to compute the android app's hash for properly configure the SMS Signup
License: MIT License
Small and effective python script to compute the android app's hash for properly configure the SMS Signup
License: MIT License
Hello! Thanks for the tool. Super useful.
Some of my keystore passwords have weird characters. One contains all of these: "*_^[?".
I tried calling smshash.py
like this:
python3 smshash.py path/keystore MyAndroidKey "*_^[?" com.example.myapp
and my shell accepted it.
But smshash.py was making this call without ""
, so it failed:
keytool -alias MyAndroidKey -exportcert -keystore path/keystore -storepass *_^[?
keytool error: java.io.IOException: Keystore was tampered with, or password was incorrect
This code fixes it:
return keytoolName + " " + "-alias " + args.alias + " -exportcert -keystore " + args.keystore + " -storepass \"" + args.keypass + "\""
For some reason, this generator does not produce valid hashes for me. I have tried it with two keystores/keys, it just doesn't produce the correct hash. As in, the SMS retrieval does not workd.
The AppSignatureHelper produces different hashes for the same app/keystore/key, but with that, SMS retrieval does work.
Unfortunately I don't have much time to analyze it, maybe someone else wants to do this if needed.
For Xamarin, the default debug keystore used to sign the app uses a blank password.
The python script does not support it
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.