If the cable is rusted out at bottom.
You only need to buy about 2 ft of new cable. two connectors. (all from home depot at hardware department) replace the bottom part of the cable.
If you need to replace it. You have to replact it with same diameter cable as old one. otherwise the door may not work properly.