What did Satan know before he tempted Jesus?

Some people are telling me that Satan knew Jesus was just a mere man otherwise he would not even have tried to tempt Jesus because Satan knew, God cannot be tempted. I am saying, Satan did not know because all his temptations started with “IF you are the Son of God”. IF clearly indicating uncertainty.
I’m also told Satan knew who Jesus was because of Luke 8:28. I am saying that was AFTER Satan had learned from his unsuccessful temptation attempts that Jesus was not just a mere man.

Who is correct?

This link should give you the answers that you need. If you have any further questions or concerns that are not answered by this, please contact Catholic Answers directly.

**Recommended Reading:
**Did the devil know Jesus is God?

DISCLAIMER: The views and opinions expressed in these forums do not necessarily reflect those of Catholic Answers. For official apologetics resources please visit www.catholic.com.