首页 > 编程知识 正文

sql的常用命令是什么,git的常用命令有哪些

时间:2023-05-06 18:48:08 阅读:161635 作者:591

EarthWorm通用命令总结文章目录EarthWorm通用命令总结0介绍1命令详细信息2使用案例2.1ssocks5代理2.2反弹Ssocks5代理2.3建立端口转发

0介绍

EarthWorm是贯通内部网的神器,具有3个功能的转发代理、反向代理、端口转发。

为了实现这些功能,EarthWorm构建了六个功能模块。

分别是

ssocksd,rcsocks,rssocks,

lcx_listen,lcx_tran,lcx_slave

可以从三个功能的角度这样划分

功能名称对应模块向代理ssocksd反向代理rcsocks,rssocks端口转发lcx_listen,lcx_slave,lcx_tran,总结命令的使用方法和使用场景

1命令详情请参考以下ew的帮助提示

version : free 1.2./XXX ([-options ] [ values ] ) * options : Eg:/xx-sssocksd-h-sstatesetupthefunction.youcanpickonefromthefollowingoptions 3360 s socksd、rcsocks、rssocks, lcx _ Liling lcx _ slave-llistenportopenaportfortheservicestartup.- drefhostsetthereflectionhostaddress.- erefportstsetthettttttheresthestherestted dress.- gconnportsettheconnectport.- hhelpshowthehelptext,By adding the -s parameter, youcanalsoseethemoredetailedhelp.- aaboutshowtheaboutpages-vversionshowtheversion.- tusectimesethemillisecondsfortimeourtimemeouoution : free 1.2./XXX ([-options ] [ values ] ) options : eg :/XXX-s socksd-h-s此选项用于指定所需的内容ssocksd,rcsocks,rssocks,lcx_listen,lcx_tran,lcx_slave -l此命令指定为启动服务指定的nxdqd转发或反弹的主机地址与-s参数一起使用时,会显示更详细的信息。 -关于a-v显示版本- tusectimesetthemillisecondsfortimeout.thedefaultvalueis 1000 . 2使用实例2.1创建ssocks5代理You can creat 60./ew-sssocksd---listen port 1080 or./ew-s socksd-l 1080可以通过这种方式建立socks5本机代理,远程计算机可以通过类似的代理工具使用

2.2反弹ssocks5代理这里需要使用两个功能模块rcsosks、rssocks

rcsocks :

./ew _ for _ Linux 64-src socks-hyoucancreatearcsockstunnellikethis 3360./ew-src socks-- listen port 1080-refport

./ew _ for _ Linux 64-SRS socks-hyoucancreatearssocksserverlikethis 3360./ew-SRS socks-- refhostxxx.XXX.XXX.XXX 虽然EarthWorm的解决方案非常简单,且考虑到无法直接连接到代理主机,但代理主机可以主动连接,因此必须等待该主机承担代理角色。 这就是rccosks、rssocks的指令设计理念。 rcsocks建立本地代理客户端,指定本地接收反弹的端口,rssocks建立本地代理服务,并在建立服务端后指定要主动连接的远程主机的IP和端口。

2.3端口传输此功能包括三个功能模块: lcx_listen、lcx_slave和lcx_tran

相关用法如下:

lcx_listen :

./ew _ for _ Linux 64-slcx _ listen-hyoucancreatealcx _ listentunnellikethis 3360./ew-slcx _ listen-listen ppen

./ew _ for _ Linux 64-slcx _ slave-hyoucancreatealcx _ slavetunnellikethis 3360./ew-slcx _ slave-ref host [-ref

./ew _ for _ Linux 64-slcx _ tran-hyoucancreatealcx _ trantunnellikethis :/ew-slcx _ tran---listen poristen poran

典型的使用命令组合如下。

./ew-slcx _ listen-l 1080-e 8888./ew-slcx _ tran-l 1080-f [ conn IP ]-g 8888数据为local:1080-local33608888

实现用于将本地端口转发到可以远程直接连接的主机的端口。

./ew-slcx _ listen-l 1080-e 8888./ew-slcx _ slave-d [ ref _ IP ]-e 1080-f [ conn IP ]-g 1080数据为connIP33608880

可以有各种组合方式,根据需要进行总结。

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。