Pinout: https://shapeokoenthusiasts.gitbook.io/shapeoko-cnc-a-to-z/anatomy-of-a-shapeoko#controller-board
6-pin: https://www.molex.com/molex/products/part-detail/pcb_receptacles/0447640603
4-pin: https://www.molex.com/molex/products/part-detail/pcb_headers/0026604040
Search the forum for “Molex” for more information.