View Single Post
  #3  
Old 07-03-2017, 20:47
ontryit ontryit is offline
Friend
 
Join Date: Nov 2011
Posts: 172
Rept. Given: 127
Rept. Rcvd 17 Times in 14 Posts
Thanks Given: 411
Thanks Rcvd at 70 Times in 43 Posts
ontryit Reputation: 17
Quote:
Originally Posted by e0qs View Post
JustMappz Keygen Source
.NET / C#
DES+Base64

Code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Security.Cryptography;

namespace WindowsFormsApplication3
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

		private static byte[] key = new byte[]
		{
			7,
			2,
			3,
			4,
			1,
			6,
			7,
			8
		};

        private static byte[] iv = new byte[]
		{
			1,
			2,
			6,
			4,
			5,
			6,
			7,
			8
		};


        public static string CryptThis(string text)
        {
            SymmetricAlgorithm symmetricAlgorithm = DES.Create();
            ICryptoTransform cryptoTransform = symmetricAlgorithm.CreateEncryptor(key, iv);
            byte[] bytes = Encoding.Unicode.GetBytes(text);
            byte[] inArray = cryptoTransform.TransformFinalBlock(bytes, 0, bytes.Length);
            return Convert.ToBase64String(inArray);
        }

        public string randomStr()
        {
            Random random = new Random();
            return random.Next(1, 9999999).ToString().PadLeft(5);
        }
        
        private void button1_Click(object sender, EventArgs e)
        {
            string p3, p4, p5, p6 ,fP;

            p3 = randomStr() + "TSRhTEAM@KEYGENFACT.COM";
            p4 = "TSRh TEAM                     " + randomStr();
            p5 = "1234567812345678";
            p6 = DateTime.Today.AddYears(99).ToShortDateString();

            fP =  p3 + p4 + p5 + p6.Substring(0, 10);

            textBox1.Text = CryptThis(fP);
        }

        private void button2_Click(object sender, EventArgs e)
        {

            Clipboard.SetText(textBox1.Text);
        }
    }
}
eq
The keygen working well, just wanna ask why the "e-mail: TSRhTEAM@KEYGENFACT.COM didn't displayed in the program About?
Reply With Quote