Trick: Clone any website from the server side

  • You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

  • You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

Gentle Man

New member
Jan 20, 2021
27
20
3
Welcome guys in this tutorial I will teach you how to clone any website in just minute
1- Create file with name index.php
Copy and paste this code
PHP:
You don't have permission to view the code content. Log in or register now.
Save and close index.php file

2- change example.com with URL you're need clone
Upload file to your hosting and go to your domain

That's all . Enjoy
 
Last edited:

lalbilla

Active member
Null Master
Trusted Uploader
Dec 7, 2020
125
233
43
freelancerautobidder.com
Welcome guys in this tutorial I will teach you how to clone any website in just minute
1- Create file with name index.php
Copy and paste this code
PHP:
You don't have permission to view the code content. Log in or register now.
Save and close index.php file

2- change example.com with URL you're need clone
Upload file to your hosting and go to your domain

That's all . Enjoy
First: link should be with https://

2nd!
Using PHP CURL is better option which you can use fake referral, custom header and other small things.
And also, you need to replace original website link with your own, so incase someone click on that link it won't redirect to original server.

with 2 line code it's not going to clone.

Thanks,
 

Lirik

Active member
Babiato Lover
Trusted Uploader
Mar 19, 2021
184
118
43
lirikqosidah.com
So the complete code is...? 😁
First: link should be with https://

2nd!
Using PHP CURL is better option which you can use fake referral, custom header and other small things.
And also, you need to replace original website link with your own, so incase someone click on that link it won't redirect to original server.

with 2 line code it's not going to clone.

Thanks,
 
Last edited:

captain.bkx

Active member
May 3, 2022
176
112
43
First: link should be with https://

2nd!
Using PHP CURL is better option which you can use fake referral, custom header and other small things.
And also, you need to replace original website link with your own, so incase someone click on that link it won't redirect to original server.

with 2 line code it's not going to clone.

Thanks,
AAothe complete code is...? 😁

Yeah, waiting for complete code from @lalbilla 😄😁
 

Ighalo87

Active member
Jan 18, 2020
306
37
28
Welcome guys in this tutorial I will teach you how to clone any website in just minute
1- Create file with name index.php
Copy and paste this code
PHP:
You don't have permission to view the code content. Log in or register now.
Save and close index.php file

2- change example.com with URL you're need clone
Upload file to your hosting and go to your domain

That's all . Enjoy
Is this still working
 

zemag

Active member
Trusted Uploader
May 16, 2022
242
139
43
I've tried this but because of the html source that we want to 'clone' are using relative path making the 'clone' site broken. All assets sources (mostly images and scripts) are pointing to the wrong url which is new domain url instead of the old one.

I know this could be solved by doing some rework on the code, like find and replace those relative path to absolute path of the site that we want to be cloned.
 

Ighalo87

Active member
Jan 18, 2020
306
37
28
I've tried this but because of the html source that we want to 'clone' are using relative path making the 'clone' site broken. All assets sources (mostly images and scripts) are pointing to the wrong url which is new domain url instead of the old one.

I know this could be solved by doing some rework on the code, like find and replace those relative path to absolute path of the site that we want to be cloned.
Please if you later find a fix Can you post the code
 

thambyz

Member
Mar 18, 2021
39
9
8
You can use Httrack software, you can clone complete website along with inner pages with working menu if it is a simple static site.
 
  • Like
Reactions: Siscoks

Ighalo87

Active member
Jan 18, 2020
306
37
28
You can use Httrack software, you can clone complete website along with inner pages with working menu if it is a simple static site.
Have not been able to successfully use this software. ... It just keep scraping and scraping and never end... sometimes the file is as high as 10 gig before I cancel.
 

thambyz

Member
Mar 18, 2021
39
9
8
Have not been able to successfully use this software. ... It just keep scraping and scraping and never end... sometimes the file is as high as 10 gig before I cancel.
As i said, it is good if it is a simple static site. You can use rules to ignore some parts or set link depth for scraping etc. I used it around 2 years ago and it was good at cloning. It also adds something like "Cloned by httrack" line in html files but you can disable or change that from settings
 

kelley Mak Sec

Active member
May 4, 2022
184
89
28
can anyone help me with one question
If we clone complete website then is it possible to host on live server.. what about sql db???
Pls need assistance
 

Gentle Man

New member
Jan 20, 2021
27
20
3
can anyone help me with one question
If we clone complete website then is it possible to host on live server.. what about sql db???
Pls need assistance
This works as a webview only and you cannot host it in your own server .
Also, you cannot control the SQL
If you have average knowledge of php You can edit and change the logo and some content
 
  • Like
Reactions: kelley Mak Sec
AdBlock Detected

Hi bro. Can you please help us?

I know the ads sometimes are too annoying and you want to use Adblock. But I think you can support us by adding Babiato to the whitelist. It will help us and our community.

Thanks for your help!

I've Disabled AdBlock