tgalal / yowsup

The WhatsApp lib
GNU General Public License v3.0
7.02k stars 2.23k forks source link

6 IOS ENV TOKENS can be used on oct, 2023 #3243

Open crackwei opened 8 months ago

crackwei commented 8 months ago

_VERSION = "2.23.17.9" _TOKEN = "0a1mLfGUIBVrMKF1RdvLI5lkRBvof6vn0fD2QRSMff2272cc4485e5c2fe18c266f3f6c368{phone}"

_VERSION = "2.23.17.78" _TOKEN = "0a1mLfGUIBVrMKF1RdvLI5lkRBvof6vn0fD2QRSM7a62373137918da10e863c64fa1c189f{phone}"

_VERSION = "2.23.17.81" _TOKEN = "0a1mLfGUIBVrMKF1RdvLI5lkRBvof6vn0fD2QRSM97afb39dd8996eccb83d195c5caa1461f{phone}"

_VERSION = "2.23.18.78" _TOKEN = "0a1mLfGUIBVrMKF1RdvLI5lkRBvof6vn0fD2QRSMf1ed9e53b888de57ba16bb0e22230cfb{phone}"

_VERSION = "2.23.19.76" _TOKEN = "0a1mLfGUIBVrMKF1RdvLI5lkRBvof6vn0fD2QRSM66501b231ff07285b2f7949d5e61599c{phone}"

_VERSION = "2.23.20.79" _TOKEN = "0a1mLfGUIBVrMKF1RdvLI5lkRBvof6vn0fD2QRSMae7a82c5925f2bdc5d73e861094f59e8{phone}"

Additional, in env_android.py, set the following variables, it will be worked on android: _VERSION = "2.23.21.75" _MD5_CLASSES = "vt0V/gVCcBYW8vY900hf8w=="

** It isn't complex to generate these tokens, don't know why somebody is selling them for money !!

I still have some errors that I can't solve. If you want to communicate, I created a TG group: https://t.me/+8fGy0AULqJFhMGY1, For enthusiasts to communicate for free. Developers should help each other instead of selling small details that others don't know. This is the spirit of open source software **

syxme commented 8 months ago

Everything is much simpler ))

const MOBILE_IOS_STATIC = "0a1mLfGUIBVrMKF1RdvLI5lkRBvof6vn0fD2QRSM"
function getIosToken(msisdn,version) {
    let versionMD5Hex = crypto.createHash('md5').update(version).digest('hex');
    let token = MOBILE_IOS_STATIC + versionMD5Hex + msisdn;
    return crypto.createHash('md5').update(token).digest('hex');
}
getIosToken("9343452345","2.23.17.81")

or

const MOBILE_IOS_STATIC = "0a1mLfGUIBVrMKF1RdvLI5lkRBvof6vn0fD2QRSM"
function getIosToken(msisdn,version) {
    let versionMD5Hex = crypto.createHash('md5').update(version).digest('hex');
    return MOBILE_IOS_STATIC + versionMD5Hex + msisdn;
}
getIosToken("9343452345","2.23.17.81")

For android https://gist.github.com/syxme/386ee427ac8ae7e3365491cd5be56f18

lauriolasw commented 6 months ago

_VERSION = "2.23.23.79" _TOKEN = "0a1mLfGUIBVrMKF1RdvLI5lkRBvof6vn0fD2QRSM37dfd00588d059cec1b40fda769f2ddf{phone}"

zif91 commented 3 months ago

Everything is much simpler ))

const MOBILE_IOS_STATIC = "0a1mLfGUIBVrMKF1RdvLI5lkRBvof6vn0fD2QRSM"
function getIosToken(msisdn,version) {
    let versionMD5Hex = crypto.createHash('md5').update(version).digest('hex');
    let token = MOBILE_IOS_STATIC + versionMD5Hex + msisdn;
    return crypto.createHash('md5').update(token).digest('hex');
}
getIosToken("9343452345","2.23.17.81")

or

const MOBILE_IOS_STATIC = "0a1mLfGUIBVrMKF1RdvLI5lkRBvof6vn0fD2QRSM"
function getIosToken(msisdn,version) {
    let versionMD5Hex = crypto.createHash('md5').update(version).digest('hex');
    return MOBILE_IOS_STATIC + versionMD5Hex + msisdn;
}
getIosToken("9343452345","2.23.17.81")

For android https://gist.github.com/syxme/386ee427ac8ae7e3365491cd5be56f18

But how does it works? where i need to place this JS code?