It's not easy to broadcast to mars. They use the deep space network of satellite dishes for that. I doubt it's something an amateur can do. The frequency is the X band, but I couldn't find info on the protocol.
Also Opportunity is still active and they use the same protocol, and they probably won't want you messing with that :)
Also Opportunity is still active and they use the same protocol, and they probably won't want you messing with that :)