Kac-Moody spectrum of (half-) maximal supergravities