【文件属性】:
文件名称:websocket.sh:UNIX shell的跨平台WebSocket实现
文件大小:692KB
文件格式:ZIP
更新时间:2021-05-24 13:51:52
shell websockets busybox Shell
websocket.sh
麻省理工学院(C)2016-2020 Anton Skshidlevsky(meefik)版权所有(C)
UNIX外壳程序的跨平台实现。 它适用于嵌入式系统的busybox和ash(需要安装busybox小程序)。
Bash Shell作为Web终端
在websocket.sh目录中运行Web服务器httpd。 对于 :
cd jquery.terminal
WS_SHELL= " sh " httpd -p 8080
对于 :
cd xterm.js
telnetd -p 5023 -l " /bin/sh " -f ./issue
WS_SHELL= " telnet 127.0.0.1 5023 " httpd -p 8080
在浏览器中打开终端:
自定义用法
运行websocket.sh:
WS_SHELL= " cat " nc -l
【文件预览】:
websocket.sh-master
----cgi-bin()
--------init-ws.sh(297B)
--------resize(363B)
----LICENSE(1KB)
----README.md(3KB)
----websocket.sh(3KB)
----demo.gif(691KB)
----xterm.js()
--------index.html(581B)
--------cgi-bin(11B)
--------js()
--------issue(12B)
--------css()
----jquery.terminal()
--------index.html(525B)
--------cgi-bin(10B)
--------js()