Botanias matrix wings

Dieses Thema im Forum "Offtopic" wurde erstellt von alfiealfie, 2. Mai 2016.

  1. Tokoshoran

    Tokoshoran Well-Known Member

    Beiträge:
    677
    Zustimmungen:
    57
    Ortszeit:
    23:36
    Guys, are you sure you're doing this right? "Nineteen characters." Neo is one character. Trinity is a second. Morpheus is a third... Think of it that way. Who are nineteen characters related to Neo?
    I know that's not what "Character" usually means when it comes to passwords, but who knows!
     
  2. WorCannibal

    WorCannibal Blasphemy is a victimless crime

    Beiträge:
    122
    Zustimmungen:
    40
    Ortszeit:
    02:36
    I'm inclined to agree that we're taking this too literally. Not a single 19 character word in the Lexicon either ... however it's hard to misconstrue "It's 19 characters long"
     
  3. Tokoshoran

    Tokoshoran Well-Known Member

    Beiträge:
    677
    Zustimmungen:
    57
    Ortszeit:
    23:36
    Well, have you tried "Matrix digital rain" yet? That's 19 characters long, and Neo taps into the "rain" to modify how the world works, granting him his powers. Can't test it myself because I suck at botania.
     
  4. chugga_fan

    chugga_fan ME 4M storage cell of knowledge, all the time

    Beiträge:
    5.861
    Zustimmungen:
    730
    Ortszeit:
    02:36
    or just run the code i showed you.... and it will do the same thing[DOUBLEPOST=1465439020][/DOUBLEPOST]Also the answer is no, it's not that
     
  5. Cyberdan13

    Cyberdan13 Well-Known Member

    Beiträge:
    24
    Zustimmungen:
    1
    Ortszeit:
    07:36
    Got to 1896 possibilities ... time to get testing!
     
  6. chugga_fan

    chugga_fan ME 4M storage cell of knowledge, all the time

    Beiträge:
    5.861
    Zustimmungen:
    730
    Ortszeit:
    02:36
    there is ONE possibility, there is ONE, if you're using the method vazkii gave (and you should) you should ONLY get one possibility
     
  7. Cyberdan13

    Cyberdan13 Well-Known Member

    Beiträge:
    24
    Zustimmungen:
    1
    Ortszeit:
    07:36
    I wish I could only get these down to ONE...hue hue

    p.s. Wouldn't mind a link to Vazkii's method
     
    Zuletzt bearbeitet: 29. Juni 2016
  8. chugga_fan

    chugga_fan ME 4M storage cell of knowledge, all the time

    Beiträge:
    5.861
    Zustimmungen:
    730
    Ortszeit:
    02:36
    Update on this, made a better program for cracking it, it uses IKVM, it's in C#
    Code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading;
    using java.security;
    using System.Threading.Tasks;
    
    namespace Cracking
    {
    	class Program
    	{
    		static char[] charset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ ".ToCharArray();
    		static void Main(string[] args)
    		{
    			Task h = Task.Run(async () => { await TestThread(); });
    			Task a = Task.Run(async () => { await TestThread(); });
    			Task b = Task.Run(async () => { await TestThread(); });
    			Task d = Task.Run(async () => { await TestThread(); });
    			h.Wait();
    			a.Dispose();
    			b.Dispose();
    			h.Dispose();
    			d.Dispose();
    		}
    		static async Task TestThread()
    		{
    			Random rand = new Random();
    			char[] ch = new char[19];
    			for (int i = 0; i < ch.Length; i++)
    				ch[i] = 'a';
    			string a = "16E1BDFD1D6AE1A954C9C5E1B2D9099780F3E1724541F1F2F77310B769CFFBAC";
    			while(true)
    			{
    				string b = await hash(new string(ch));
    				if(b.Equals(a))
    				{
    					Console.WriteLine("FOUND IT!!!!!!!!!!!!");
    					Console.WriteLine(new string(ch));
    					Console.ReadLine();
    				}
    				else
    					ch[rand.Next(18)] = charset[rand.Next(charset.Length - 1)];
    			}
    		}
    		private static async Task<string> hash(string str)
    		{
    			if(str != null)
    				try
    				{
    					MessageDigest md = MessageDigest.getInstance("SHA-256");
    					return new javax.xml.bind.annotation.adapters.HexBinaryAdapter().marshal(md.digest(Encoding.UTF8.GetBytes(await salt(str))));
    				}
    				catch (NoSuchAlgorithmException e)
    				{
    					e.printStackTrace();
    				}
    			return "";
    		}
    		private static async Task<string> salt(string str)
    		{
    			str = str += "wowsuchsaltmuchsecurityverywow";
    			SecureRandom random = new SecureRandom(Encoding.ASCII.GetBytes(str));
    			int l = str.Length;
    			int steps = random.nextInt(l);
    			char[] chrs = str.ToCharArray();
    			await Task.Run(() =>
    			{
    				for (int i = 0; i < steps; i++)
    				{
    					int indA = random.nextInt(l);
    					int indB;
    					do
    					{
    						indB = random.nextInt(l);
    					}
    					while (indB == indA);
    					char c = (char)(chrs[indA] ^ chrs[indB]);
    					chrs[indA] = c;
    				}
    			});
    			return new string(chrs);
    		}
    	}
    }
    
     
    Zuletzt bearbeitet: 23. Juli 2016
  9. Cyberdan13

    Cyberdan13 Well-Known Member

    Beiträge:
    24
    Zustimmungen:
    1
    Ortszeit:
    07:36
    Made me kek

    Mod note: Removed quote with swear word ;)
     
    Zuletzt von einem Moderator bearbeitet: 24. Juli 2016
  10. chugga_fan

    chugga_fan ME 4M storage cell of knowledge, all the time

    Beiträge:
    5.861
    Zustimmungen:
    730
    Ortszeit:
    02:36
    oops forgot i had that, changed it ;)
     
  11. SirStudMuffin

    SirStudMuffin Well-Known Member

    Beiträge:
    2.365
    Zustimmungen:
    337
    Ortszeit:
    07:36
    The man who knows all (doubtful) gothic says you need to name a feather -_-
    I dont trust his logic
     
  12. chugga_fan

    chugga_fan ME 4M storage cell of knowledge, all the time

    Beiträge:
    5.861
    Zustimmungen:
    730
    Ortszeit:
    02:36
    I'm running my program now, so we'll see what we have to name
     
  13. ContinuedAsh

    ContinuedAsh Just a boring person.

    Beiträge:
    273
    Zustimmungen:
    170
    Ortszeit:
    01:36
    I want the name :/
     
  14. chugga_fan

    chugga_fan ME 4M storage cell of knowledge, all the time

    Beiträge:
    5.861
    Zustimmungen:
    730
    Ortszeit:
    02:36
    It was using too much CPU so i had to stop it, run it yourself for a month and try :p
     
  15. Cyberdan13

    Cyberdan13 Well-Known Member

    Beiträge:
    24
    Zustimmungen:
    1
    Ortszeit:
    07:36
    Been running for a couple of days. While update (whenever that will be) when something happens.
     
  16. chugga_fan

    chugga_fan ME 4M storage cell of knowledge, all the time

    Beiträge:
    5.861
    Zustimmungen:
    730
    Ortszeit:
    02:36
    What'll happen is that one thread will run to completion and the rest will wait die immediately if you continue, so there's 4 threads searching randomly for this name
     
  17. Cyberdan13

    Cyberdan13 Well-Known Member

    Beiträge:
    24
    Zustimmungen:
    1
    Ortszeit:
    07:36
    Noticed this from the long list of threads being exited. I applaud the effort in making this code btw
     
  18. chugga_fan

    chugga_fan ME 4M storage cell of knowledge, all the time

    Beiträge:
    5.861
    Zustimmungen:
    730
    Ortszeit:
    02:36
    It was nothing, it's random, so no determinate length of time will tell when it gets it, and it took like 6 minutes of coding ;)
     
  19. Cyberdan13

    Cyberdan13 Well-Known Member

    Beiträge:
    24
    Zustimmungen:
    1
    Ortszeit:
    07:36
    Pfft, I'm still learning in my degree so something like this is quite amazing in my perceptive :p
     
  20. chugga_fan

    chugga_fan ME 4M storage cell of knowledge, all the time

    Beiträge:
    5.861
    Zustimmungen:
    730
    Ortszeit:
    02:36
    it's well known that I haven't even taken a CS class .-. it's really just a simple bruteforce program, nothing complex as the SHA family has no known vulnerabilities
     

Diese Seite empfehlen