Giter Club home page Giter Club logo

webrtc-proxy's Introduction

反向代理+webrtc 神不知鬼不觉的获取真实IP

Usage

Usage:
  webrtc [flags]
  webrtc [command]

Available Commands:
  help        Help about any command
  version     显示版本信息

Flags:
      --disable-random-log   是否关闭日志存放文件名随机生成,默认为false,如果为true则为[webrtc.log]、[access.log]创建,否则为[随机字符串+webrtc.log]、[随机字符串+webrtc.log]生成.
  -d, --domain string        服务绑定的域名(IP),如不指定则自动获取外网IP,目标网站代理后iframe的webrtc地址以此为准
  -h, --help                 help for webrtc
      --path string          webrtc访问的路由,默认为webrtc (default "webrtc")
  -p, --port int             服务开启的端口 (default 80)
  -t, --target string        需要代理的目标网站,比如https://www.baidu.com

Use "webrtc [command] --help" for more information about a command.

实现原理

通过反向代理目标网站,然后替换目标网站中返回的response包中<body的内容,使用iframe嵌套进去原始网页,从而神不知鬼不觉的获取到真实IP

webrtc-proxy's People

Contributors

iiiusky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.