获取对sqlplus命令的readline支持。

获取对sqlplus命令的readline支持。
.

0

linux命令:socat READLINE,history=$HOME/.sqlplus_history EXEC:'sqlplus64\ USER\/PASS@HOST\:PORT\/SID',pty,setsid,ctty USER\/PASS@HOST\:PORT\/SID',pty,setsid,ctty EXEC:'sqlplus64\ READLINE,history=$HOME/.sqlplus_history socat socat READLINE,history=$HOME/.sqlplus_history EXEC:'sqlplus64\ USER\/PASS@HOST\:PORT\/SID',pty,setsid,cttyrootopen.com
linux命令:socat READLINE,history=$HOME/.sqlplus_history EXEC:'sqlplus64\ USER\/PASS@HOST\:PORT\/SID',pty,setsid,ctty USER\/PASS@HOST\:PORT\/SID',pty,setsid,ctty EXEC:'sqlplus64\ READLINE,history=$HOME/.sqlplus_history socat socat READLINE,history=$HOME/.sqlplus_history EXEC:'sqlplus64\ USER\/PASS@HOST\:PORT\/SID',pty,setsid,cttyrootopen.com
wigj 2018-04-16 09:20:48
输出

评论

相关推荐

或者你可以添加“-x”来得到一个典型的hexdump类似的输出

linux命令:socat -v tcp4-l:<port> tcp4:<host>:<port> tcp4:<host>:<port> tcp4-l:<port> -v socat socat -v tcp4-l:<port> tcp4:<host>:<port>rootopen.com
linux命令:socat -v tcp4-l:<port> tcp4:<host>:<port> tcp4:<host>:<port> tcp4-l:<port> -v socat socat -v tcp4-l:<port> tcp4:<host>:<port>rootopen.com
.

它使用源端口“srcport”连接到XXX.XXX.XXX.XXX端口YYY,并将本地端口“locport”上的隧道绑定。然后,您可以连接到localhost:locport.With该命令可以使用特定的源端口连接到服务器(防火墙检查源端口时很有用)。由于从同一个源端口开始的连接,这仅适用于第一个连接(例如,适用于SSH,由于多个请求而与HTTP不兼容)。*它需要socat

linux命令:socat TCP-LISTEN:locport,fork TCP:XXX.XXX.XXX.XXX:YYY,sourceport=srcport TCP:XXX.XXX.XXX.XXX:YYY,sourceport=srcport TCP-LISTEN:locport,fork socat socat TCP-LISTEN:locport,fork TCP:XXX.XXX.XXX.XXX:YYY,sourceport=srcportrootopen.com
linux命令:socat TCP-LISTEN:locport,fork TCP:XXX.XXX.XXX.XXX:YYY,sourceport=srcport TCP:XXX.XXX.XXX.XXX:YYY,sourceport=srcport TCP-LISTEN:locport,fork socat socat TCP-LISTEN:locport,fork TCP:XXX.XXX.XXX.XXX:YYY,sourceport=srcportrootopen.com
.

获取对sqlplus命令的readline支持。

linux命令:socat READLINE EXEC:'sqlplus',pty,setsid,ctty EXEC:'sqlplus',pty,setsid,ctty READLINE socat socat READLINE EXEC:'sqlplus',pty,setsid,cttyrootopen.com
linux命令:socat READLINE EXEC:'sqlplus',pty,setsid,ctty EXEC:'sqlplus',pty,setsid,ctty READLINE socat socat READLINE EXEC:'sqlplus',pty,setsid,cttyrootopen.com
.

从可用的高速链路中进行中央代理访问。

linux命令:socat TCP4-LISTEN:3128,reuseaddr,fork TCP6:[xxxx:xxxx::xxxx]:3128 TCP6:[xxxx:xxxx::xxxx]:3128 TCP4-LISTEN:3128,reuseaddr,fork socat socat TCP4-LISTEN:3128,reuseaddr,fork TCP6:[xxxx:xxxx::xxxx]:3128rootopen.com
linux命令:socat TCP4-LISTEN:3128,reuseaddr,fork TCP6:[xxxx:xxxx::xxxx]:3128 TCP6:[xxxx:xxxx::xxxx]:3128 TCP4-LISTEN:3128,reuseaddr,fork socat socat TCP4-LISTEN:3128,reuseaddr,fork TCP6:[xxxx:xxxx::xxxx]:3128rootopen.com
.

