Solved

Website cloning or proxy style Script

Posted on 2008-10-15
8
173 Views
Last Modified: 2013-12-25
Hi.

I want a solution, piece of code or idea for how I can create a website which will act like original website, for example:

my website is www.a.com I want it to look like and WORK exactly like google.com

I don't want redirection or META REFRESH, I want my website to look like EXACTLY like google and if user searched something it should work and user should be able to search and....

How I can do that?

Please advice.
Thanks from now!
0
Comment
Question by:CSecurity
  • 4
  • 3
8 Comments
 
LVL 39

Expert Comment

by:Adam314
Comment Utility
Is the site you want to mimic just HTML, or is there any server code (a search is almost always server code)?

If there is server code, do you have access to that?
0
 
LVL 48

Expert Comment

by:Tintin
Comment Utility
It depends on the nature of the site.  You'll easily be able to copy static HTML pages and pages that reference CGI scripts and/or Javascript, but if they are comprised of PHP, ASP, Flash etc, then you'll have a hard time.
0
 
LVL 17

Author Comment

by:CSecurity
Comment Utility
No I want to do it easily like with iframe, but I want user think it's EXACTLY google, is it possible?
0
 
LVL 39

Expert Comment

by:Adam314
Comment Utility
You could create a frame that is 100% of the page, and point it to google.  This will work until some link uses _top as the target.

If you want the links to also go to your site, then you'll have to parse the HTML, replace the links with links to your site, and send the results.
eg:
    if you go to www.google.com, there is a link "Advertising Programs".
    this link goes to "www.google.com/intl/en/ads/"
    Do you want to change it so it goes to "www.a.com/intl/en/ads", or should it still go to google?
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 17

Author Comment

by:CSecurity
Comment Utility
I want requests to go to orginal google.com, not mine... How can I create 100% iframe?
0
 
LVL 39

Accepted Solution

by:
Adam314 earned 500 total points
Comment Utility
<frameset rows="0%,100%" noresize="noresize">
   <frame src="your_non_visible_page.html">
   <frame src="http://www.google.com">
</frameset>
0
 
LVL 17

Author Comment

by:CSecurity
Comment Utility
If user right click on page and try to see source code will see this source or google.com's source?
0
 
LVL 39

Expert Comment

by:Adam314
Comment Utility
Depends on the browser.  Some will show the main page source, some will show the frame source.

If they click on the menu View -> Page Source, they will see the top level source, which would be the frame definition.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Introduction On September 29, 2012, the Python 3.3.0 was released; nothing extremely unexpected,  yet another, better version of Python. But, if you work in Microsoft Windows, you should notice that the Python Launcher for Windows was introduced wi…
This article will show, step by step, how to integrate R code into a R Sweave document
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now