@@ -43,28 +43,38 @@ ipsw ent [flags]
4343
4444# Search PostgreSQL database (Supabase)
4545❯ ipsw ent --pg-host db.xyz.supabase.co --pg-user postgres --pg-password your-password --pg-database postgres --key sandbox
46+
47+ # Replace older iOS builds with newer ones
48+ ❯ ipsw ent --sqlite entitlements.db --ipsw iPhone16,1_26.0_22G87_Restore.ipsw --replace
49+
50+ # Preview what would be replaced
51+ ❯ ipsw ent --sqlite entitlements.db --ipsw iPhone16,1_26.0_22G87_Restore.ipsw --replace --dry-run
4652```
4753
4854### Options
4955
5056```
51- -f, --file string Search for file path pattern
52- --file-only Only output file paths
53- -h, --help help for ent
54- --input stringArray Folders of MachOs to analyze
55- --ipsw stringArray IPSWs to process
56- -k, --key string Search for entitlement key pattern
57- --limit int Limit number of results (default 100)
58- --pg-database string PostgreSQL database name
59- --pg-host string PostgreSQL host
60- --pg-password string PostgreSQL password
61- --pg-port string PostgreSQL port (default "5432")
62- --pg-sslmode string PostgreSQL SSL mode (disable, require, verify-ca, verify-full) (default "require")
63- --pg-user string PostgreSQL user
64- --sqlite string Path to SQLite database
65- --stats Show database statistics
66- -v, --value string Search for entitlement value pattern
67- --version string Filter by iOS version
57+ --dry-run Show what would be replaced without making changes
58+ -f, --file string Search for file path pattern
59+ --file-only Only output file paths
60+ -h, --help help for ent
61+ --input stringArray Folders of MachOs to analyze
62+ --ipsw stringArray IPSWs to process
63+ -k, --key string Search for entitlement key pattern
64+ --limit int Limit number of results (default 100)
65+ --pg-database string PostgreSQL database name
66+ --pg-host string PostgreSQL host
67+ --pg-password string PostgreSQL password
68+ --pg-poolmode string PostgreSQL pool mode (session, transaction, statement, or empty for no pooling)
69+ --pg-port string PostgreSQL port (default "5432")
70+ --pg-sslmode string PostgreSQL SSL mode (disable, require, verify-ca, verify-full) (default "require")
71+ --pg-user string PostgreSQL user
72+ --replace Replace older builds of the same iOS version with newer builds
73+ --replace-strategy string Replacement strategy: auto, prompt, force (default "auto")
74+ --sqlite string Path to SQLite database
75+ --stats Show database statistics
76+ -v, --value string Search for entitlement value pattern
77+ --version string Filter by iOS version
6878```
6979
7080### Options inherited from parent commands
0 commit comments