How to clone a website and browse offline

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 usage

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

# httrack www.example.com

 

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 HCK

susmith HCK

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. If you like all these stuffs add me on Facebook and Google plus.

7 thoughts on “How to clone a website and browse offline

  • July 8, 2016 at 12:35 am
    Permalink

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

    Reply
  • July 8, 2016 at 6:25 pm
    Permalink

    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 ..so i will save it on my blog for my future reference purpose only ..sorry for inconvenience

    Reply
    • susmith HCK
      July 8, 2016 at 10:37 pm
      Permalink

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

      Reply
      • July 8, 2016 at 10:58 pm
        Permalink

        ohk thnku for understanding 🙂

        Reply

Leave a Reply

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