There is no mechanism to export attachments per se unfortunately. All attachments are stored within the content repository using Apache Jackrabbit, so you could get someone who has knowledge in that to decipher it.
Typically in product migration scenarios, attachments (and historical data) are typically excluded from record migration. It's just too complicated/time-consuming/expensive to do for what worth there is. /2cents.