Australian ports reopen after cyberattack