Interms of Wikipedia
Pharming is a hacker's attack aiming to redirect a website's traffic to another, bogus website. Pharming can be conducted either by changing the hosts file on a victim’s computer or by exploitation of a vulnerability in DNS server software. DNS servers are computers responsible for resolving Internet names into their real addresses — they are the "signposts" of the Internet. Compromised DNS servers are sometimes referred to as "poisoned".
Diffrence Between Phishing and pharming
Pharming is like Phishing, the real login page will look the same and will steal your information but with one exception...the URL will be authentic to the real website. Meaning you will not know the difference between this and a real login page because the URL will not be any different and chances are if the malicious user who created it is experienced the source code will not be any different either.





