Final answer:
The correct answer to the question is C) collision attack. This type of attack is specifically designed to find two distinct inputs that result in the same hash output.
Step-by-step explanation:
The appropriate attack that sends two different messages using the same hash function, causing a collision, is a collision attack. A collision attack is a method used to find two distinct inputs that produce the same hash output, demonstrating a weakness in the hash function's ability to create unique hashes. It is different from the other attacks listed: a rainbow table attack is used for cracking password hashes using precomputed tables, a brute-force attack involves trying all possible combinations to find the correct input, and a birthday attack exploits the mathematical birthday paradox in probability to find collisions, but it is not specific to sending messages.