1997 ford escort lx. Motor knocking, wont idle good.

$600 obo.

I’m guessing something broke inside the motor… piston rod or something.
Exhaust leaks (bit loud, probably the flex pipe). Car is relatively solid other wise…