Note: This Post Is Only For Educational Purpose.
What Is Man In The Middle Attack?
In the computer security man in the middle attack,is the attack in which attacker alter the communication between the two persons who believe that they are communication which each other correctly and directly.
For Example:
Suppose that Ahmed want to communicate with Ali.On the other hand Ali also wants to communicate with Ahmed,meanwhile attacker want to intercept the communication between Ahmed and Ali.
If Ahmed asks to Ali for his public key and there is a man in the middle of their conservation,the attacker can change the message from Ahmed to Ali.The attacker can see the public key which Ahmed sent to Ali.