A .dmg file for a Kontakt library usually contains the library's installer or the raw folder structure. Inside, you will find:
For the curious: The real power of Kontakt scripting is not hidden in a pirated disk image. It’s available through documentation, practice, and the generous sharing of knowledge within legitimate music tech communities.