-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS: Support getPidForAppId()
and stopApp()
without frida
capability
#46
Comments
|
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
OK, never mind. The SSH session I was using was to another device than the one I was connected via USB to. :D
|
Here's what the path looks like for a non-system app:
|
As for getting the path for an app ID, <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<dict>
<key>NSAdvertisingAttributionReportEndpoint</key>
<string>https://appsflyer-skadnetwork.com/</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>ROO_BT_PAYPAL_URL_SCHEME</key>
<string>com.deliveroo.orderapp.payments</string>
<key>NSLocationAlwaysUsageDescription</key>
<string>Your current location will be used to show you nearby restaurants.</string>
<key>DTPlatformVersion</key>
<string>15.2</string>
<key>branch_app_domain</key>
<string>deliveroo.app.link</string>
<key>DTSDKBuild</key>
<string>19C51</string>
<key>AppIdentifierPrefix</key>
<string>U7768A9YL6.</string>
<key>ROO_VERSION_NUMBER_PREFIX</key>
<string></string>
<key>IsHostBackupEligible</key>
<true/>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSCameraUsageDescription</key>
<string>Enable camera access to upload photos or scan cards</string>
<key>LSSupportsOpeningDocumentsInPlace</key>
<true/>
<key>GOOGLE_ANALYTICS_DEFAULT_ALLOW_AD_PERSONALIZATION_SIGNALS</key>
<false/>
<key>LSHasLocalizedDisplayName</key>
<true/>
<key>CFBundleDisplayName</key>
<string>Deliveroo</string>
<key>SignerIdentity</key>
<string>Apple iPhone OS Application Signing</string>
<key>CFBundleDocumentTypes</key>
<array/>
<key>DTXcodeBuild</key>
<string>13C100</string>
<key>Path</key>
<string>/private/var/containers/Bundle/Application/270C6DE3-9CFB-40F7-888E-F5D140A7AEBA/Deliveroo.app</string>
<key>EnvironmentVariables</key>
<dict>
<key>CFFIXED_USER_HOME</key>
<string>/private/var/mobile/Containers/Data/Application/6B93C293-8E67-4B96-91B8-85059EAF2586</string>
<key>TMPDIR</key>
<string>/private/var/mobile/Containers/Data/Application/6B93C293-8E67-4B96-91B8-85059EAF2586/tmp</string>
<key>HOME</key>
<string>/private/var/mobile/Containers/Data/Application/6B93C293-8E67-4B96-91B8-85059EAF2586</string>
</dict>
<key>CFBundleNumericVersion</key>
<integer>0</integer>
<key>SequenceNumber</key>
<integer>1064</integer>
<key>IsDemotedApp</key>
<false/>
<key>CFBundleIdentifier</key>
<string>com.deliveroo.orderapp</string>
<key>HasSettingsBundle</key>
<true/>
<key>UIDeviceFamily</key>
<array>
<integer>1</integer>
<integer>2</integer>
</array>
<key>ROO_URL_SCHEME</key>
<string>deliveroo</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>instagram</string>
<string>org-appextension-feature-password-management</string>
<string>googlegmail</string>
<string>fb</string>
<string>fbauth2</string>
<string>twitter</string>
<string>com.paypal.ppclient.touch.v1</string>
<string>com.paypal.ppclient.touch.v2</string>
<string>itms-beta</string>
<string>ms-outlook</string>
<string>ymail</string>
</array>
<key>FacebookDisplayName</key>
<string>Deliveroo</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleIcons</key>
<dict>
<key>CFBundleAlternateIcons</key>
<dict>
<key>PlusProduction</key>
<dict>
<key>CFBundleIconFiles</key>
<array>
<string>PlusProduction60x60</string>
</array>
<key>CFBundleIconName</key>
<string>PlusProduction</string>
</dict>
<key>PrideProduction</key>
<dict>
<key>CFBundleIconFiles</key>
<array>
<string>PrideProduction60x60</string>
</array>
<key>CFBundleIconName</key>
<string>PrideProduction</string>
</dict>
</dict>
<key>CFBundlePrimaryIcon</key>
<dict>
<key>CFBundleIconFiles</key>
<array>
<string>Production60x60</string>
</array>
<key>CFBundleIconName</key>
<string>Production</string>
</dict>
</dict>
<key>IsUpgradeable</key>
<true/>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>iPhoneOS</string>
</array>
<key>NSUserTrackingUsageDescription</key>
<string>We use this data to tailor the adverts we show on other sites</string>
<key>UIRequiresFullScreen</key>
<false/>
<key>CFBundleSignature</key>
<string>????</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>FacebookAutoLogAppEventsEnabled</key>
<false/>
<key>MinimumOSVersion</key>
<string>13.0</string>
<key>CFBundleName</key>
<string>Deliveroo</string>
<key>CFBundleShortVersionString</key>
<string>3.128.0</string>
<key>FacebookAutoInitEnabled</key>
<false/>
<key>UIBackgroundModes</key>
<array>
<string>remote-notification</string>
</array>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>arm64</string>
</array>
<key>CFBundleExecutable</key>
<string>Deliveroo</string>
<key>UIAppFonts</key>
<array>
<string>/Frameworks/ROOIKit.framework/stratosdeliveroo-semibold.otf</string>
<string>/Frameworks/ROOIKit.framework/IBMPlexSans-Bold.otf</string>
<string>/Frameworks/ROOIKit.framework/IBMPlexSans-Regular.otf</string>
</array>
<key>ApplicationType</key>
<string>User</string>
<key>UIViewControllerBasedStatusBarAppearance</key>
<true/>
<key>UIUserInterfaceStyle</key>
<string>Light</string>
<key>GOOGLE_ANALYTICS_REGISTRATION_WITH_AD_NETWORK_ENABLED</key>
<false/>
<key>FacebookAppID</key>
<string>715101428613026</string>
<key>ONE_TRUST_DOMAIN_ID</key>
<string>5ea969b7-29ee-4b3e-bd8f-e97ee26b1f4e</string>
<key>Container</key>
<string>/private/var/mobile/Containers/Data/Application/6B93C293-8E67-4B96-91B8-85059EAF2586</string>
<key>DTAppStoreToolsBuild</key>
<string>13E112</string>
<key>BuildMachineOSBuild</key>
<string>20G417</string>
<key>DTPlatformName</key>
<string>iphoneos</string>
<key>ApplicationDSID</key>
<integer>17631546433</integer>
<key>UIApplicationSceneManifest</key>
<dict>
<key>UIApplicationSupportsMultipleScenes</key>
<false/>
<key>UISceneConfigurations</key>
<dict>
<key>UIWindowSceneSessionRoleApplication</key>
<array>
<dict>
<key>UISceneDelegateClassName</key>
<string>Deliveroo.SceneDelegate</string>
<key>UISceneConfigurationName</key>
<string>Default Configuration</string>
</dict>
</array>
</dict>
</dict>
<key>branch_key</key>
<dict>
<key>test</key>
<string>key_test_fduik0Gl9pkJqPwDz703QhhowDp5cMgC</string>
<key>live</key>
<string>key_live_lhrlp2UlXnpICSvwxX55UcmlEvn9iVap</string>
</dict>
<key>CFBundleVersion</key>
<string>41096</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLName</key>
<string></string>
<key>CFBundleURLSchemes</key>
<array>
<string>deliveroo</string>
<string>fb715101428613026</string>
</array>
</dict>
<dict>
<key>CFBundleURLName</key>
<string></string>
<key>CFBundleURLSchemes</key>
<array>
<string>com.deliveroo.orderapp.payments</string>
</array>
</dict>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>fb715101428613026</string>
</array>
</dict>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLSchemes</key>
<array>
<string>prefs</string>
</array>
</dict>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLSchemes</key>
<array>
<string>com.googleusercontent.apps.605256070345-7p7gch612fgv41nll16glk35s2kguu32</string>
</array>
</dict>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLSchemes</key>
<array>
<string>com.googleusercontent.apps.819538658905-ga2g9q9huoc538ghdl5lfs2449dqvv8j</string>
</array>
</dict>
</array>
<key>DTSDKName</key>
<string>iphoneos15.2</string>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSExceptionDomains</key>
<dict>
<key>akamaihd.net</key>
<dict>
<key>NSThirdPartyExceptionRequiresForwardSecrecy</key>
<false/>
<key>NSIncludesSubdomains</key>
<true/>
</dict>
<key>googleapis.com</key>
<dict>
<key>NSThirdPartyExceptionRequiresForwardSecrecy</key>
<false/>
<key>NSIncludesSubdomains</key>
<true/>
</dict>
<key>fbcdn.net</key>
<dict>
<key>NSThirdPartyExceptionRequiresForwardSecrecy</key>
<false/>
<key>NSIncludesSubdomains</key>
<true/>
</dict>
<key>facebook.com</key>
<dict>
<key>NSThirdPartyExceptionRequiresForwardSecrecy</key>
<false/>
<key>NSIncludesSubdomains</key>
<true/>
</dict>
<key>api2.checkout.com</key>
<dict>
<key>NSThirdPartyExceptionRequiresForwardSecrecy</key>
<false/>
<key>NSIncludesSubdomains</key>
<false/>
</dict>
</dict>
</dict>
<key>Entitlements</key>
<dict>
<key>aps-environment</key>
<string>production</string>
<key>com.apple.developer.associated-domains</key>
<array>
<string>webcredentials:deliveroo.co.uk</string>
<string>webcredentials:deliveroo.ae</string>
<string>webcredentials:deliveroo.be</string>
<string>webcredentials:deliveroo.com.sg</string>
<string>webcredentials:deliveroo.com.au</string>
<string>webcredentials:deliveroo.es</string>
<string>webcredentials:deliveroo.fr</string>
<string>webcredentials:deliveroo.de</string>
<string>webcredentials:deliveroo.hk</string>
<string>webcredentials:deliveroo.ie</string>
<string>webcredentials:deliveroo.it</string>
<string>webcredentials:deliveroo.nl</string>
<string>webcredentials:deliveroo.tw</string>
<string>webcredentials:deliveroo.com.kw</string>
<string>applinks:deliveroo.co.uk</string>
<string>applinks:deliveroo.ae</string>
<string>applinks:deliveroo.be</string>
<string>applinks:deliveroo.com.sg</string>
<string>applinks:deliveroo.com.au</string>
<string>applinks:deliveroo.es</string>
<string>applinks:deliveroo.fr</string>
<string>applinks:deliveroo.de</string>
<string>applinks:deliveroo.hk</string>
<string>applinks:deliveroo.ie</string>
<string>applinks:deliveroo.it</string>
<string>applinks:deliveroo.nl</string>
<string>applinks:deliveroo.tw</string>
<string>applinks:deliveroo.com.kw</string>
<string>applinks:deliveroo.app.link</string>
<string>applinks:deliveroo.onelink.me</string>
<string>applinks:campaign.deliveroo.com</string>
<string>applinks:deliveroo.bttn.io</string>
<string>applinks:deliveroo.prf.hn</string>
</array>
<key>com.apple.developer.applesignin</key>
<array>
<string>Default</string>
</array>
<key>com.apple.developer.team-identifier</key>
<string>U7768A9YL6</string>
<key>application-identifier</key>
<string>U7768A9YL6.com.deliveroo.orderapp</string>
<key>com.apple.developer.in-app-payments</key>
<array>
<string>merchant.com.deliveroo.orderapp</string>
<string>merchant.com.deliveroo.orderapp2</string>
<string>merchant.com.deliveroo.worldpay</string>
<string>merchant.com.deliveroo.checkout.staging</string>
</array>
<key>keychain-access-groups</key>
<array>
<string>U7768A9YL6.com.deliveroo.orderapp.DeliverooWidget</string>
</array>
</dict>
<key>DTPlatformBuild</key>
<string>19C51</string>
<key>DTXcode</key>
<string>1321</string>
<key>IsAppClip</key>
<false/>
<key>NSPhotoLibraryUsageDescription</key>
<string>Enable access to upload photos</string>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
</array>
</dict>
<dict>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>arm64</string>
</array>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>Entitlements</key>
<dict>
<key>com.apple.security.application-groups</key>
<array>
<string>group.com.wireguard.ios</string>
</array>
<key>com.apple.developer.networking.networkextension</key>
<array>
<string>packet-tunnel-provider</string>
</array>
<key>application-identifier</key>
<string>L82V4Y2P3C.com.wireguard.ios</string>
<key>com.apple.developer.team-identifier</key>
<string>L82V4Y2P3C</string>
<key>com.apple.developer.networking.wifi-info</key>
<true/>
</dict>
<key>DTPlatformVersion</key>
<string>16.2</string>
<key>com.wireguard.ios.app_group_id</key>
<string>group.com.wireguard.ios</string>
<key>CFBundleName</key>
<string>WireGuard</string>
<key>DTSDKName</key>
<string>iphoneos16.2</string>
<key>DTAppStoreToolsBuild</key>
<string>14C17</string>
<key>ApplicationType</key>
<string>User</string>
<key>GroupContainers</key>
<dict>
<key>group.com.wireguard.ios</key>
<string>/private/var/mobile/Containers/Shared/AppGroup/58815C5D-0A4C-4D8B-AFED-AB849370EB09</string>
</dict>
<key>CFBundleIcons</key>
<dict>
<key>CFBundlePrimaryIcon</key>
<dict>
<key>CFBundleIconFiles</key>
<array>
<string>AppIcon60x60</string>
</array>
<key>CFBundleIconName</key>
<string>AppIcon</string>
</dict>
</dict>
<key>IsAppClip</key>
<false/>
<key>Container</key>
<string>/private/var/mobile/Containers/Data/Application/B5B199DD-5E26-4873-9448-4D60EF9F3A90</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>CFBundleDisplayName</key>
<string>WireGuard</string>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeName</key>
<string>WireGuard wg-quick configuration file</string>
<key>CFBundleTypeExtensions</key>
<array>
<string>conf</string>
</array>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSItemContentTypes</key>
<array>
<string>com.wireguard.config.quick</string>
</array>
<key>CFBundleTypeIconFiles</key>
<array>
<string>wireguard_doc_logo_22x29.png</string>
<string>wireguard_doc_logo_44x58.png</string>
<string>wireguard_doc_logo_64x64.png</string>
<string>wireguard_doc_logo_320x320.png</string>
</array>
<key>LSHandlerRank</key>
<string>Default</string>
</dict>
<dict>
<key>CFBundleTypeName</key>
<string>Zip file</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSItemContentTypes</key>
<array>
<string>com.pkware.zip-archive</string>
</array>
<key>LSHandlerRank</key>
<string>Alternate</string>
</dict>
<dict>
<key>CFBundleTypeName</key>
<string>Text file</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSItemContentTypes</key>
<array>
<string>public.text</string>
</array>
<key>CFBundleTypeIconFiles</key>
<array/>
<key>LSHandlerRank</key>
<string>Alternate</string>
</dict>
</array>
<key>DTSDKBuild</key>
<string>20C52</string>
<key>NSCameraUsageDescription</key>
<string>Localized</string>
<key>CFBundleShortVersionString</key>
<string>1.0.16</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>iPhoneOS</string>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>BuildMachineOSBuild</key>
<string>22D49</string>
<key>SignerIdentity</key>
<string>Apple iPhone OS Application Signing</string>
<key>EnvironmentVariables</key>
<dict>
<key>CFFIXED_USER_HOME</key>
<string>/private/var/mobile/Containers/Data/Application/B5B199DD-5E26-4873-9448-4D60EF9F3A90</string>
<key>TMPDIR</key>
<string>/private/var/mobile/Containers/Data/Application/B5B199DD-5E26-4873-9448-4D60EF9F3A90/tmp</string>
<key>HOME</key>
<string>/private/var/mobile/Containers/Data/Application/B5B199DD-5E26-4873-9448-4D60EF9F3A90</string>
</dict>
<key>MinimumOSVersion</key>
<string>15.0</string>
<key>DTPlatformBuild</key>
<string>20C52</string>
<key>IsDemotedApp</key>
<false/>
<key>CFBundleVersion</key>
<string>27</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>SequenceNumber</key>
<integer>1072</integer>
<key>ApplicationDSID</key>
<integer>17631546433</integer>
<key>IsUpgradeable</key>
<true/>
<key>DTXcodeBuild</key>
<string>14C18</string>
<key>UTExportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeIdentifier</key>
<string>com.wireguard.config.quick</string>
<key>UTTypeIconFiles</key>
<array>
<string>wireguard_doc_logo_22x29.png</string>
<string>wireguard_doc_logo_44x58.png</string>
<string>wireguard_doc_logo_64x64.png</string>
<string>wireguard_doc_logo_320x320.png</string>
</array>
<key>UTTypeDescription</key>
<string>WireGuard wg-quick configuration file</string>
<key>UTTypeConformsTo</key>
<array>
<string>public.text</string>
</array>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<string>conf</string>
</dict>
</dict>
</array>
<key>UIDeviceFamily</key>
<array>
<integer>1</integer>
<integer>2</integer>
</array>
<key>CFBundleNumericVersion</key>
<integer>654344192</integer>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>LSSupportsOpeningDocumentsInPlace</key>
<false/>
<key>CFBundleIdentifier</key>
<string>com.wireguard.ios</string>
<key>DTXcode</key>
<string>1420</string>
<key>ITSDRMScheme</key>
<string>v2</string>
<key>CFBundleExecutable</key>
<string>WireGuard</string>
<key>IsHostBackupEligible</key>
<true/>
<key>Path</key>
<string>/private/var/containers/Bundle/Application/44FD2D07-02ED-4A63-95B3-1F2CFC95D3AC/WireGuard.app</string>
<key>UISupportedDevices</key>
<array>
<string>iPhone10,2</string>
<string>iPhone10,3</string>
<string>iPhone10,5</string>
<string>iPhone10,6</string>
<string>iPhone11,2</string>
<string>iPhone11,4</string>
<string>iPhone11,6</string>
<string>iPhone12,3</string>
<string>iPhone12,5</string>
<string>iPhone13,1</string>
<string>iPhone13,2</string>
<string>iPhone13,3</string>
<string>iPhone13,4</string>
<string>iPhone14,2</string>
<string>iPhone14,3</string>
<string>iPhone14,4</string>
<string>iPhone14,5</string>
<string>iPhone14,7</string>
<string>iPhone14,8</string>
<string>iPhone15,2</string>
<string>iPhone15,3</string>
<string>iPhone8,2</string>
<string>iPhone9,2</string>
<string>iPhone9,4</string>
</array>
<key>NSFaceIDUsageDescription</key>
<string>Localized</string>
<key>DTXcodeBuildDistribution</key>
<string>14C18</string>
<key>DTPlatformName</key>
<string>iphoneos</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
</dict>
</array>
</plist> |
Well, this is easier with pymobiledevice3.
|
Currently,
getPidForAppId()
andstopApp()
rely on Frida. It should be possible to alternatively do the same using thessh
capability.The text was updated successfully, but these errors were encountered: