Repository navigation
Releases: thangkes/Cmdex
Release list
Cmdex 0.2.3
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).
Cmdex 0.2.2
Cmdex 0.2.2
English
New
- Type
cmdexin a terminal on Windows. The installer adds Cmdex to your PATH (an option, on by default; uninstalling gives PATH back exactly as it was). A smallcmdex.comnext toCmdex.exemakes the terminal wait, socmdex --export backup.json --passwordasks for the password without the shell getting in the way. Open a new terminal after installing. - Open Cmdex when you sign in to Windows or Linux: the new Settings (gear in the top bar). Off until you turn it on; for your account only.
- Filter by label beside the system filter: All, No label, Warning, Critical — any set. A command shows when it passes both filters.
- Nmap tool pack: 40 commands (finding hosts, port and UDP scans, versions, OS, scripts, TLS and SMB checks, timing, output, firewall tests) and an explanation for 119 options. Loud, intrusive or spoofing scans are labelled Warning, dos scripts Critical, for nmap lines you type or collect too. Labels only: nothing is blocked.
- 13 hardware and network starter commands: mainboard maker/model/serial, devices present, full system information, connections with their process, TCP details, network configuration (Windows);
dmidecode,lspci,lsusb,lshw,ss -tulpn,netstat -tulnp,nmap -p(Linux).
Fixed
- The screen-capture shield showed off although Cmdex was hidden from capture: a hidden input-method window that Windows creates later was counted. Only windows on the screen count now.
Security notes: see SECURITY.md — starting at sign-in, PATH and cmdex.com; the system's Open/Save dialogs are not hidden from capture.
Tiếng Việt
Mới
- Gõ
cmdextrong terminal trên Windows. Trình cài thêm Cmdex vào PATH (có thể bỏ chọn, mặc định bật; gỡ cài đặt trả PATH về y như cũ). File nhỏcmdex.comcạnhCmdex.exegiúp terminal chờ Cmdex chạy xong, nêncmdex --export backup.json --passwordhỏi mật khẩu bình thường, không bị PowerShell chen vào. Mở terminal mới sau khi cài. - Mở Cmdex khi đăng nhập Windows hoặc Linux: trong Cài đặt mới (bánh răng trên thanh công cụ). Mặc định tắt; chỉ cho tài khoản của bạn.
- Lọc theo nhãn cạnh bộ lọc hệ: Tất cả, Không nhãn, Cảnh báo, Critical — chọn bao nhiêu cũng được. Lệnh hiện khi qua được cả hai bộ lọc.
- Gói công cụ Nmap: 40 lệnh (tìm máy, quét cổng và UDP, phiên bản, hệ điều hành, script, kiểm tra TLS và SMB, tốc độ, lưu kết quả, thử tường lửa) và giải nghĩa 119 tuỳ chọn. Kiểu quét ồn, xâm nhập hoặc giả mạo được gắn nhãn Cảnh báo, script dos là Critical, kể cả dòng nmap bạn tự gõ hay thu thập. Chỉ gắn nhãn, không chặn lệnh nào.
- 13 lệnh phần cứng và mạng có sẵn: hãng/model/serial bo mạch chủ, thiết bị đang có, toàn bộ thông tin hệ thống, kết nối kèm tiến trình, chi tiết TCP, cấu hình mạng (Windows);
dmidecode,lspci,lsusb,lshw,ss -tulpn,netstat -tulnp,nmap -p(Linux).
Sửa lỗi
- Nút khiên chặn chụp màn hình báo tắt dù Cmdex đang được ẩn khỏi ảnh chụp: một cửa sổ ẩn của bộ gõ do Windows tạo sau bị tính vào. Giờ chỉ tính các cửa sổ đang hiện.
Bảo mật: xem SECURITY.md — mở cùng hệ điều hành, PATH và cmdex.com; hộp thoại Mở/Lưu file của hệ thống không được ẩn khỏi ảnh chụp.
Cmdex 0.2.1
Cmdex 0.2.1: backups with or without a password
You choose how a backup is kept
- Library ▸ Export ▸ Full backup now asks whether to protect the backup:
- With a password: typed twice on the secure keypad, at least 8 characters. The backup is encrypted (AES-256-GCM, key from your password with Argon2id) and any change to the file is detected. It opens on any computer, Windows or Linux, only with that password. A forgotten password cannot be recovered.
- Without a password: plain JSON, as before. Anyone holding the file can read it, notes and connections included.
- Import recognises a protected backup and asks for its password (try again if it is wrong), then shows what it holds before you merge or replace.
- Command line:
cmdex --export backup.json --passwordasks for the password twice in the terminal, andcmdex --import backup.jsonasks for it when the file is protected. Passwords are never given on the command line.
Also
- The export dialog no longer says a
.dbcopy opens in any SQLite tool: its private values are encrypted with this computer's key, so it imports only on this computer. - The import preview counts notes.
Downloads
| File | For |
|---|---|
Cmdex-Windows-Setup-0.2.1.exe |
Windows 10/11 64-bit, per-user install |
Cmdex-Linux-amd64-0.2.1.tar.gz |
Linux x86-64 (added by CI a few minutes after the release) |
Tiếng Việt
Bạn chọn cách giữ bản sao lưu
- Thư viện ▸ Xuất ▸ Sao lưu đầy đủ giờ hỏi có bảo vệ bản sao lưu không:
- Có mật khẩu: nhập hai lần trên bàn phím ảo, ít nhất 8 ký tự. Bản sao lưu được mã hoá (AES-256-GCM, khoá suy ra từ mật khẩu bằng Argon2id), và mọi chỉnh sửa trên file đều bị phát hiện. Mở được trên mọi máy Windows hay Linux, nhưng chỉ khi có mật khẩu. Quên mật khẩu thì không khôi phục được.
- Không mật khẩu: file JSON thường như trước. Ai có file đều đọc được, kể cả ghi chú và kết nối.
- Nhập tự nhận ra bản sao lưu có mật khẩu và hỏi mật khẩu (nhập sai thì cho nhập lại), rồi hiện nội dung để bạn chọn gộp hay thay thế.
- Dòng lệnh:
cmdex --export backup.json --passwordhỏi mật khẩu hai lần trong terminal;cmdex --import backup.jsonhỏi mật khẩu khi file được bảo vệ. Mật khẩu không bao giờ ghi trên dòng lệnh.
Thêm
- Hộp thoại xuất không còn ghi rằng bản
.dbmở được bằng mọi công cụ SQLite: dữ liệu riêng tư bên trong đã được mã hoá bằng khoá của máy này, nên chỉ nạp được trên chính máy này. - Phần xem trước khi nhập có hiện số ghi chú.
Tải về
| File | Dùng cho |
|---|---|
Cmdex-Windows-Setup-0.2.1.exe |
Windows 10/11 64-bit, cài cho người dùng hiện tại |
Cmdex-Linux-amd64-0.2.1.tar.gz |
Linux x86-64 (CI thêm vào vài phút sau khi phát hành) |
Cmdex 0.2.0
Cmdex 0.2.0: notes, many files at once, terminal copy and paste
Notes in a chat bubble
- A bubble in the corner (Ctrl+Shift+N) keeps notes like messages, grouped by day.
- Text in any language, with bold, italic, underline,
strike, ==highlight==, six colours, headings, lists, tasks you can tick, quotes and code blocks. A toolbar, Ctrl+B/I/U and a preview help with the markup. - Images: paste, drop or pick PNG, JPEG, GIF or WebP. Large photos are scaled down. Click an image to see it full size.
- Commands and scripts are coloured (PowerShell, bash, cmd, Python, JavaScript, Go, SQL, JSON, YAML…). They can only be copied: nothing in a note runs or goes to a terminal.
- Find marks every match where it is, shows "2/7", and the ▲ ▼ arrows (Enter, Shift+Enter) step through them. Case and Vietnamese accents are ignored: "ca phe" finds "cà phê".
- A note can be pinned to the file or folder chosen on the map; 📎 opens it there again.
- Notes, their pins and images are encrypted in your database like your commands, and travel in backups.
Folder map
- The map opens where you left it: the folder shown last is remembered (encrypted, and left out of backups).
- Several files at once: Ctrl+click or Shift+click adds a star, Shift+drag chooses every star in a box. Throw the whole group into the black hole with one confirmation; the stars go in one after another, and the files go to the system trash.
Terminal
- Right-click in a terminal to copy the selection or everything it holds, paste, select all or clear the screen.
- Ctrl+C copies when text is selected (as in Windows Terminal) and still interrupts a command otherwise. Ctrl+Shift+C and Ctrl+Shift+V work as before.
- Pasting several lines shows them and asks first: most shells run each line as soon as it arrives.
Upgrading
- The database gets two tables for notes. Going back to 0.1.9 still opens it, without the notes.
- JSON backups include notes and their images in clear, like the rest of the library. Keep them safe.
Downloads
| File | For |
|---|---|
Cmdex-Windows-Setup-0.2.0.exe |
Windows 10/11 64-bit, per-user install |
Cmdex-Linux-amd64-0.2.0.tar.gz |
Linux x86-64 (added by CI a few minutes after the release) |
Tiếng Việt
Ghi chú dạng bong bóng chat
- Nút tròn ở góc (Ctrl+Shift+N) lưu ghi chú như tin nhắn, nhóm theo ngày.
- Chữ ngôn ngữ nào cũng được, có đậm, nghiêng, gạch chân,
gạch ngang, ==tô sáng==, 6 màu chữ, tiêu đề, danh sách, việc cần làm tick được, trích dẫn và khối code. Có thanh công cụ, phím tắt Ctrl+B/I/U và chế độ xem trước. - Hình ảnh: dán, kéo thả hoặc chọn ảnh PNG, JPEG, GIF, WebP. Ảnh lớn được thu nhỏ. Bấm vào ảnh để xem cỡ đầy đủ.
- Lệnh và script được tô màu (PowerShell, bash, cmd, Python, JavaScript, Go, SQL, JSON, YAML…). Chúng chỉ sao chép được: không có gì trong ghi chú tự chạy hay được gửi vào terminal.
- Tìm kiếm tô sáng mọi chỗ khớp ngay tại chỗ, hiện số kết quả dạng "2/7", và mũi tên ▲ ▼ (Enter, Shift+Enter) rà lần lượt từng kết quả. Không phân biệt hoa thường và dấu tiếng Việt: gõ "ca phe" vẫn ra "cà phê".
- Ghi chú có thể gắn với file hay thư mục đang chọn trên bản đồ; bấm 📎 để mở lại đúng chỗ đó.
- Ghi chú, đường dẫn gắn kèm và ảnh được mã hoá trong database như lệnh của bạn, và có trong bản sao lưu.
Bản đồ thư mục
- Bản đồ mở lại đúng chỗ bạn đang làm: thư mục xem lần cuối được nhớ (mã hoá, không đưa vào bản sao lưu).
- Nhiều file cùng lúc: Ctrl+bấm hoặc Shift+bấm để thêm từng ngôi sao, Shift+kéo để chọn mọi sao trong khung. Ném cả nhóm vào hố đen chỉ với một lần xác nhận; các ngôi sao lần lượt bị hút vào, còn file đi vào Thùng rác.
Terminal
- Chuột phải trong terminal để sao chép đoạn đang chọn hoặc toàn bộ nội dung, dán, chọn tất cả hoặc xoá màn hình.
- Ctrl+C sao chép khi đang bôi đen (như Windows Terminal), không bôi đen thì vẫn là ngắt lệnh. Ctrl+Shift+C và Ctrl+Shift+V giữ nguyên.
- Dán nhiều dòng sẽ hiện nội dung và hỏi lại trước, vì phần lớn shell chạy ngay từng dòng khi nhận được.
Khi nâng cấp
- Database có thêm hai bảng cho ghi chú. Quay về 0.1.9 vẫn mở được, chỉ là không thấy ghi chú.
- Bản sao lưu JSON chứa ghi chú và ảnh ở dạng không mã hoá, giống phần còn lại của thư viện. Hãy cất giữ cẩn thận.
Tải về
| File | Dùng cho |
|---|---|
Cmdex-Windows-Setup-0.2.0.exe |
Windows 10/11 64-bit, cài cho người dùng hiện tại |
Cmdex-Linux-amd64-0.2.0.tar.gz |
Linux x86-64 (CI thêm vào vài phút sau khi phát hành) |
Cmdex 0.1.9
Cmdex 0.1.9: branches, and a smoother map
The tree becomes branches
- Work ▸ Map ▸ Tree now arranges the same stars as branches: the folder in the centre sits on the left, and its sub-folders and files fan out to the right, layer by layer (still four layers, with the centre).
- Switching views morphs one into the other. The galaxy stops turning and unrolls into branches, or the branches curl back into the galaxy, while the view refits.
- Everything works in both views: hover details, the traced path, right-click actions, flying into a folder, and the black hole.
- A folder with branches after it is named above its star, so the links never cross its name. Files are named to the right.
Smoother on large folders
- On large folders the map ran at a few frames per second. It now stays smooth:
- Each folder shows 40 entries (the rest are summed as "+N more items").
- A scan reads at most 1,200 entries.
- Hidden names are not drawn.
- The twinkling background stops while stars move.
- Maps over 400 stars keep their glow on the first layer only and do not spin.
- A tree taller than the view opens on the centre folder.
Downloads
| File | For |
|---|---|
Cmdex-Windows-Setup-0.1.9.exe |
Windows 10/11 64-bit, per-user install |
Cmdex-Linux-amd64-0.1.9.tar.gz |
Linux x86-64 (added by CI a few minutes after the release) |
Tiếng Việt
Cây thư mục thành các nhánh
- Làm việc ▸ Bản đồ ▸ Cây thư mục giờ xếp chính các ngôi sao đó thành nhánh: thư mục ở tâm nằm bên trái, thư mục con và file toả dần sang phải theo từng lớp (vẫn 4 lớp tính cả tâm).
- Chuyển chế độ có hiệu ứng biến hình: thiên hà ngừng xoay và duỗi thành nhánh, hoặc các nhánh cuộn lại thành thiên hà, khung nhìn tự canh lại cho vừa.
- Cả hai chế độ đều có đủ: ô thông tin khi rê chuột, vệt truy vết, menu chuột phải, bay vào thư mục và hố đen.
- Thư mục có nhánh con được ghi tên phía trên ngôi sao, nên đường nối không đè lên chữ. File được ghi tên bên phải.
Mượt hơn với thư mục lớn
- Với thư mục lớn, bản đồ trước đây chỉ chạy được vài khung hình mỗi giây. Giờ vẫn mượt:
- Mỗi thư mục hiện tối đa 40 mục (phần còn lại gom thành "+N mục khác").
- Mỗi lần quét đọc tối đa 1.200 mục.
- Nhãn đang ẩn thì không vẽ.
- Sao nền ngừng lấp lánh khi các ngôi sao đang di chuyển.
- Bản đồ trên 400 sao chỉ giữ quầng sáng ở lớp đầu và không tự xoay.
- Cây cao hơn màn hình sẽ mở ở vị trí thư mục tâm.
Tải về
| File | Dùng cho |
|---|---|
Cmdex-Windows-Setup-0.1.9.exe |
Windows 10/11 64-bit, cài cho người dùng hiện tại |
Cmdex-Linux-amd64-0.1.9.tar.gz |
Linux x86-64 (CI thêm vào vài phút sau khi phát hành) |
Cmdex 0.1.8
Cmdex 0.1.8: the folder map
Your folders as a galaxy
- New Work ▸ Map: the terminal's folder drawn as a galaxy. The folder is the bright core, sub-folders are white stars, and files are coloured dots (code, documents, media, data, programs). A Tree view shows the same folders as a classic list.
- Hover any star for its type, size, date, contents and full path. The path from the core lights up as a moving trace. You do not need to aim: the nearest star within a few pixels is picked. Find traces a file by name.
- Click a folder to fly to it, and click again (or double-click) to make it the new core. Only four layers are read at a time (the core and three below), so even large drives stay light. Use the path bar or ⬆ to go back up.
- File actions (right-click, or the card): open, show in the file manager, rename (F2), new folder, copy path.
- The black hole is the trash. Drag a star into it, or choose "Black hole", and confirm. The star is stretched into a strand that winds into the hole, while the file goes to the system trash, so you can still restore it.
- Commands for a file come from your library and tool packs, with the path filled in (
python '…\train.py',java -jar …,mvn packagefor apom.xml). ▶ Paste puts them into the local terminal without running them.
Safety
- The map reads names, sizes and dates only, never file contents. Links and junctions are never followed.
- Changes stay inside the folder on the map. They never touch that folder itself or system folders (Windows, Program Files, ProgramData, a drive's root; on Linux anything outside your home folder,
/tmpand mounted drives). - Deleting only moves to the trash. Windows does this only on fixed drives, where the Recycle Bin exists; on USB sticks and network shares Cmdex refuses rather than delete for good. Linux uses the home trash on the same drive.
- Opening a file that runs as a program (
.exe,.bat,.ps1,.jar…) asks first. - Paths on the map are not stored or collected.
Downloads
| File | For |
|---|---|
Cmdex-Windows-Setup-0.1.8.exe |
Windows 10/11 64-bit, per-user install |
Cmdex-Linux-amd64-0.1.8.tar.gz |
Linux x86-64 (added by CI a few minutes after the release) |
Tiếng Việt
Thư mục của bạn thành một thiên hà
- Mục mới Làm việc ▸ Bản đồ: thư mục của terminal vẽ thành một thiên hà. Thư mục là lõi sáng, thư mục con là sao trắng, file là các chấm màu (code, tài liệu, ảnh/video, dữ liệu, chương trình). Chế độ Cây thư mục hiện cùng dữ liệu dạng danh sách.
- Rê chuột vào ngôi sao để xem loại, dung lượng, ngày sửa, nội dung bên trong và đường dẫn đầy đủ. Đường đi từ lõi sẽ sáng lên thành vệt truy vết. Không cần trỏ trúng, Cmdex tự bắt ngôi sao gần nhất. Ô Tìm giúp truy vết file theo tên.
- Bấm thư mục để bay tới, bấm lần nữa (hoặc nhấp đúp) để nó thành lõi mới. Mỗi lần chỉ đọc 4 lớp (lõi và 3 lớp bên dưới) nên ổ lớn vẫn nhẹ. Thanh đường dẫn hoặc nút ⬆ để lùi ra.
- Thao tác file (chuột phải, hoặc thẻ bên dưới): mở, hiện trong Explorer, đổi tên (F2), tạo thư mục, chép đường dẫn.
- Hố đen là Thùng rác. Kéo ngôi sao thả vào hố đen, hoặc chọn "Hố đen", rồi xác nhận. Ngôi sao bị kéo thành sợi xoắn vào hố đen, còn file thì vào Thùng rác của hệ điều hành, vẫn khôi phục được.
- Lệnh cho file lấy từ thư viện và các gói công cụ, đường dẫn điền sẵn (
python '…\train.py',java -jar …,mvn packagechopom.xml). Nút ▶ Dán đưa lệnh vào terminal local, không tự chạy.
An toàn
- Bản đồ chỉ đọc tên, dung lượng và ngày sửa, không đọc nội dung file. Không đi theo link hay junction.
- Mọi thay đổi chỉ trong thư mục đang xem. Không đụng chính thư mục đó và các thư mục hệ thống (Windows, Program Files, ProgramData, gốc ổ đĩa; trên Linux là mọi thứ ngoài thư mục home,
/tmpvà ổ gắn ngoài). - Xoá chỉ là chuyển vào Thùng rác. Windows chỉ làm việc này trên ổ cứng gắn trong, nơi có Thùng rác; với USB và ổ mạng Cmdex từ chối thay vì xoá vĩnh viễn. Linux dùng thùng rác ở home trên cùng ổ.
- Mở file chạy như chương trình (
.exe,.bat,.ps1,.jar…) sẽ hỏi trước. - Đường dẫn trên bản đồ không được lưu hay thu thập.
Tải về
| File | Dùng cho |
|---|---|
Cmdex-Windows-Setup-0.1.8.exe |
Windows 10/11 64-bit, cài cho người dùng hiện tại |
Cmdex-Linux-amd64-0.1.8.tar.gz |
Linux x86-64 (CI thêm vào vài phút sau khi phát hành) |
Cmdex 0.1.7
Cmdex 0.1.7: tool packs for Python, Java, Maven and Gradle
Tool packs
- New Library ▸ Tool packs: commands for programs that are not part of the system. This version brings Python (59 commands: python, py, venv, json.tool, pip), Java (45: java, javac, jar, javadoc, javap, jdeps, keytool, jarsigner, jps, jstack, jmap), Maven (23) and Gradle (31), all in English and Vietnamese.
- Cmdex offers a pack when it finds its program on this computer, at start and when you come back to the window after installing something. Choose Add, Later or Don't ask again. Turning a pack off removes its commands, but the ones you edited stay yours.
- Finding a program only looks at file names in the folders of
PATH. Cmdex never runs the program, reads it or asks a package manager, and nothing is downloaded: the packs are built into Cmdex. - Commands written for one system show on it only (activating a virtual environment:
source …/bin/activateon Linux,…\Scripts\activate.baton Windows). - The pack content is adapted from tldr-pages (CC BY 4.0), with a Vietnamese translation added.
More warnings
- Commands are labelled Warning when they overwrite a file with
>, start a Java debug agent, share a folder (python -m http.server), dump a program's memory (jmap -dump), change keys or keystores (keytool,jarsigner), create or extract.jarfiles, clean or install builds (mvn clean/install/deploy,gradle clean/wrapper/init) or empty the pip cache. This applies to every command, not only the new packs. - A Java debug agent listening on every address (
address=*:5005) is Critical: anyone who can reach the port can run code in the program. - The risky commands in the packs carry a note saying why.
Downloads
| File | For |
|---|---|
Cmdex-Windows-Setup-0.1.7.exe |
Windows 10/11 64-bit, per-user install |
Cmdex-Linux-amd64-0.1.7.tar.gz |
Linux x86-64 (added by CI a few minutes after the release) |
Tiếng Việt
Gói công cụ
- Mục mới Thư viện lệnh ▸ Gói công cụ: lệnh cho các chương trình không có sẵn trong hệ điều hành. Bản này có Python (59 lệnh: python, py, venv, json.tool, pip), Java (45: java, javac, jar, javadoc, javap, jdeps, keytool, jarsigner, jps, jstack, jmap), Maven (23) và Gradle (31), đều có tiếng Việt và tiếng Anh.
- Cmdex gợi ý một gói khi thấy chương trình đó trên máy: lúc mở app, và khi bạn quay lại cửa sổ sau khi cài thêm phần mềm. Chọn Thêm, Để sau hoặc Không hỏi lại. Tắt gói sẽ bỏ các lệnh của gói, lệnh bạn đã sửa vẫn được giữ.
- Cmdex chỉ xem tên file trong các thư mục của
PATH: không chạy chương trình, không đọc nội dung, không gọi trình quản lý gói, và không tải gì về vì các gói có sẵn trong Cmdex. - Lệnh dành cho một hệ chỉ hiện trên hệ đó (kích hoạt môi trường ảo:
source …/bin/activatetrên Linux,…\Scripts\activate.battrên Windows). - Nội dung gói chuyển thể từ tldr-pages (CC BY 4.0) và dịch thêm tiếng Việt.
Thêm nhãn cảnh báo
- Lệnh được gắn Cảnh báo khi: ghi đè file bằng
>, bật Java debug agent, chia sẻ thư mục (python -m http.server), dump bộ nhớ chương trình (jmap -dump), đổi khoá hay keystore (keytool,jarsigner), tạo hoặc giải nén.jar, xoá hoặc cài bản build (mvn clean/install/deploy,gradle clean/wrapper/init), xoá cache pip. Áp dụng cho mọi lệnh, không chỉ lệnh trong gói mới. - Java debug agent mở cho mọi địa chỉ (
address=*:5005) là Critical: ai kết nối được tới cổng đó đều chạy được code trong chương trình. - Các lệnh có rủi ro trong gói đều kèm ghi chú giải thích lý do.
Tải về
| File | Dùng cho |
|---|---|
Cmdex-Windows-Setup-0.1.7.exe |
Windows 10/11 64-bit, cài cho người dùng hiện tại |
Cmdex-Linux-amd64-0.1.7.tar.gz |
Linux x86-64 (CI thêm vào vài phút sau khi phát hành) |
Cmdex 0.1.6
Cmdex 0.1.6 — security release: paste, don't run; encrypted library
Update recommended.
▶ pastes, you run
- ▶ now pastes the command into the terminal without pressing Enter: read it, then press Enter yourself. In 0.1.5 and earlier it pasted and ran at once, and the "ask first" / "copy only" settings were not enforced (see the correction in the 0.1.4 and 0.1.5 notes).
- Commands are labelled Warning (changes the system: services, packages, firewall, users, configuration) or Critical (may delete data or cut service:
rm -rf,Remove-Item -Recurse,robocopy /MIR,format,mkfs,dd, restarts, firewall off, Ciscowrite erase/reload,pfctl -d…). Critical commands carry a reminder to check every part before Enter. - Labels also apply to commands you add, import, collect or type to have explained: Cmdex detects them from the text, per system (on Cisco,
shutdownturns a port off, not the device). - A pasted command counts as collected only when you press Enter on it unchanged.
Your library is encrypted
- Connections (name, host, user, key path, serial settings), your commands and the collected log are encrypted with AES-256-GCM. The key is random and kept in the system keychain (Windows Credential Manager, Secret Service on Linux). A copied database file cannot be read without it.
- The first start of 0.1.6 encrypts your existing library (and its backup copy) once, then rewrites the files so nothing readable is left on the disk. Nothing in your library changes: tests check every command, connection and collected line before and after.
- Linux without a keyring: Cmdex asks you to choose a master password, then asks it at each start.
- If the key is missing (a database copied from another computer, a keychain reset), Cmdex says so and lets you start a new library; the locked one is kept.
- JSON backups are not encrypted (so they open on another computer): keep them safe. A
.dbcopy stays encrypted and imports only on the computer that made it. - Going back to 0.1.5 or older is not supported after this update.
Downloads
| File | For |
|---|---|
Cmdex-Windows-Setup-0.1.6.exe |
Windows 10/11 64-bit, per-user install |
Cmdex-Linux-amd64-0.1.6.tar.gz |
Linux x86-64 (added by CI a few minutes after the release) |
Tiếng Việt — bản vá bảo mật, nên cập nhật.
▶ chỉ dán, bạn tự chạy
- Nút ▶ giờ dán lệnh vào terminal mà không nhấn Enter: đọc lại rồi tự nhấn Enter. Ở 0.1.5 trở về trước nút này dán và chạy ngay, và các thiết lập "hỏi trước" / "chỉ sao chép" không có tác dụng (xem đính chính trong ghi chú 0.1.4, 0.1.5).
- Lệnh được gắn nhãn Cảnh báo (thay đổi hệ thống: dịch vụ, phần mềm, tường lửa, người dùng, cấu hình) hoặc Critical (có thể xóa dữ liệu hoặc ngắt dịch vụ:
rm -rf,Remove-Item -Recurse,robocopy /MIR,format,mkfs,dd, khởi động lại, tắt tường lửa,write erase/reloadcủa Cisco,pfctl -d…). Lệnh Critical có lời nhắc kiểm tra kỹ trước khi nhấn Enter. - Nhãn áp dụng cả cho lệnh bạn thêm, nhập, thu thập hay gõ để giải nghĩa: Cmdex tự nhận diện theo nội dung và theo hệ (trên Cisco,
shutdownchỉ tắt một cổng, không tắt thiết bị). - Lệnh đã dán chỉ được thu thập khi bạn nhấn Enter mà không sửa nó.
Thư viện được mã hóa
- Kết nối (tên, máy, tài khoản, đường dẫn khóa, cấu hình COM), lệnh của bạn và nhật ký thu thập được mã hóa AES-256-GCM. Khóa ngẫu nhiên, nằm trong kho bảo mật của hệ điều hành (Windows Credential Manager, Secret Service trên Linux). Chép file database đi nơi khác cũng không đọc được.
- Lần mở đầu tiên của 0.1.6 sẽ mã hóa thư viện hiện có (cả bản sao lưu) một lần, rồi ghi lại file để không còn dữ liệu đọc được trên ổ đĩa. Không có gì trong thư viện bị thay đổi: test kiểm tra từng lệnh, kết nối, dòng thu thập trước và sau.
- Linux không có kho mật khẩu: Cmdex yêu cầu đặt mật khẩu chính, và hỏi nó mỗi lần mở.
- Nếu không tìm thấy khóa (database chép từ máy khác, kho bảo mật bị đặt lại), Cmdex báo rõ và cho bắt đầu thư viện mới; thư viện đang khóa được giữ lại.
- File sao lưu JSON không được mã hóa (để mở được trên máy khác): hãy cất giữ cẩn thận. Bản chép
.dbvẫn mã hóa và chỉ nạp được trên đúng máy đã tạo. - Sau bản này, không hỗ trợ quay lại 0.1.5 hoặc cũ hơn.
Cmdex 0.1.5
Correction (2026-10-14): an earlier version of these notes said that some commands were "copy-only" or "ask before running". That was wrong: in 0.1.5 and earlier the safety level of a command is stored but not enforced, and ▶ Run pastes the line and presses Enter at once for every command. Check a command before you run it. The next version changes ▶ Run to paste only (you press Enter yourself) and marks destructive commands as CRITICAL. See SECURITY.md.
Đính chính (14/10/2026): bản trước của ghi chú này nói một số lệnh "chỉ cho sao chép" hoặc "hỏi trước khi chạy". Điều đó sai: ở 0.1.5 trở về trước, mức an toàn của lệnh chỉ được lưu chứ không được áp dụng, và nút ▶ Chạy dán rồi nhấn Enter ngay với mọi lệnh. Hãy kiểm tra lệnh trước khi chạy. Bản kế tiếp đổi ▶ Chạy thành chỉ dán (bạn tự nhấn Enter) và gắn nhãn CRITICAL cho lệnh nguy hiểm.
Cmdex 0.1.5 — platform filter, 61 more Windows/Linux commands, Vietnamese text everywhere
Filter the library by system
- Choose All, or any set of Windows, Linux, Cisco, pfSense, in the Workspace and in the Library. Commands of the other systems are hidden; every command keeps its system badge.
- A Windows + Linux command shows when either is chosen.
- When the filter hides the system of the session you are on, the suggestions say so.
More starter commands
- Windows (30): network resets (Winsock, TCP/IP), MAC addresses, network cards, Wi-Fi report, mapped drives, shared folders, Remote Desktop; domain/AD (group policies, domain controller, Kerberos, account status and unlock); time sync, latest updates, scheduled tasks, activation, battery report, hosts file; printers (list, restart the spooler, clear a queue); BitLocker and Defender.
- Linux (31): firewalld, iptables, nftables; neighbours, DNS in use, which process uses a port, a site's certificate, mtr, iperf3; time and NTP, failed services, cron, SELinux, kernel messages, logs since a time; mounts and disk health (SMART); zip/unzip; users and passwords; dnf; nginx test; docker compose.
- Each comes with its explanation, in English and Vietnamese. No command holds a password. (Commands that change the system are marked ask-first, but this is not enforced in this version: see the correction above.)
Vietnamese text, whatever the tool
- Backups and packs are saved as UTF-8 with a BOM, so Notepad, Excel and PowerShell 5 show Vietnamese correctly.
- Imports accept UTF-8 with or without a BOM, and UTF-16 (Notepad's "Unicode", PowerShell 5's
>); a file in an old code page is refused instead of being stored with broken letters. - On a Vietnamese (or other localized) Windows, explanations learned from a tool's own help no longer come out with broken letters.
Updating changes nothing in your library, connections, settings or collected commands.
Downloads
| File | For |
|---|---|
Cmdex-Windows-Setup-0.1.5.exe |
Windows 10/11 64-bit, per-user install |
Cmdex-Linux-amd64-0.1.5.tar.gz |
Linux x86-64 (added by CI a few minutes after the release) |
Tiếng Việt
Lọc thư viện theo hệ
- Chọn Tất cả, hoặc một/nhiều hệ Windows, Linux, Cisco, pfSense, ở màn Làm việc và Thư viện. Lệnh của hệ khác được ẩn; mỗi lệnh vẫn giữ nhãn hệ của nó.
- Lệnh dùng chung Windows + Linux hiện khi chọn Windows hoặc Linux.
- Khi bộ lọc đang ẩn hệ của phiên đang mở, danh sách gợi ý sẽ báo.
Thêm lệnh mẫu
- Windows (30): reset mạng (Winsock, TCP/IP), địa chỉ MAC, card mạng, báo cáo Wi-Fi, ổ mạng, thư mục chia sẻ, Remote Desktop; domain/AD (Group Policy, domain controller, Kerberos, xem và mở khóa tài khoản); đồng bộ giờ, bản cập nhật gần nhất, tác vụ hẹn giờ, kích hoạt Windows, báo cáo pin, file hosts; máy in (danh sách, khởi động lại dịch vụ in, xóa hàng đợi); BitLocker và Defender.
- Linux (31): firewalld, iptables, nftables; bảng ARP, DNS đang dùng, tiến trình giữ cổng, chứng chỉ website, mtr, iperf3; giờ và NTP, dịch vụ lỗi, cron, SELinux, log kernel, log theo thời gian; mount và sức khỏe ổ đĩa (SMART); zip/unzip; người dùng và mật khẩu; dnf; kiểm tra nginx; docker compose.
- Mỗi lệnh có giải nghĩa song ngữ. Không lệnh nào chứa mật khẩu. (Lệnh làm thay đổi hệ thống được đánh dấu hỏi trước, nhưng chưa được áp dụng ở bản này: xem đính chính ở trên.)
Tiếng Việt hiển thị đúng ở mọi nơi
- File sao lưu và gói lệnh lưu dạng UTF-8 có BOM, nên Notepad, Excel, PowerShell 5 hiển thị đúng tiếng Việt.
- Nhập được file UTF-8 có/không BOM và UTF-16 (Notepad lưu "Unicode", lệnh
>của PowerShell 5); file bảng mã cũ bị từ chối thay vì lưu chữ vỡ. - Trên Windows tiếng Việt (hoặc ngôn ngữ khác), giải nghĩa học từ help của chính công cụ không còn bị vỡ dấu.
Cập nhật không thay đổi gì trong thư viện, kết nối, cài đặt hay lệnh thu thập của bạn.
Cmdex 0.1.4
Correction (2026-10-14): an earlier version of these notes said that some commands were "copy-only" or "ask before running". That was wrong: in 0.1.5 and earlier the safety level of a command is stored but not enforced, and ▶ Run pastes the line and presses Enter at once for every command. Check a command before you run it. The next version changes ▶ Run to paste only (you press Enter yourself) and marks destructive commands as CRITICAL. See SECURITY.md.
Đính chính (14/10/2026): bản trước của ghi chú này nói một số lệnh "chỉ cho sao chép" hoặc "hỏi trước khi chạy". Điều đó sai: ở 0.1.5 trở về trước, mức an toàn của lệnh chỉ được lưu chứ không được áp dụng, và nút ▶ Chạy dán rồi nhấn Enter ngay với mọi lệnh. Hãy kiểm tra lệnh trước khi chạy. Bản kế tiếp đổi ▶ Chạy thành chỉ dán (bạn tự nhấn Enter) và gắn nhãn CRITICAL cho lệnh nguy hiểm.
Cmdex 0.1.4 — Cisco & pfSense, builder under the search box, automatic merge, log clearing
Network devices: Cisco and pfSense
- 60 Cisco IOS/IOS-XE commands (status, ports and VLANs, configuration, SSH setup, save and reload) and 32 pfSense commands (
pfctl,easyrule,pfSsh.php playback, logs, diagnostics), in English and Vietnamese. - Connections have a device type (Automatic, Linux, Windows, Cisco, pfSense): the device's commands come first in suggestions.
- Cisco lines are explained keyword by keyword, abbreviations included:
sh ip int br,conf t,no shut,switchport access vlan 10. - Safety levels are set on these commands (
reload,write erase,pfctl -dand "allow all on WAN" marked copy-only; configuration changes marked ask-first), but are not enforced in this version: see the correction above. - Passwords typed in device commands (
secret …,password …,snmp-server community …) are masked in collected commands.
Workspace
- The builder stays right under the search box: the command you pick is built there, always in view.
- Suggestions follow what you type and fill the space below, scrolling on their own. Picking one builds it without searching again; values you were typing are kept.
- A more compact builder (tags are still in the library).
Collect settings (new "Merging & log" panel)
- Merge similar commands automatically — off by default. A collected command that resembles one in your library at least as much as the level you choose (50, 75, 85 or 100%) is merged into it and its runs are counted there. New commands are never added on their own: they still wait for you. Merges made this way show as Merged automatically and can be undone.
- The same level decides from when a merge is suggested (75% by default).
- Runs of a command you merged keep counting on its library command.
- Clear the collected log now, or automatically after 7, 30 or 90 days. The collected lines and the groups waiting for review are deleted; what you already added, merged or ignored stays decided, so those commands do not come back for review. Turn off Collect commands if you want no new ones.
Security and privacy fixes (also for what 0.1.3 changed)
- The copy of your database made when upgrading to 0.1.3 (
cmdex.db.bak-v1) is now readable by you only, gets the same password/token masking as your database, and is cleared together with the collected log. Nothing else in it changes. - Clearing the collected log really erases it: the database file is rewritten so deleted lines cannot be recovered from the disk.
- An imported backup can no longer pass its commands off as starter commands or hide a starter command behind one of its own.
- Your own rules and trimmed synonym lists are no longer changed at the next start when they resemble a default (a 0.1.3 bug).
- Adding a collected
cd …to the library no longer puts your real folder in it as a default, so shared packs do not carry your folder names.
Updating changes nothing in your library, connections, settings or collected decisions; a test checks this on a library as used with 0.1.3.
Downloads
| File | For |
|---|---|
Cmdex-Windows-Setup-0.1.4.exe |
Windows 10/11 64-bit, per-user install |
Cmdex-Linux-amd64-0.1.4.tar.gz |
Linux x86-64 (added by CI a few minutes after the release) |
Tiếng Việt
Thiết bị mạng: Cisco và pfSense
- 60 lệnh Cisco IOS/IOS-XE (trạng thái, cổng và VLAN, cấu hình, bật SSH, lưu và khởi động lại) và 32 lệnh pfSense (
pfctl,easyrule,pfSsh.php playback, log, chẩn đoán), song ngữ. - Kết nối có loại thiết bị (Tự động, Linux, Windows, Cisco, pfSense): lệnh của thiết bị đó lên đầu danh sách gợi ý.
- Lệnh Cisco được giải nghĩa từng từ khóa, kể cả viết tắt:
sh ip int br,conf t,no shut,switchport access vlan 10. - Mức an toàn có được đặt cho các lệnh này (
reload,write erase,pfctl -dvà "cho phép mọi thứ trên WAN" là chỉ sao chép; lệnh đổi cấu hình là hỏi trước), nhưng chưa được áp dụng ở bản này: xem đính chính ở trên. - Mật khẩu gõ trong lệnh thiết bị (
secret …,password …,snmp-server community …) được che trong lệnh thu thập.
Khu làm việc
- Khung dựng lệnh nằm cố định ngay dưới ô tìm kiếm: lệnh bạn chọn được dựng ở đó, luôn trong tầm mắt.
- Danh sách gợi ý chạy theo những gì bạn gõ, chiếm phần còn lại bên dưới và cuộn riêng. Bấm chọn một gợi ý là dựng ngay, giá trị đang nhập không bị mất.
- Khung dựng gọn hơn (tag vẫn xem được trong thư viện).
Cài đặt thu thập (khung mới "Gộp lệnh & nhật ký")
- Tự gộp lệnh giống nhau — mặc định tắt. Lệnh thu thập giống một lệnh trong thư viện từ mức bạn chọn (50, 75, 85 hoặc 100%) trở lên sẽ được gộp vào lệnh đó, số lần chạy cộng dồn vào lệnh. Lệnh mới không bao giờ tự vào thư viện, vẫn chờ bạn duyệt. Nhóm tự gộp được đánh dấu Đã tự gộp và có thể hoàn tác.
- Cùng mức đó cũng là mức bắt đầu gợi ý gộp (mặc định 75%).
- Lệnh đã gộp tiếp tục cộng số lần chạy vào lệnh trong thư viện.
- Xoá nhật ký thu thập ngay, hoặc tự xoá sau 7, 30 hay 90 ngày. Các dòng lệnh đã ghi và nhóm đang chờ duyệt bị xoá; những lệnh bạn đã thêm, gộp hay bỏ qua vẫn giữ quyết định nên không hiện lại. Tắt Thu thập lệnh nếu không muốn nhận lệnh mới.
Sửa lỗi bảo mật và quyền riêng tư (cả những thay đổi của 0.1.3)
- Bản sao database tạo khi nâng cấp lên 0.1.3 (
cmdex.db.bak-v1) giờ chỉ bạn đọc được, được che mật khẩu/token giống database chính, và được xoá nhật ký cùng lúc. Những thứ khác trong đó giữ nguyên. - Xoá nhật ký thu thập là xoá hẳn: file database được ghi lại để dòng lệnh đã xoá không phục hồi được từ ổ đĩa.
- File sao lưu lạ không thể giả làm lệnh mẫu hay che lệnh mẫu bằng lệnh của nó nữa.
- Quy tắc và danh sách từ đồng nghĩa bạn tự chỉnh không còn bị đổi ở lần mở sau khi trông giống mặc định (lỗi của 0.1.3).
- Thêm lệnh
cd …thu thập được vào thư viện không còn lấy thư mục thật làm giá trị mặc định, nên gói lệnh chia sẻ không mang tên thư mục của bạn.
Cập nhật không thay đổi gì trong thư viện, kết nối, cài đặt hay quyết định thu thập của bạn; có test kiểm tra điều này trên một thư viện đang dùng 0.1.3.