walkor / php-socks5 Goto Github PK
View Code? Open in Web Editor NEWsocks5 proxy written in PHP based on workerman.
socks5 proxy written in PHP based on workerman.
Socks5 源码:
for ($i = 0; $i < 4; $i++) { // var_dump(ord($tmp[$i])); $ip += ord($tmp[$i]) * pow(256, 3 - $i); } $request['dest_addr'] = long2ip($ip);
使用内置函数也可以解析:
inet_ntop()
如果client关闭了connection,remote connection也是同时关闭嘛?
请问IE浏览器代理到本地1080端口怎么写账号密码?不知道账号密码怎么用啊
系统:Mac os 10.14
火狐浏览器:65.0.1
火狐插件:SwitchyOmega
问题描述:若无user/pass验证,则成功实现代理,若开启验证模式,则代理失败。
问题1:火狐浏览器支持socks5账号密码认证模式, php-socks5返回客户端不支持,解读socks5协议
版本号(1字节) | 可供选认证方法(1字节) | 选择的方法(1~255字节)。
认证方法应该为$buffer[2+], 程序中为$buffer[3+],所以没有读取正确的methods list。
问题2:修复上述问题1后,php-socks5收到了正确的user和password,但是还是代理还是失败。客户端除了尝试ff浏览器还尝试了phantomJS的代理模式,同样都是失败。
请大家帮忙看看,问题出在哪里呢?谢谢
Proxy does not work With telegram and proxifier when AUTH_ENABLED
Warning: Trying to access array offset on value of type null in start.php on line 345
DNS resolved ypyjf1636243.ca.whrq.net =>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.