Looks like your shaft seal has failed. Usually happens when the pump runs dry for a while due to low water, full skimmer, etc. After that happens, water is allowed out of the wet end and to the motor.
Has the motor failed or is it noisy? If not, a rusty motor case is just that.
If you'd like to replace the motor, you're looking for a 1hp round flange motor and PS-201 or equivalent shaft seal. Also will need housing and diffuser gaskets for Hayward Super Pump. Those pumps are pretty tough, so impeller, seal plate, and motor plate are typically reusable. Use an impact gun to get the corroded bolts out.