we need to create 2 files. 1 is hack.php you can copy and past below and 1 empty file called phish.log
how we can go to gmail.com and press control (command on mac) and s to save the page.
now we can open the file.htm with notepad and find the <form and on the same line change the action to hack.php.
Then you can find the inputes for email and password and change the name to name for the email input and pass for the password input.
now all you need to do is to make sure that your victim opens that page and trys to login.