承接 pelock/total-commander-ftp-password-recovery 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

pelock/total-commander-ftp-password-recovery

最新稳定版本:v1.0.0

Composer 安装命令:

composer require pelock/total-commander-ftp-password-recovery

包简介

Decode Total Commander wcx_ftp.ini FTP passwords from their stored hexadecimal representation.

README 文档

README

Packagist Version PHP requirement License GitHub

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.

Total Commander FTP Password Recovery Tool

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

Author

Bartosz Wójcik

统计信息

  • 总下载量: 3
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 11
  • 点击次数: 7
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 11
  • Watchers: 5
  • Forks: 2
  • 开发语言: Assembly

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2026-04-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固