Exetools  

Go Back   Exetools > General > General Discussion

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 12-21-2021, 16:15
raduga_fb raduga_fb is offline
Family
 
Join Date: Nov 2012
Posts: 73
Rept. Given: 3
Rept. Rcvd 127 Times in 23 Posts
Thanks Given: 2
Thanks Rcvd at 132 Times in 33 Posts
raduga_fb Reputation: 100-199 raduga_fb Reputation: 100-199
Actually, "#" and "*" to be removed to create Activation Code.

Code:
string pass_1 = "?????";
byte[] pass_1_b = Encoding.ASCII.GetBytes(pass_1);

string pass_2 = "??????";
byte[] pass_2_b = Encoding.ASCII.GetBytes(pass_2);


byte[] hexData = Convert.FromBase64String(Registratin_Code);

byte[] z1 = RC4.Decrypt(pass_1_b, hexData);

byte[] pass_3_b = new byte[16];
Buffer.BlockCopy(z1, 0, pass_3_b, 0, 16);

byte[] z5 = new byte[z1.Length - 16];
Buffer.BlockCopy(z1, 16, z5, 0, z1.Length - 16);

byte[] z3 = RC4.Decrypt(pass_3_b, z5);

string z3_str = BitConverter.ToString(z3).Replace("-", "");

string z4 = Encoding.ASCII.GetString(z3);

//************************************************************

string girdi = z4.Replace("#", "").Replace("*", "");

byte[] girdi_b = Encoding.ASCII.GetBytes(girdi);

byte[] x1 = RC4.Encrypt(pass_3_b, girdi_b);

byte[] x2 = new byte[x1.Length + 16];
Buffer.BlockCopy(pass_3_b, 0, x2, 0, 16);

Buffer.BlockCopy(x1, 0, x2, 16, x1.Length);

byte[] x3 = RC4.Encrypt(pass_2_b, x2);


//************************************************************

string Activation_Code = Convert.ToBase64String(x3);
Reply With Quote
The Following 4 Users Say Thank You to raduga_fb For This Useful Post:
foil (12-22-2021), niculaita (12-21-2021), p4r4d0x (12-22-2021), tonyweb (12-21-2021)
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can the bit0 mask in port 0x21 stop generating int 0x08? BlackWhite General Discussion 0 03-19-2021 22:53


All times are GMT +8. The time now is 23:11.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )