Repairing a lightening cable

i have several lightening cables that need to be repaired. due to poor connection.

is there any parts the can be purchased (usb or lightening socket) , or repair guides to be followed in repair work ?

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0