First create a folder. here I'am created a folder named website.
Next step is open terminal.
For cloning we are using the command 'wget'. So first we can check the options available in wget by using the command ,
wget -h
In the above pictures we can understand the options available in 'wget'. To clone a website first we need to change the directory to our website directory.
Now we need a website for cloning. I'm here using the website "www.kali.org"
we use the command,
wget -mk http://www.google.com
Now check the folder.
here we got all the files and folders inside google.com including its index.html. By using this we can fake the local network as google .com and retrieve the data of others. use this information only for educational purposes.