B
B
Bogdan Pasechnik2012-03-19 15:50:01
PHP
Bogdan Pasechnik, 2012-03-19 15:50:01

"Anonymous" getting data from sites?

Initially, this was required for one project, which was soon abandoned. Now I'm just really wondering if it's possible to implement it.
The goal was this. The site was supposed to (perhaps with the help of users) collect information from other sites. But that it would be impossible to determine the domain and hosting.
1) On the server side: Use a proxy server. I discarded this idea due to the complexity of implementation.
2) On the server side: Use the hum cache. The solution is suitable. Only not all required pages could be obtained in this way. Also, I don’t know how Google will react if the site sends 10,000 per day to it.
3) On the client side: The user visits the page and it starts to send cross-domain requests and send the result to the site. Everything was fine, only the referrer was glowing =( I started to figure out how to hide it. I got stuck on this. As far as I found out, requests via flash can only be made to your own domain or to the domain that allowed these requests in crossdomain.xml
Any ideas? I don’t plan any sabotage Now it's more of a sporting interest.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
O
Oleg Matrozov, 2012-03-19
@taral

In summary, an example of how to make a call to another site in an iframe without passing a referral:

<html>
  <body onload="start();">
    <script>
      function start()
      {
        window.frames["frm"].document.body.innerHTML = '<form action="http://microsoft.com" method="get" name="frm"></form>';
        window.frames["frm"].document.frm.submit();
      }
    </script>
    <iframe name="frm"></iframe>
  </body>
</html>

O
Oleg Matrozov, 2012-03-19
@Mear

I remember at one time I struggled with referrals by opening the target site inside an iframe, which in turn is itself inside the url:about:blank iframe on the page opened by the user. Those. it turns out that the target site opens with about:blank and the referral was not affixed to it.

B
Bogdan Pasechnik, 2012-03-19
@taral

I built this But testReferer.php gets the referer of the open page. It turns out that either I'm doing something wrong or this loophole has been fixed.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
/>
Test

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question