reGeorg v1.0内网流量转发

reGeorg v1.0 git

Usage

$ reGeorgSocksProxy.py [-h] [-l] [-p] [-r] -u  [-v]

Socks server for reGeorg HTTP(s) tunneller

optional arguments:
  -h, --help           show this help message and exit
  -l , --listen-on     The default listening address
  -p , --listen-port   The default listening port
  -r , --read-buff     Local read buffer, max data to be sent per POST
  -u , --url           The url containing the tunnel script
  -v , --verbose       Verbose output[INFO|DEBUG]

  • Step 1. Upload tunnel.(aspx|ashx|jsp|php) to a webserver (How you do that is up to you)

  • Step 2. Configure you tools to use a socks proxy, use the ip address and port you specified when you started the reGeorgSocksProxy.py

** Note, if you tools, such as NMap doesn't support socks proxies, use proxychains

  • Step 3. Hack the planet :)

Example

$ python reGeorgSocksProxy.py -p 8080 -u http://upload.sensepost.net:8080/tunnel/tunnel.jsp

1、在Web服务器上上传并运行脚本

http://172.16.7.20:8080/tunnel.tomcat.5.jsp

 

2、reGeorgSocksProxy.py转发流量

 

3、本地Proxifier建立12.0.0.1:8888的 socket5代理(会话层)

mstsc 192.168.1.201(内网)即可

 

posted @ 2016-11-03 14:01  JeromePowell  阅读(929)  评论(0编辑  收藏  举报