I found this table on the curb a while back, less the leg hardware. No a relative could use it, and I’m wondering how to fix it up.
Cut a couple 2x4 sections to fill the truncated-triangular area and screw through them into all surfaces?
The legs have a hollow center drilled out, at the top, so I assume some metal piece with threaded holes fit there, and a metal plate anchored that to the skirt (?).
Another view:



Cheap option: Put wood glue between the leg and those 2 boards and use clamps or a ratchet strap to hold it square utill it dries. Then cut down a piece of 2x4 (or whatever you have) to fit in the corner, and glue that in. Once dried, it should be as sturdy as the original hardware. With the downside of it being a permanent attachment.
I mean if we’re getting this jerry rigged why not just ratchet strap the leg on?
Never took wood shop I guess? A properly glued joint is stronger than the wood itself.