Xpert.c decodes the password from Ftpexpert which is stored in sites.ini.
b14006c9ea5b33d15bfe2eba402c9826/*****************************************************************************
* 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);
}
Comments
No comments yet, be the first!