Open Erfaniom opened 2 years ago
Doesn't work with 4.5.14
after updating to 4.5.11 the license doesn't work anymore can you please update it?
This repo is a clone of the original I used archive.org to get the files i dont know how 2 fix it rn
@Erfaniom @sycured @moongazer07 It is quite simple, you need new cert files or use old ones (you can extract them with pyinstxtractor or any other extractor) Then you need to edit REDEEM_TEMPLATE (http response) in model.py to fit one that MB is currently using in model.py, this is quite easy to get as you can use anything like fiddler, http debugger etc. This can change any time, but it didn't change much at this point. Most likely it was old MB version in this template that broke the previous program. From my tests I found out that using higher version doesn't break it. Just in case (this uses latest version 4.5.24):
{"installation":{"browser_extension_trial_given":false,"entitlement":{"term_ends_on":"99999-09-09T24:59:59.999+99:99","term_starts_on":null,"renewed_on":null,"term_type":"subscription","volume_purchased":1,"volume_status":"legal_usage","term_length":90,"volume_used":1,"status":"active","enabled":true,"abused":false,"auto_renew":"no","enforce_volume":true,"features":"grandfathered=false","products":[{"id":33,"name":"MalwarebytesPremium","customer_type":"consumer","active":true,"code":"MBHS-C","two_char_code":"HS","grace_multiplier":1.1,"grace_term_days":30,"is_trial_allowed":false,"trial_duration":0,"trial_max_volume":1,"default_key_type":"keystone","parent_id":null,"allow_grace":true,"enforce_volume":true,"sellable":true,"real_product_codes":["MBAM-C","MBMA-C","MMAC-C"],"featurable_features":[],"created_at":"2017-07-17T18:08:24Z","updated_at":"2017-07-27T19:11:35Z"}],"key":{"license_key":"","status":"active","transaction_source":"on_demand","transaction_id":"Lifetime_giveaway_offer_friends_exacttarget_5","source":"keystone","referral_key":"","subscription_id":"","subscription_secret":""},"pids":[],"running_number":null},"friendly_name":null,"installation_token":"","ip_address":"127.0.0.1","last_contacted_at":"2023-04-18T15:44:20.196+00:00","last_scanned_time":null,"license_key":"","machine_id":"","machine_name":null,"messageable":true,"notes":null,"product":{"active":true,"allow_grace":true,"code":"MBAM-C","created_at":"2015-02-06T18:32:37Z","customer_type":"consumer","default_key_type":"keystone","enforce_volume":true,"featurable_features":[],"grace_multiplier":3.0,"grace_term_days":30,"id":1,"is_trial_allowed":true,"name":"Malwarebytes3Premium","parent_id":null,"platform":{"name":"Windows"},"real_product_codes":null,"sellable":true,"tag":null,"trial_duration":14,"trial_max_volume":0,"two_char_code":"MC","updated_at":"2022-10-12T15:56:20Z"},"product_build":"consumer","product_id":1,"product_version":"4.5.24","push_notification_token":null,"redeemed_at":null,"registered_at":"2023-04-18T14:45:04.000+00:00","trial_available":false,"trial_ends_on":"2023-04-19T14:53:42.000+00:00","trial_max_volume":0,"trial_starts_on":"2023-04-18T14:49:21.000+00:00","trial_status":"trial_expired","type":"dynamo","volume_used":1},"status":"ok"}
After that simply use pyinstaller (or any other packer) which will build it for you, but remember to add yourt cert files ;) (you might need to install your ca.cert in "Local Machine - Trusted Root Certification Authorities" for it to work if you get error that indicates handshake issue)
This is the end result:
I checked how it works, explain and share it purely for research and education, please **BUY the software ** if you like it and can afford it. Let me know if I can help with anything or you need more explanation on some parts of code ;)
i am currently updating the code i should be done maybe by tomorrow
@MichaelDavidGK What did you exactly change on REDEEM_TEMPLATE, because it looks like the whole format is different. What python version did you run (3.6, I tried updating the code to .7+)? I cant seem to make it work. Could you give me a little walkthrough? Thx ahead!
Hi, sorry for late reply, I completely forgot about it I simply used python3.10, no need to update code at all, python3 is backward compatible in most cases I posted template above, I checked it today and it seems that it is still working for latest version of MB
If u want full walkthrough it's exactly as I wrote above, but I put it in points below, just for you ;)
If you need help building and signing just google it, there are multiple ways or ask ;)
Fixed & Rebuilded program with the certs and made a whole setup script for it helping install MB and setting it up. Also figured out how to sign the app with the cert so defender shouldn't immediately remove it. Still having the cert done correctly though it still had to be imported (which the script does). Malwarebytes Premium 4.5.29.zip
Download link for the mb setup is included just rename it too MBSetup.exe after downloading the run the script. Pls buy it if you can. (just did this cuz was bored)
Fixed & Rebuilded program with the certs and made a whole setup script for it helping install MB and setting it up. Also figured out how to sign the app with the cert so defender shouldn't immediately remove it. Still having the cert done correctly though it still had to be imported (which the script does). Malwarebytes Premium 4.5.29.zip
Download link for the mb setup is included just rename it too MBSetup.exe after downloading the run the script. Pls buy it if you can. (just did this cuz was bored)
not working for me, first time got some errors, after relaunching program it's not connecting to proxy server
if ur launching it directly after running the script make sure to reimport the ca as it gets removed after the script closes.
Thank you all I'll try to do the change for the macOS version... I got the response:
{
"status": "ok",
"installation": {
"license_key": null,
"entitlement": null,
"product": {
"id": 11,
"name": "Malwarebytes 3 Premium for Mac",
"customer_type": "consumer",
"active": true,
"code": "MMAC-C",
"two_char_code": "MX",
"grace_multiplier": 1.0,
"grace_term_days": 30,
"is_trial_allowed": true,
"trial_duration": 14,
"trial_max_volume": 0,
"default_key_type": "keystone",
"parent_id": null,
"allow_grace": true,
"enforce_volume": true,
"sellable": true,
"real_product_codes": null,
"featurable_features": [],
"platform": {
"name": "macOS"
},
"tag": null,
"created_at": "2015-09-25T17:22:23Z",
"updated_at": "2022-10-12T15:57:41Z"
},
"installation_token": "",
"trial_status": "trial_expired",
"trial_available": false,
"trial_max_volume": 0,
"trial_starts_on": "2023-01-10T21:27:35.000+00:00",
"trial_ends_on": "2023-01-24T21:33:01.000+00:00",
"machine_id": "",
"product_id": 11,
"notes": null,
"product_version": "4.20.7.5022",
"product_build": null,
"ip_address": "",
"volume_used": 1,
"machine_name": "",
"friendly_name": "",
"last_scanned_time": "2023-05-21T03:02:46.000-05:00",
"type": "dynamo",
"messageable": true,
"browser_extension_trial_given": false,
"push_notification_token": null,
"last_contacted_at": "2023-06-25T00:26:35.008+00:00",
"registered_at": "2019-11-11T11:51:20.000+00:00",
"redeemed_at": null
}
}
How can I update later? Sorry for my ignorance.
after updating to 4.5.11 the license doesn't work anymore can you please update it?