Cloaking is the technique in which the content presented in search engine spider is different from that of the information presented to the browser.This is one of the blackhat techniques.Doorway pages refers to the technique in which inserting the result of one particular phrase while sending visitor to different page.
Cloaking is a search engine optimization technique in which content presented to the search engine spider is the difference from the presented to the user's browser. This is done by IP address and user request HTTP header of the request page.
Doorways pages are defined as low-quality pages used optimized to rank well for specific keywords that act as a door between users and content. They used to increase little value to visitors and serve the sole purpose of boosting SEO value.