Results 1 to 4 of 4
  1. #1
    RustlerOfJimmies's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    My Mood
    Lurking

    DayZ Key Changer

    This is for HEX'd keys. They are in a format similar to this: xx-xx-xx-xx-xx-xx-xx-xx-xx-xx-xx NOT xxxx-xxxx-xxxxx-xxxx

    Download is in the video.

    Virus scan: https://virusscan.jotti.org/en/scanre...2a10211b1e2bc1
    Open source. Here's the code:
    Code:
    using Microsoft.Win32;
    using System;
    using System.Threading;
    
    namespace DayZ_Key_Changer
    {
        internal class Program
        {
            private static string keys = "";
            private static void Main(string[] args)
            {
                Program.title();
                Thread.Sleep(500);
                Program.CurrentKey(1);
                Program.ChangeKey();
                Program.CurrentKey(2);
            }
    
            private static void title()
            {
                Console.Write(@"
    DDDDDDDDDDDDD                                               ZZZZZZZZZZZZZZZZZZZ
    D::::::::::::DDD                                            Z:::::::::::::::::Z
    D:::::::::::::::DD                                          Z:::::::::::::::::Z
    DDD:::::DDDDD:::::D                                         Z:::ZZZZZZZZ:::::Z 
      D:::::D    D:::::D  aaaaaaaaaaaaayyyyyyy           yyyyyyyZZZZZ     Z:::::Z  
      D:::::D     D:::::D a::::::::::::ay:::::y         y:::::y         Z:::::Z    
      D:::::D     D:::::D aaaaaaaaa:::::ay:::::y       y:::::y         Z:::::Z     
      D:::::D     D:::::D          a::::a y:::::y     y:::::y         Z:::::Z      
      D:::::D     D:::::D   aaaaaaa:::::a  y:::::y   y:::::y         Z:::::Z       
      D:::::D     D:::::D aa::::::::::::a   y:::::y y:::::y         Z:::::Z        
      D:::::D     D:::::Da::::aaaa::::::a    y:::::y:::::y         Z:::::Z         
      D:::::D    D:::::Da::::a    a:::::a     y:::::::::y       ZZZ:::::Z     ZZZZZ
    DDD:::::DDDDD:::::D a::::a    a:::::a      y:::::::y        Z::::::ZZZZZZZZ:::Z
    D:::::::::::::::DD  a:::::aaaa::::::a       y:::::y         Z:::::::::::::::::Z
    D::::::::::::DDD     a::::::::::aa:::a     y:::::y          Z:::::::::::::::::Z
    DDDDDDDDDDDDD         aaaaaaaaaa  aaaa    y:::::y           ZZZZZZZZZZZZZZZZZZZ
                                             y:::::y                               
                                            y:::::y                                
                                           y:::::y                                 
                                          y:::::y                                  
                                         yyyyyyy                                   
    ");
    
            }
    
            private static void CurrentKey(int times)
            {
                RegistryKey registryKey = Registry.LocalMachine.OpenSubKey("Software\\Bohemia Interactive Studio\\ArmA 2 OA", true);
                if (times == 1)
                {
                    if (registryKey == null)
                    {
                        Program.keys = "Arma2:OA is not installed or failed to grab key.\n";
                    }
                    else
                    {
                        byte[] value = (byte[])registryKey.GetValue("KEY");
                        Program.keys = "Your current key is: " + Environment.NewLine + BitConverter.ToString(value) + "\n";
                    }
                }
                else if (times == 2)
                {
                    if (registryKey == null)
                    {
                        Program.keys = "Arma2:OA is not installed or failed to grab key.\n";
                    }
                    else
                    {
                        byte[] value = (byte[])registryKey.GetValue("KEY");
                        Console.WriteLine("\n\n\n\n\n\nYour new CD-key set for Arma2:AO is: ");
                        Console.WriteLine(BitConverter.ToString(value));
                        Console.WriteLine("Press enter to end the program.");
                        Console.ReadLine();
                    }
                }
            }
            private static void ChangeKey()
            {
                RegistryKey registryKey = Registry.LocalMachine.OpenSubKey("Software\\Bohemia Interactive Studio\\ArmA 2 OA", true);
                if (registryKey != null)
                {
                    Console.WriteLine(Program.keys);
                    Console.WriteLine("Enter a new key \n(Tip: right click on title bar of this window -> Edit -> Paste):");
                    string text = Console.ReadLine();
                    text += "-";
                    text = text.ToLower();
                    if (string.IsNullOrEmpty(text))
                    {
                        Console.WriteLine("Empty answer! Program failed.");
                    }
                    else
                    {
                        byte[] value = new byte[15];
                        string[] array = text.Split(new char[]
    					{
    						'-'
    					});
                        int upperBound = array.GetUpperBound(0);
                        byte[] array2 = new byte[upperBound];
                        for (int i = 0; i < upperBound; i++)
                        {
                            array2[i] = Convert.ToByte(array[i], 16);
                        }
                        value = array2;
                        registryKey.SetValue("KEY", value);
                    }
                }
            }
        }
    }
    Last edited by RustlerOfJimmies; 09-02-2012 at 12:16 AM.

  2. #2
    Frodo 877's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Posts
    19
    Reputation
    10
    Thanks
    2
    My Mood
    Dead
    You need 2 Virus scans from different sites and post the download in the thread...

  3. #3
    RustlerOfJimmies's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    My Mood
    Lurking
    Ah Sorry i haven't made many posts. Where do i upload it to? I tried putting a ********e link but it wouldnt let me
    Can you like me to another scan site? I can't find more (I guess it **'s it out ^^)
    Last edited by RustlerOfJimmies; 09-02-2012 at 02:10 AM.

  4. #4
    N3tsky's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Location
    In my house
    Posts
    72
    Reputation
    10
    Thanks
    8
    My Mood
    Confused
    Nice, but the original cd key changer by Helper can switch HEX too if i remember ^^

    Still very nice, and for your scan site :

    https://www.virustotal.com/

Similar Threads

  1. Selling Unbanned DayZ Keys [$3.99]
    By xkillaxserver in forum Selling Accounts/Keys/Items
    Replies: 74
    Last Post: 03-04-2013, 11:29 PM
  2. [Release] ArmA 2 OA CD Key Changer
    By Helper in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 49
    Last Post: 02-12-2013, 12:55 AM
  3. [BUYING $5] Arma OA (DayZ) Key -NEED IT FAST-
    By NathanKent in forum Selling Accounts/Keys/Items
    Replies: 2
    Last Post: 09-11-2012, 11:13 PM
  4. Anyone online selling dayz key???
    By jono198 in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 0
    Last Post: 08-31-2012, 02:57 AM
  5. Anyone selling a DayZ key that are online?
    By NathanKent in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 4
    Last Post: 08-28-2012, 11:24 AM