both Eaxact Audio Copy and cdex are considered very good rippers.
i think audiophiles prefer EAC.
for scratched discs there's various modes for re-reading the track many times untill it gets a consistent rip.
One Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them
In the land of Mordor, where the Shadows lie
M.C. Escher - Reptilien