hdiutil attach /path/to/InstallMacOSHighSierra.dmg shasum -a 1 /Volumes/Install\ macOS\ High\ Sierra/Install\ macOS\ High\ Sierra.app/Contents/SharedSupport/InstallESD.dmg
If both SHA-1 hashes match Apple's known values, your DMG is high quality. macos high sierra 10136 dmg high quality
For the ultimate quality check, use shasum or md5 in Terminal. A genuine, untouched 10.13.6 (Build 17G14042 – the final security update version) should have the following SHA-1 hash (verify this against current community databases): Test in a safe environment first:
(Note: Always check online forums like MacRumors for updated hash lists, as multiple "final" builds exist for different hardware). hdiutil attach /path/to/InstallMacOSHighSierra
How to check:
shasum -a 1 /path/to/your/macOS_High_Sierra_10.13.6.dmg
If the output matches established community hashes, you have a high-quality copy.