Skip to content
/ gopoc Public

用cel-go重现了长亭xray的poc检测功能的轮子

Notifications You must be signed in to change notification settings

jjf012/gopoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chinese

xray 提供了很多优秀简洁直观的POC,但是xray并不开源,无法进行二次开发改造。

于是根据xray文档中的检测poc的思路,用cel-go 写了个轮子,方便批量检测。

目前只支持ceye.io作为反连的验证平台,适合小规模批量验证。我不知道怎么实现类型注入

另外,如果双方只能在同个内网才能互通,估计得用http路径来分辨了,这个后期再完善。

支持四种检测方式 一对一,单个目标执行单个poc

gopoc -t http://www.test.com -p poc.yaml

一对多,单个目标执行多个poc

gopoc -t http://www.test.com -P "poc/*"

多对一,多个目标执行单个poc

gopoc -l urls.txt -p poc.yaml

多对多,多个目标执行多个poc

gopoc -l urls.txt -P "pocs/*"

其他几个参数说明如下

-t 请求超时设置
-n 总并发数
-proxy 代理服务器,目前只测试了http代理

使用-h查看所有参数

English (by google)

xray provides many excellent concise and intuitive POC, but xray is not open source and cannot be redeveloped.

So according to the idea of detecting poc in the chaitin xray document, I wrote a wheel with cel-go to facilitate batch detection.

Currently using ceye.io as the verification platform for reverse connection, suitable for small-scale batch verification.

One-to-one, a single target performs a single poc

gopoc -t http://www.test.com -p poc.yaml

One-to-many, a single target performs multiple poc

gopoc -t http://www.test.com -P "poc/*"

Many to one, multiple targets execute a single poc

gopoc -l urls.txt -p poc.yaml

Many-to-many, multiple targets execute multiple poc

gopoc -l urls.txt -P "pocs/*"

Several other parameters are described below

-t request timeout setting
-n total number of concurrent
-proxy proxy server, currently only tested http proxy

Use -h to view all parameters

About

用cel-go重现了长亭xray的poc检测功能的轮子

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages