blacktop / ipsw

iOS/macOS Research Swiss Army Knife
https://blacktop.github.io/ipsw
MIT License
1.83k stars 144 forks source link

ipsw extract --dmg is missing "exc" option #565

Closed mduran80 closed 1 week ago

mduran80 commented 2 weeks ago

What happened?

The extract.DMG method supports extracting the "exc" DMG, however the option is not supported in the CLI cmd:

if !utils.StrSliceHas([]string{"app", "sys", "fs"}, viper.GetString("extract.dmg")) {
         return fmt.Errorf("invalid DMG type '%s' (must be: app, sys or fs)", viper.GetString("extract.dmg"))
}

How can we reproduce this?

Run "ipsw extract --dmg exc ", output will be:

⨯ invalid DMG type 'exc' (must be: app, sys or fs)

ipsw version

Version: 3.1.544, BuildCommit: bcbcb14f89eecd90ed9322b8c7b62773e04b2cbb

Search

Code of Conduct

Additional context

No response

blacktop commented 2 weeks ago

thank you for letting me know!

blacktop commented 1 week ago

pushed in latest release