When Max was a kitten, he had a HUGE problem with attacking people. He acted like he was half wild or something. He would attack me, my boyfriend, GUESTS, it didn't matter. And he wasn't playing either, he was mad when he'd do it. We finally ended up buying a rabbit cage; we put a bed in there and toys along with a small litter box. Whenever he'd get in that frame of mind, we just put him in the cage and left him there for awhile until he calmed down. It was the only thing I could think to do because he was really hurting people. He would at times latch himself onto my leg and I could literally walk from room to room with him still attached! He was nuts!
We have since been able to stop using the cage. lol
For attacking dogs, we had a tiny problem with that as well when he was a kitten. At the time, we had a Golden, named Montana and Max liked to mess with him. He's run and jump on Montana's back attacking him. He just let Montana deal with it by flinging him off. He didn't do it all that much as I guess being flung across the room wasn't too pleasant for him. lol
Also Max started to calm down when we brought Gus home (our other cat). Max really showed a lot of patience with him and basically took care of Gus. We were leary about adding a second cat with Max's temperament, we were afraid that Max would try to kill Gus or something...lol...but instead Max adopted the "big brother" attitude. It was weird. They are still best buddies.