This tutorial will give you an idea on website cloning. Cloning a website doesn’t means importing whole server to our system. It only consist of client side scripts like java and html. Server side scripts like PHP cannot be imported (its common sense). The clone looks exactly the same and with the same functionality. Cloning can be really useful for hackers and as well as normal users.

You can browse offline through a cloned website in your own system without internet. For a normal user this is a cool feature but for a hacker this can be useful in reconnaissance. By surfing through the pages and directories you can figure out how the site works and the directory details in much simple manner. Sometimes scanning a live website may not be possible because some protected servers can drop multiple request generated by the scanner or a browser.

We have a specific tool in kali linux for cloning the website called “httrack”. It allows you to download a World Wide Web site from the Internet to a local directory, building recursively all directories, getting HTML, images, and other files from the server to your computer. HTTrack arranges the original site’s relative link-structure. Simply open a page of the “mirrored” website in your browser, and you can browse the site from link to link, as if you were viewing it online. HTTrack can also update an existing mirrored site, and resume interrupted downloads.

Demo video



Httrack have pretty simple command line interface with various options. Use the command below to clone a site.

# httrack


Any doubts or questions? post it on the comment section below. If you like this blog give me a like on facebook and add me on google plus. Subscribe my youtube channel for video tutorials.

Susmith Krishnan

I’m a computer enthusiast basically and i love to write blogs on tech issues and cyber security. I started penetration testing at the age of 16 and i would like to explore security vulnerabilities and latest tech news and wanna share with you


Ezekiel · July 8, 2016 at 12:35 am

I have a Windows OS. Can I use it to clone?

Shasi · July 8, 2016 at 6:25 pm

Sorry i’m copied post’s on ur blog…. i have deleted both colneing website, and sql database ……..i’m using my blog is only for me ..i will find things on net i will save it on my blog for my future reference purpose only ..sorry for inconvenience

    susmith HCK · July 8, 2016 at 10:37 pm

    you can use it publically no problem but, just provide the source link. 🙂

      Shasi · July 8, 2016 at 10:58 pm

      ohk thnku for understanding 🙂

ralph · July 18, 2016 at 2:36 pm

There is the standalone application that one can download from ,can one use it as well to clone and browse offline?

Sne · February 21, 2017 at 3:17 pm

Hi, if i want to clone a website like facebook or gumtree, does httrack clone all registered users and the pages they have created?

    susmith HCK · February 21, 2017 at 5:59 pm

    yes, You can clone all static pages that the users have created. but not something that loads randomly using server side script.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.