Skip to content

stealth: discover importer + storekit in diagnostics#12

Merged
Evil0ctal merged 1 commit into
mainfrom
feat/m5d-cookie-hunt
May 6, 2026
Merged

stealth: discover importer + storekit in diagnostics#12
Evil0ctal merged 1 commit into
mainfrom
feat/m5d-cookie-hunt

Conversation

@Evil0ctal
Copy link
Copy Markdown
Owner

what

m5c probe ended with cookies=0 on the user's ios 15.8 device — apple
rejects every storefront request with failureType 2034 because no session
state was attached. the next iteration needs to know exactly where
storeaccountd keeps cookies on this ios.

changes

  • StealthDiagnosticsView now probes all 5 importers including the
    StoreKitImporter (forgotten in m5c)
  • FilesystemDiscoveryImporter (path E) is diagnostic-only. always throws
    with a multi-line dump of:
    • every probed cookie file candidate (exists/missing + size)
    • every probed accountInfo candidate
    • top-level listings of /var/mobile/Library/Cookies, .../com.apple.itunesstored,
      .../Caches/com.apple.itunesstored, Preferences, InternalDaemon
    • any InternalDaemon// container whose MCMMetadataIdentifier
      mentions store/itunes/appstore

test

  • xcodebuild Debug + Release archive both green, lint clean
  • on real device: stealth diagnostics report now includes a path E
    with a multi-line filesystem listing, telling us exactly where
    storeaccountd actually keeps cookies on this ios.

next

m5e: take the path E output, pick the real cookies path, wire it into
FileSystemImporter.

m5c probe on ios 15.8 ended up with cookies=0 even though path B's
storeRoot existed. previous diagnostics view also forgot to surface the
new StoreKitImporter so the report still showed path D as "skipped".

* StealthDiagnosticsView now probes all five paths: accountsd / filesystem
  / keychain / storekit / discover.
* FilesystemDiscoveryImporter (path E) is diagnostic-only — always throws
  with a multi-line dump showing every probed cookie + accountInfo
  candidate (existence + size), top-level listings of likely directories,
  and any /var/mobile/Containers/Data/InternalDaemon/<UUID>/ container
  whose MCMMetadataIdentifier mentions store/itunes/appstore. tells us
  exactly where storeaccountd actually keeps state on this ios.

next iteration uses the discover output to pick the right cookies file.
@Evil0ctal Evil0ctal merged commit f532e1c into main May 6, 2026
3 checks passed
@Evil0ctal Evil0ctal deleted the feat/m5d-cookie-hunt branch May 6, 2026 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant