duanqin2026 2017-09-04 15:27
浏览 84

使用iframe或其他东西绕过代理

I had the Idea to create something that bypasses proxies. My idea was to use an iframe or something like that which shows the content from a site which is shown, when i call the site with my private server.

So i started creating an simple iframe:

<html>
<iframe src="https://google.de/" width="800" height="600" ></iframe>
</html>

(works for my domain but not with google for me)

But then i found out that the page which is called by the iframe is just being called by my computer and not my server.

How can i redirect the contents my server gets into an iframe or something else to show it on my pc?

  • 写回答

1条回答 默认 最新

  • dongyuan1160 2017-09-04 15:30
    关注

    With your method, you are telling the client browser to load google.de inside the iframe, at it will loaded depending on which permissions are defined in the page you are loading, of course, google will block this attempt in order to avoid security problems.

    what you can do is a page in your web that uses file_get_contents to load the external web and make a response as if the responses come from your server.

    评论

报告相同问题?

悬赏问题

  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度
  • ¥30 关于#r语言#的问题:如何对R语言中mfgarch包中构建的garch-midas模型进行样本内长期波动率预测和样本外长期波动率预测
  • ¥15 ETLCloud 处理json多层级问题
  • ¥15 matlab中使用gurobi时报错
  • ¥15 这个主板怎么能扩出一两个sata口
  • ¥15 不是,这到底错哪儿了😭
  • ¥15 2020长安杯与连接网探
  • ¥15 关于#matlab#的问题:在模糊控制器中选出线路信息,在simulink中根据线路信息生成速度时间目标曲线(初速度为20m/s,15秒后减为0的速度时间图像)我想问线路信息是什么