Right angle oil filter adapter

I used a 3/8" drive ratchet and extension to remove my adapter. The inside of the adapter bolt is square.