Using a HUB, you are using standard straight connection RJ-45 patch cords.
4 twisted pairs cable (Grade #5 or better)
RJ45 Connectors
If you wish, you can use coaxial cable (RG-58 A / U) with BNC connectors
Direct Connect
When you are direct connecting (meaning networking only 2 computers, without
using a HUB), you need a cross-connect patch cord.
Here is the pinout for such a patch cord: