pelock/total-commander-ftp-password-recovery
Composer 安装命令:
composer require pelock/total-commander-ftp-password-recovery
包简介
Decode Total Commander wcx_ftp.ini FTP passwords from their stored hexadecimal representation.
README 文档
README
Total Commander (formerly known as Windows Commander) is a classic file manager for Windows, Windows CE, Windows Phone, and now also Android.
Total Commander has a built-in FTP/FXP client and it keeps the FTP logins and encrypted passwords in wcx_ftp.ini configuration file.
I have reverse engineered and recreated the password decoding algorithm years ago.
It was made available by me to another FlashFXP software to import FTP connection profiles from Total Commander.
I give you source codes for both the original assembly decoding algorithm and a PHP implementation of this algorithm.
Total Commander Online Password Decoder
You can either use one of the provided source codes or use my own online implementation to make things faster:
https://www.pelock.com/products/total-commander-ftp-password-recovery
Requirements
- PHP 8.1+ with 64-bit integers (typical PHP 8 builds on Windows and Linux).
- Composer for local development, tests, and autoloading.
Installation
composer require pelock/total-commander-ftp-password-recovery
Usage (library)
<?php declare(strict_types=1); require __DIR__ . '/vendor/autoload.php'; use PELock\TotalCommanderFtpPassword\TotalCommanderPasswordDecoder; $cipherHex = '00112233445566778899aabbccddeeff'; $decoder = new TotalCommanderPasswordDecoder(); $plain = $decoder->decryptPassword($cipherHex); if ($plain === false) { throw new RuntimeException('Invalid ciphertext (bad hex, odd length, or too short).'); } echo $plain; // decoded bytes as a binary string echo bin2hex($plain); // optional hex view
decryptPassword() accepts flexible hex input: ASCII case is ignored and whitespace between byte pairs is allowed (useful when pasting from an .ini file).
CLI
After installation, Composer exposes a small helper binary:
tc-ftp-password-decode 00112233445566778899aabbccddeeff
From a git checkout (without a global install), run:
php bin/tc-ftp-password-decode 00112233445566778899aabbccddeeff
Examples
examples/basic-usage.php— minimal decrypt script.
Tests
composer install
composer test
References
- Total Commander FTP Password Recovery (article / online tool)
- Source code recovery / reverse engineering services
Author
Bartosz Wójcik
- Visit my site at — https://www.pelock.com
- X — https://x.com/PELock
- GitHub — https://github.com/PELock
pelock/total-commander-ftp-password-recovery 适用场景与选型建议
pelock/total-commander-ftp-password-recovery 是一款 基于 Assembly 开发的 Composer 扩展包,目前已累计 4 次下载、GitHub Stars 达 11, 最近一次更新时间为 2026 年 04 月 15 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「password」 「decoder」 「ftp」 「total-commander」 「wcx_ftp.ini」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 pelock/total-commander-ftp-password-recovery 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 pelock/total-commander-ftp-password-recovery 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 pelock/total-commander-ftp-password-recovery 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Streaming parser to extract tarballs with ReactPHP.
The PHP class PasswordGenerator serves as a password generator to create memorable passwords like the keychain of macOS ≤ 10.14 did.
base62 encoder and decoder also for big numbers with Laravel integration
A sleek PHP wrapper around rclone with Laravel-style fluent API syntax
Laravel middleware to restrict a site or specific routes using HTTP basic authentication
High-level cryptographic primitives and security utilities for Maatify systems including password hashing, reversible encryption, HKDF key derivation, and key rotation.
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 11
- 点击次数: 35
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2026-04-15