I don't weld, and I didn't hammer anything. See " target="_blank" target="_blank
I unbolted the stuff, made a block-off for the exhaust piece bottom from a rectangular piece of metal (I used a Simpson Strong-Tie from Home Depot and cut it shorter), rounded off the corners, drilled two holes in it for bolts to pass through, and bolted that on where this tube connected (bottom of this photo).
Here's a photo, as bolted on my truck; the hole at the left in the photo is for the dipstick (I removed that for the photo).