Looking for Something? Search Afriwap now!!!
Add to Flipboard Magazine. | |

How to Clone any website (And how to protect your site from being cloned)

Author Topic: How to Clone any website (And how to protect your site from being cloned)  (Read 3152 times)

0 Members and 1 Guest are viewing this topic.

Offline Timi Dapsin

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,505
  • Today is that tomorrow you worried about yesterday
    • View Profile

Have you heard of Httrack? :)
Guess what it does
 HTTrack is a free (GPL, libre/free software) and easy-to-use offline browser utility.
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.

Most people use it to steal contents, design and create a clone of another site
Note, this Tutorial is for Educational purposes only

How to set up HTTrack
Firstly Download HTTrack here
Run and Install

Easy to use interface and powerful options allows you to control precisely your mirror sessions.

HTTrack Website Copier snapshot #1
 Select a project name to organize your downloads...

HTTrack Website Copier snapshot #2
 Type or drag&drop one or several Web addresses...

HTTrack Website Copier snapshot #3
 You can use powerful options to precisely define what do you want to do

HTTrack Website Copier snapshot #4
 For example, filters is a powerful way to select or refuse selective links

HTTrack Website Copier snapshot #5
 You can, if you want, automatically connect to a provider, and schedule the mirror

HTTrack Website Copier snapshot #6
 Now HTTrack Website Copier is working..

HTTrack Website Copier snapshot #7
 And finally, check the result locally!

 You do not need to be online anymore to browse your favorite website. Besides, you can share this Website with your friends, or copy it for them, and then browse it without the need of installing HTTrack Website Copier.
 Have fun with HTTrack Website Copier!

The best way to prevent Httrack from gaining access to your site is to block it using .htaccess

You may have the ability to add and or modify an htaccess file on your server.  The htaccess file can be used to control the bots at the server level. 
Add the below code to the .htaccess file on your server to block specific bots from visiting your site.  Be sure to replace the Enter User Agent with the user-agents for the bots you would like to block simliar to the user-agent (HTTrack) listed in the example below. 
Code: [Select]
SetEnvIfNoCase User-Agent ^$ bad_bot #leave this for blank user-agents
 SetEnvIfNoCase User-Agent "^HTTrack" bad_bot
 SetEnvIfNoCase User-Agent "^Enter User-Agent" bad_bot
 SetEnvIfNoCase User-Agent "^Enter User-Agent" bad_bot
 SetEnvIfNoCase User-Agent "^Enter User-Agent" bad_bot
 SetEnvIfNoCase User-Agent "^Enter User-Agent" bad_bot
 Order Allow,Deny
 Allow from all
 Deny from env=bad_bot

« Last Edit: August 08, 2014, 01:09:04 AM by Timi Dapsin »


Other Topics To Read

Powered by EzPortal