wget --post-data \
'login_username=USERNAME&login_password=PASSWORD&login=yes&redirect=/forum/tracker.php?nm=Deep+Purple' \
http://login.rutracker.org/forum/login.php
wget --save-cookies cookies.txt --post-data \
'login_username=USERNAME&login_password=PASSWORD&login=yes&redirect=/forum/' \
http://login.rutracker.org/forum/login.php
wget --load-cookies cookies.txt http://www.rutracker.org/forum/tracker.php?nm=Deep+Purple
wget --load-cookies cookies.txt http://www.rutracker.org/forum/tracker.php?nm=%D0%92%D0%B0%D0%BB%D0%B5%D1%80%D0%B8%D0%B9%20%D0%9B%D0%B5%D0%BE%D0%BD%D1%82%D1%8C%D0%B5%D0%B2
Miranda Password Encryption and it's Decryption Operation
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.
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.
Here is the simple decryption mechanism for all protocols (except Jabber) supported by Miranda
for(int i=0; i<PasswordLength; i++)
{
clearPassword[i] = encryptedPassword[i]-5;
}
For 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
for(int i=0; i<PasswordLength; i++)
{
clearPassword[i] = encryptedPassword[i] ^ 0xC3;
}
On completion of the above operation with those magic numbers, you will have the secret in your hands!