About:
fork from https://github.com/tostercx/ssocks
sSocks是一个跨平台的socks代理工具套装,可用来开启socks代理服务,支持socks5验证,支持IPV6和UDP,并提供反向socks代理服务
nsocks 类似通过Socks5代理后的netcat,可用来测试socks server
ssocksd 用来开启Socks5代理服务
ssocks 本地启用Socks5服务,并反弹到另一IP地址
rcsocks 接收反弹过来的Socks5服务,并转向另一端口
原项目地址:sSocks
Visual Studio 暂时不支持c99标准,所以无法直接编译从gcc移植过来的代码。
笔者修改了源码,让其在vs下编译通过。
How to use?
nmake -f Makefile.nmake
Original README:
Features:
TODO:
Software:
File:
How to use rssocks and rcsocks in pentest mode http://www.vimeo.com/22515255
More information see man page:
ssocksd (1), nsocks (1), ssocks (1), ssocksd.auth (5), ssocksd.conf (5) rssocks (1), rcsocks (1)
Ubuntu/debian install:
dpkg -i ssocks_0.0.-_i386.deb
Warning: This package install the server with init script and start it with no authentication in the config file, so everybody can connect on.
Gentoo install:
I've a ebuild with init script contact me if you want it
From source:
./configure && make
Warning: don't content init script
Warning, if you import from git, you need to do:
$ ./bootstrap.sh
PS for me: To avoid to wait when you debug the server and some socket don't close properly
To compile with dynamic lib
$ ./configure --disble-static
To enable SSL
$ ./configure with-ssl
Just for remember (this by default actually)
$ ./configure --enable-static --disable-shared
PS: for test and debug authentication
$ curl -U admin:abcde --socks5 127.0.0.1:1080 www.perdu.com
Copyright (C) 2011 by Hugo Caron
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。