Do you have a multi-meter? If so you can disconnect another stepper and meter out the wiring to find out which pins go to which motor wires.

- Nick