Spoofing is a malicious practice that disguising as a legitimate source to gain sensitive information, or to gain access to…