Skip to content
/ socket Public

使用C编写的轻量HTTP代理,专用于百度直连免流。

Notifications You must be signed in to change notification settings

sdk250/socket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

成品脚本

MLKit

介绍

这是一个专门用于百度直连的http轻量代理
使用多线程编写,本身编译出来极为轻量
修改用于连接的IPthread_socket.h中的宏定义SERVER_ADDR,将它修改为你想使用的百度直连IP,然后重新编译即可。
亦或者运行时加上 -r 参数来指定

Compile

make

If it is not working, please try:

clang -m64 -O3 -Wall -lpthread -o thread_socket thread_socket.c driver.c

Usage

./thread_socket -h
Usage of ./thread_socket:
        -p      <PORT>
                Set PORT while running
        -l      Show running log
        -u      <UID>
                Set UID while running
        -r      <SERVER ADDRESS>
                Set IP of peer
        -d      Start daemon service
        -h      Show this message

编译以后可以在任意终端上运行,比如安卓的Termux
使用的最直接的使用方法就是运行后在手机的APN设置里面设置代理:
127.0.0.1 端口 默认为8080

Email

520sdk250@gmail.com

About

使用C编写的轻量HTTP代理,专用于百度直连免流。

Resources

Stars

Watchers

Forks