Miranda + installer + jabber + password =?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
2 views
There is a jabber server(in local network). you need to do for the users of a local network configured jabber client.


His eyes fell on Miranda, because you can put it in the right position. But faced with nuance.


Task: it is necessary that during installation of the program the user enter their username\\password from the dubber's account, then run a customized miracle.


How to put encrypted password into the configuration(.ini file)? what encryption is used in Miranda (or rather how Miranda encrypts the password)?
by | 2 views

3 Answers

0 like 0 dislike
During installation, open the software Miranda, bring the password window to the desired state (clean from unnecessary controls and rename). The user enters the password, Miranda saves it in the config. Then you kill Miranda.
\r
You can run the already installed instance, you can create a temp folder and put in her version of Miranda without ryushechek, and then copy the config to the right place. This option is good because then if you need to rebuild the installer for the new version, you will have trouble.
\r
Don't forget to protect yourself: when set to show a checkbox "do not enter a password right now." If for some reason doesn't work, the user will be able to install Miranda without the introduction of login and password.
\r
Yes, Yes, Yes, I know what a disgusting crutch :) Use it only when options are not left at all.
by
0 like 0 dislike
Not sure that is still so preserved:
\r
Miranda Password Encryption and Decryption it's Operation
\r
Miranda uses simple encryption algorithm with simple maths to cryptize the password from the spying eyes. For all protocols except Jabber it uses common algorithm to encrypt the password.
\r
In this simple encryption mechanism, Miranda adds the magic number 5 to each character in the password to encode it and then stores into the profile file.
\r
Here is the simple decryption mechanism for all protocols (except Jabber) supported by Miranda
for(int i=0; i{
clearPassword[i] = encryptedPassword[i]-5;
}
\r
For the Jabber protocol (as per version v0.9.10) it uses XOR based encoding algorithm using the magic number 0xC3 to secure the password, Here is the decryption algorithm for the Jabber Protocol
\r
for(int i=0; i{
clearPassword[i] = encryptedPassword[i] ^ 0xC3;
}
\r
On completion of the above operation with those magic numbers, you will have the secret in your hands!
\r
by
0 like 0 dislike
Nothing has changed (file plugins/dbrw/utils.c):
\r#define DBRW_ROT 5
Utils_encodeString INT_PTR(WPARAM wParam,LPARAM lParam) {
char *msg = (char*)lParam;
int i;
\r
for (i=0; msg[i]; i++) {
msg[i] = msg[i] + DBRW_ROT;
}
return 0;
}
\r
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
0 like 0 dislike
6 answers
asked Mar 25, 2019 by KawaiDesu
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
27,905 users