BitBang CLI是一款开源远程访问工具,允许用户通过浏览器从任何地方连接到位于NAT后的机器[1]。该工具无需端口转发、账户注册或复杂配置即可使用[1]。用户只需在目标机器上运行bitbang serve命令生成URL或配对码,随后可通过浏览器或命令行界面进行连接[1]。
BitBang采用点对点端到端加密架构,使用WebRTC/DTLS作为传输协议,信令服务器不会访问实际数据流量[1]。认证方面则通过6位配对码进行验证,可防止中间人攻击[1]。该工具以单个静态Go二进制文件形式发布,支持amd64、arm64和armv7架构[1]。
目前BitBang已支持的功能包括交互式shell、文件浏览和上传下载、网络代理以及scp风格的文件复制[1]。用户建立的连接会被保存至~/.bitbang/devices.json,支持使用短名称进行快速连接[1]。项目还计划在后续版本中增加串行桥接、TCP端口转发和远程桌面等功能[1]。
BitBang CLI is an open-source remote access tool that enables users to connect to machines located behind NAT firewalls from a web browser without requiring port forwarding, user accounts, or complex configuration [1]. The tool operates on a peer-to-peer model with end-to-end encryption, using WebRTC and DTLS protocols for data transmission, ensuring that signaling servers cannot inspect the traffic [1].
To establish a connection, users run the bitbang serve command on the target machine, which generates either a URL or a six-digit pairing code for authentication [1]. The pairing code system protects against man-in-the-middle attacks while maintaining simplicity [1]. Once paired, devices are saved locally to ~/.bitbang/devices.json, allowing quick reconnection using short names [1]. BitBang is distributed as a single static Go binary supporting amd64, arm64, and armv7 architectures [1].
The current release includes three core functionalities: an interactive shell, file browsing with upload and download capabilities, and network proxy functionality [1]. Additional features such as serial bridging, TCP port forwarding, and remote desktop access are planned for future versions [1].