I think I opened an unsafe unix exe file! Can anyone tell me what this file might've done?
Without analyzing the scripts etc you run nobody can tell what (if anything) happened to your computer. To recover the best course of action is to restore from a backup made before you opened the DMG.