Ja jsem v svn repozitari FTP pluginu nasel nasledujici text:
1.[HKEY_CURRENT_USER\Software\Far\plugins\FTP\ShowPassword] LogType: BOOL RegType: DWORD Name: ShowPassword Default: FALSE Meaning: Do not replace password text with "*HIDDEN*"
a v ftp_Crypt.inc byla funkce:
void DecryptPassword( BYTE Src[FTP_PWD_LEN],char *_Dest) { BYTE XorMask = (Src[0]^Src[1]) | 80; int n; char *Dest = _Dest;
//Log(( "DecryptPassword: %02X %02X %02X %02X %02X %02X",Src[0],Src[1],Src[2],Src[3],Src[4],Src[5] ));
if ( Src[0] && Src[1] && Src[2] ) for( n = 2; n < FTP_PWD_LEN; n++,Dest++ ) { *Dest = Src[n] ^ XorMask; if ( *Dest == 0 || &nb sp; *Dest == XorMask ) break; } *Dest = 0;
//Log(( "DecryptPassword: [%s]",_Dest )); }
|