A cookie is a small piece of text sent to your browser by a website when you visit. It contains information about your visit that you may want the site to remember. These cookies can be stored in your browser.you can see your cookies by typing the following script in your browser.
Session and session IDs:
Whenever we login to our account, our session starts and it will be ended when we press the logout button.i.e the duration between the login and logout can be called as a session.A session ID is a unique number that a Web site's server assigns a specific user for the duration of that user's visit(session ).
Procedure to steal cookies:
1. First download the Cookiestealer script from Here
2. Sign up for an account in any free webhosting site.
3. Upload all the scripts you have downloaded onto the free webhosting site and create an empty directiry and name it "cookies".
4. Give the code "yahoo.php" to your victim by using the following script and prompt him to run it in his browser.
6. After entering the password,it shows you the username of the account you have hijacked. Just click on it, you will be logged in.
NOTE: You can check try this by using two browsers. Take one browser as victim's and the second one as your's.
About The Author
This article is written by Srinivas , He is the owner of Hackinginceptio