The magnetic properties of superconducting alloys