Yeah, in the past I've just replaced the rotten parts. I once had to limp home from BG because my rear brake line failed. Wasn't fun and the repair was annoying but relatively straight forward.
It's an afternoon job really and maybe a hundred or so in parts if you screw up the line much.
If you are broke, knowing how to fix cars will be the difference between being broke and being in debt.
All that being said, the most reputable shop I know of would suggest you to junk it or do it yourself as the time invested for them makes them feel as if they are ripping you off.