Xpert.c decodes the password from Ftpexpert which is stored in sites.ini.
c38b52f82b29fe4cf7ad43d935aa99aa2dbc60dfa7050afbcdf9c4b1f9d6ee70
/*****************************************************************************
* This Program can be freely distributed as long as you don't remove this
* comment.
*
* It is used to decode password of ftpexpert. http://www.visic.com/
* (sites.ini contains encoded passwords)
*
* No error checking has been done!
*
* Reversed and written by _ck, zipper_x
****************************************************************************/
#include <stdio.h>
void usage(char *progname) {
printf("usage: %s encoded-password\n", progname);
}
int main(int argc, char **argv) {
int count;
int key;
int len;
char *pwd;
char *str;
if(argc!=2) {
usage(argv[0]);
} else {
str=argv[1];
len=strlen(str);
for (count=0;count<len;count+=2,str+=2) {
sscanf(str, "%2x", &key);
printf("%c", ((~(key^0x55))&0xff));
}
printf("\n");
}
return(0);
}