# CycleTLS
Currently in Active development
todo:
- [X] fix TS api
- [ ] redo-socket request api in go
- [ ] bugfixes for error (wrong https proxy, incorrect JA3 and so on)
- [ ] state checks for golang
- [ ] concurrency and speedtests
### Setup
`npm install --dev`
`npm run build`
if windows
`npm run build:windows`
if linux
`npm run build:linux`
if mac
`npm run build:mac:`
# Example for Golang
```go
package main
import (
"log"
"github.com/Danny-Dasilva/cycletls"
)
var FirefoxAuto = cycletls.Browser{
JA3: "771,4865-4867-4866-49195-49199-52393-52392-49196-49200-49162-49161-49171-49172-156-157-47-53-10,0-23-65281-10-11-35-16-5-51-43-13-45-28-21,29-23-24-25-256-257,0",
UserAgent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0",
}
func main() {
// Optional client, err := cycletls.NewClient(FirefoxAuto, "https://username:password@hostname.com:443")
client, err := cycletls.NewClient(FirefoxAuto,)
if err != nil {
log.Fatal(err)
}
resp, err := client.Get("https://www.google.com/")
if err != nil {
log.Fatal(err)
}
resp.Body.Close()
log.Println(resp.Status)
}
```
# Example for TS
this is in tests/main.ts
see run.sh script for local testing
```ts
// const initCycleTLS = require('./src/index');
import initCycleTLS from '../dist/index.js'
// Typescript: import initCycleTLS from 'cycletls';
(async () => {
const cycleTLS = await initCycleTLS();
const response = await cycleTLS('https://ja3er.com/json', {
body: '',
ja3: '771,4865-4866-4867-49195-49199-49196-49200-52393-52392-49171-49172-156-157-47-53,0-23-65281-10-11-35-16-5-13-18-51-45-43-27-21,29-23-24,0',
userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36',
proxy: 'https://username:password@hostname.com:443',
});
console.log(response)
})();
```
没有合适的资源?快使用搜索试试~ 我知道了~
CycleTLS:使用GO和Javascript欺骗TLSJA3指纹,并增加了对代理的支持
共24个文件
go:11个
json:3个
ts:3个
需积分: 45 19 下载量 123 浏览量
2021-04-05
03:12:13
上传
评论
收藏 43KB ZIP 举报
温馨提示
循环TLS 目前正在积极开发中 去做: 修复TS API 重做套接字请求api 错误修正(错误的https代理,不正确的JA3等) 状态检查golang 并发和速度测试 设置 npm install --dev npm run build 如果窗户 npm run build:windows 如果是Linux npm run build:linux 如果是Mac npm run build:mac: Golang示例 package main import ( "log" "github.com/Danny-Dasilva/cycletls" ) var FirefoxAuto = cycletls. Browser { JA3 : "771,4865-4867-4866-49195-49199-52393-52392-49196-4
资源详情
资源评论
资源推荐
收起资源包目录
CycleTLS-main.zip (24个子文件)
CycleTLS-main
package.json 1KB
old.go 2KB
example.go 11KB
cycletls
roundtripper.go 7KB
client.go 548B
go.sum 2KB
connect.go 8KB
go.mod 258B
tests
wip.ts 765B
main.ts 598B
main.js 3KB
package-lock.json 45KB
src
index.ts 7KB
t.go 1KB
tsconfig.json 316B
output.txt 9B
main.go 4KB
run.sh 40B
.gitignore 35B
golang
roundtripper.go 7KB
client.go 544B
index.go 4KB
connect.go 8KB
README.md 2KB
共 24 条
- 1
FriedrichZHAO
- 粉丝: 26
- 资源: 4531
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 校园帮项目,毕业设计/课程设计/javaWeb/SSM
- C++ plotting library,matplotlib-cpp-master.zip
- 案例源码matplotlib-examples-master.zip
- 基于JavaScript 实现的KMP 算法
- 基于C++实现二叉树的创建,遍历,添加,查找与删除
- 基于C语言实现二叉树的基本操作
- 毕业设计基于STM32的测量温度与压力的数据处理设计C语言完整源码+论文.zip
- 基于MATLAB的PCA算法人脸识别项目源码+GUI界面+说明文档.zip
- 基于STM32的测量温度与压力的数据处理设计源码+论文(毕业设计).zip
- Vision Transformer 网络对不同氨气氧气浓度轨迹RAS 图像数据集的分类,包含训练权重和数据集、迁移学习
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0