You lucky lucky bugger!!!
I had to go through hell to source the correct pins in the plug for the speedo and even more grief to find a supplier! Not to mention the $300 crimping tool!!!
The plug on the Adventure tripmaster is different to the one that you have shown too, it is not an inline plug, Seems KTM chop and change things a bit. The wiring diagrams in the service manual do not even replicate the reality on the bike.
Looking at your pics the adventure tripmaster (the model I bought anyway) would not work with that connector.
As a matter of interest can you trace what pin numbers the wires and their colours go back to on the main speedo/connector?