View Single Post
  #1  
Old 07-02-2017, 21:38
e0qs e0qs is offline
Friend
 
Join Date: Jan 2016
Location: Russia
Posts: 12
Rept. Given: 0
Rept. Rcvd 1 Time in 1 Post
Thanks Given: 23
Thanks Rcvd at 21 Times in 6 Posts
e0qs Reputation: 1
JustMapzz Kg source

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
		};

        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

Last edited by e0qs; 12-23-2017 at 06:10.
Reply With Quote
The Following 4 Users Say Thank You to e0qs For This Useful Post:
Hypnz (07-03-2017), niculaita (07-03-2017), ontryit (07-03-2017), pps44 (07-07-2017)