05 mb clk500 convert

trans in limp,shifter works but only moves in neutral--found oil in connector plug and trans fluid very dirty. how do i find modual thats connected to wire loom coming from trans plug so i can check for oil coming from loom on trans to control modual ?