在vmware播放器中创建一个带有“/ tmp / socket”,“from:server,to:virtual machine”的“socket(named pipe)”串口控制台。在引导客户操作系统(也应为串行控制台配置)后运行上述命令。

linux命令:socat unix-connect:/tmp/socket stdio,echo=0,raw stdio,echo=0,raw unix-connect:/tmp/socket socat socat unix-connect:/tmp/socket stdio,echo=0,rawrootopen.com
linux命令:socat unix-connect:/tmp/socket stdio,echo=0,raw stdio,echo=0,raw unix-connect:/tmp/socket socat socat unix-connect:/tmp/socket stdio,echo=0,rawrootopen.com
.

它也适用于Chrome浏览器。 tail和nc的替代方法不会

linux命令:socat -u FILE:/var/log/syslog,ignoreeof TCP4-LISTEN:12345,fork,reuseaddr TCP4-LISTEN:12345,fork,reuseaddr FILE:/var/log/syslog,ignoreeof -u socat socat -u FILE:/var/log/syslog,ignoreeof TCP4-LISTEN:12345,fork,reuseaddrrootopen.com
linux命令:socat -u FILE:/var/log/syslog,ignoreeof TCP4-LISTEN:12345,fork,reuseaddr TCP4-LISTEN:12345,fork,reuseaddr FILE:/var/log/syslog,ignoreeof -u socat socat -u FILE:/var/log/syslog,ignoreeof TCP4-LISTEN:12345,fork,reuseaddrrootopen.com
.

通过ssh将本地UDP端口转发到remotetarget

linux命令:socat udp-listen:1611 system:'ssh remoteserver "socat stdio udp-connect:remotetarget:161"' udp-connect:remotetarget:161"' stdio "socat remoteserver system:'ssh udp-listen:1611 socat socat udp-listen:1611 system:'ssh remoteserver "socat stdio udp-connect:remotetarget:161"'rootopen.com
linux命令:socat udp-listen:1611 system:'ssh remoteserver "socat stdio udp-connect:remotetarget:161"' udp-connect:remotetarget:161"' stdio "socat remoteserver system:'ssh udp-listen:1611 socat socat udp-listen:1611 system:'ssh remoteserver "socat stdio udp-connect:remotetarget:161"'rootopen.com
.

无法使用密码登录,您必须将RSA密钥添加到服务器的authorizedkeys文件中,或者更改ssh命令,为自定义RSA密钥添加-i选项:socat "UNIX-LISTEN:/tmp/mysqld.temp.sock,reuseaddr,fork" EXEC:"ssh username@remoteserver.com -i /home/user/rsa-keys/id_rsa socat STDIO UNIX-CONNECT\:/var/run/mysqld/mysqld.sock"---/tmp/mysqld.temp.sock 将由socat在本地创建,请勿自行创建,它所在的文件夹必须是可写的,将MySQL客户机连接到这个套接字,数据库和用户名设置正确

linux命令:socat "UNIX-LISTEN:/tmp/mysqld.temp.sock,reuseaddr,fork" EXEC:"ssh username@remoteserver.com socat STDIO UNIX-CONNECT\:/var/run/mysqld/mysqld.sock" UNIX-CONNECT\:/var/run/mysqld/mysqld.sock" STDIO socat username@remoteserver.com EXEC:"ssh "UNIX-LISTEN:/tmp/mysqld.temp.sock,reuseaddr,fork" socat socat "UNIX-LISTEN:/tmp/mysqld.temp.sock,reuseaddr,fork" EXEC:"ssh username@remoteserver.com socat STDIO UNIX-CONNECT\:/var/run/mysqld/mysqld.sock"rootopen.com
linux命令:socat "UNIX-LISTEN:/tmp/mysqld.temp.sock,reuseaddr,fork" EXEC:"ssh username@remoteserver.com socat STDIO UNIX-CONNECT\:/var/run/mysqld/mysqld.sock" UNIX-CONNECT\:/var/run/mysqld/mysqld.sock" STDIO socat username@remoteserver.com EXEC:"ssh "UNIX-LISTEN:/tmp/mysqld.temp.sock,reuseaddr,fork" socat socat "UNIX-LISTEN:/tmp/mysqld.temp.sock,reuseaddr,fork" EXEC:"ssh username@remoteserver.com socat STDIO UNIX-CONNECT\:/var/run/mysqld/mysqld.sock"rootopen.com
.
共收录0条命令行
这里是记录和分享命令行的地方, 所有命令行都可以进行评论、提交替代方案.

推荐
    热门命令