Skip to content

Cmdex 0.2.3

Latest

Choose a tag to compare

@thangkes thangkes released this 20 Oct 04:06

Cmdex 0.2.3

English

New

  • Masked log: share a terminal without its secrets. Masked log above the terminal opens a second window that shows the terminal's output with passwords, keys, tokens, Cisco/pfSense secrets, IP and MAC addresses, serial numbers, user and host names masked: secrets become ••••••, the rest get stable names (IP-1, SN-2, HOST-1) so the log still reads. Share that window while Cmdex's own window stays protected from capture. Select text there and choose Mask this too to add a rule.
  • Your own masking rules: a piece of text, the word after a keyword, or an RE2 pattern; each kind of value can be turned on or off. Rules only describe text, never run anything; they are stored encrypted and travel with JSON backups. The real values behind IP-1… are listed only in the main window, when you ask.
  • The output is kept in memory only and erased when you close the tab; nothing is written to disk. Full-screen programs (vim, top, less) are not logged.
  • Notes in a window of their own. The chat bubble (Ctrl+Shift+N) now opens the notes in a separate window you can place beside Cmdex or on another screen; clicking it again brings that window to the front. It is part of the same Cmdex: no separate icon, it closes with Cmdex, and notes stay in the same library and backups. It follows the screen-capture protection setting.

Note: masking by patterns is never complete — check the shared window before you share it.

Security notes: see SECURITY.md — masked log, the shared and notes windows (anonymous pipes, no port, no database access).

Tiếng Việt

Mới

  • Log đã che: chia sẻ terminal mà không lộ bí mật. Nút Log đã che phía trên terminal mở một cửa sổ thứ hai hiện đầu ra của terminal với mật khẩu, khoá, token, bí mật Cisco/pfSense, địa chỉ IP và MAC, số serial, tên người dùng và tên máy đã được che: bí mật thành ••••••, phần còn lại có tên thay thế cố định (IP-1, SN-2, HOST-1) để log vẫn đọc được. Hãy chia sẻ cửa sổ đó, còn cửa sổ chính của Cmdex vẫn được chống chụp màn hình. Bôi đen chữ ở đó rồi chọn Che thêm đoạn này để thêm luật.
  • Luật che của riêng bạn: một đoạn chữ, từ đứng sau một từ khoá, hoặc mẫu RE2; bật/tắt được từng loại giá trị. Luật chỉ mô tả chữ, không bao giờ chạy gì; được lưu mã hoá và đi kèm bản sao lưu JSON. Giá trị thật đằng sau IP-1… chỉ hiện ở cửa sổ chính, khi bạn yêu cầu.
  • Đầu ra chỉ nằm trong bộ nhớ và bị xoá khi đóng tab; không ghi gì ra đĩa. Chương trình toàn màn hình (vim, top, less) không được ghi.
  • Ghi chú có cửa sổ riêng. Bong bóng chat (Ctrl+Shift+N) giờ mở ghi chú trong một cửa sổ riêng, đặt cạnh Cmdex hay sang màn hình khác tuỳ ý; bấm lần nữa sẽ đưa cửa sổ đó lên trước. Nó vẫn thuộc cùng một Cmdex: không có icon riêng, đóng Cmdex là đóng theo, ghi chú vẫn nằm trong cùng thư viện và bản sao lưu. Chống chụp màn hình theo cài đặt của cửa sổ chính.

Lưu ý: che theo mẫu không bao giờ đủ 100% — hãy xem lại cửa sổ chia sẻ trước khi chia sẻ.

Bảo mật: xem SECURITY.md — log đã che, cửa sổ chia sẻ và cửa sổ ghi chú (pipe ẩn danh, không mở cổng, không đọc database).