I will try to give a full picture on firesheep..
Wireless packets are encrypted using WEP/WPA keys. On a public wifi connection, the packets that are sent and back forth are unencrypted. The unencrypted wifi packets are perfectly normal and not the focus of the problem here.
A wireless card set in promiscuous mode would be able to sniff all the packets in the network. As by default HTTP packets are not encrypted, session cookies can be stolen making it possible to hijack sessions. Okay this scenario has been known for several years now, but the tool to make this look easy was not available. Firesheep exactly did that. The focus of the problem is popular sites(Facebook, Twitter) not offering HTTPS by default and the author made the tool and made it public to force these sites.
Remember that the scenario is same for all other tcp protocols that do not use SSL layer - ftp, pop, smtp, imap etc and so on. Believe me its not hard to write a tool for sniffing passwords and I am sure there are plenty available now(cain and abel?).
Regarding the working.. I think its pretty simple
1)Steal the cookie from HTTP requests
2)Send a new request to the site with the stolen cookie








GPEN - GIAC Certified Penetration Tester : Karen Millen Outlet as an example SFTP





