mwpcheung / gsalogin

iOS/macOS login algorithm gsa
MIT License
61 stars 23 forks source link

plz, I want to get successful capture(.png) and code details. #8

Open KJY5713 opened 2 years ago

KJY5713 commented 2 years ago

Thank you for your hard work.

  1. Can I see your successful capture?

  2. I want to apply it to another phone, but please let me know in detail what value I need to modify and implemented.

  3. It doesn't work in iOS 12.3.1 image Request 1 and Response 1 is successful. But Response 2 is failed. How can I do for it?

mwpcheung commented 2 years ago

for iOS 10--13 jailbroken device | macos ensure charless/fildder works well, launch AppStore, then search UDID ,IMD IMD-M replace them from yours, IMD pairs only one-minitue available for testing. for windows itunes ensure charless/fildder works, launch iTunes, search UDID , fill up udid,imd,imdm you search for yourself load authkit framework, IMD pairs:

-(NSDictionary)handleOnCommandCalcIMDMIMD:(NSDictionary) dict

{

NSString* name = [[NSProcessInfo processInfo]processName];

Class akClass = NSClassFromString(@"AKAnisetteProvisioningController");

*if* (akClass ==*nil*){

    DebugPrint(@"no AKAnisetteProvisioningController");

    *return* @{@"status":@"can't find AKAnisetteProvisioningController"}

;

}

AKAnisetteProvisioningController* ak = [[akClass alloc] init];

NSError* error = *nil*;

AKAnisetteData* akdata  = [ak anisetteDataWithError:&error];

NSMutableDictionary* resp = [[NSMutableDictionary alloc] init];

resp[@"imdm"] = base64Decode(akdata.machineID);

resp[@"imd"] = base64Decode(akdata.oneTimePassword);

resp[@"imdr"] = [NSNumber numberWithInt:akdata.routingInfo];

resp[@"status"] = @"success";

*return* resp;

}

AKAnisetteProvisioningController from dlopen( "/System/Library/PrivateFrameworks/AuthKit.framework/AuthKit",RTLD_NOW);

UDID

Class AKDeviceClass = NSClassFromString(@"AKDevice");

AKDevice* device = [AKDeviceClass currentDevice];

NSString* UDID = [device uniqueDeviceIdentifier];

KJY5713 @.***> 于2022年1月12日周三 13:05写道:

It doesn't work in iOS 12.3.1

[image: image] https://user-images.githubusercontent.com/71558028/149067127-0214802f-3534-4558-91a4-12a4126c6179.png Request 1 and Response 1 is successful. But Response 2 is failed. How can I do for it?

— Reply to this email directly, view it on GitHub https://github.com/mwpcheung/gsalogin/issues/8#issuecomment-1010639210, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABKC46CX5R2KRGXWNYHFVCLUVUDZ3ANCNFSM5LYARXHQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>