WTB: 1997-98 240sx

Can someone give me an idea as to what it would cost to fix the leak and the exuhst rattling? I’m thinking about buying the $5500 kouki on kijiji.