Yhea, i haven't programmed it to get with only the normal characters yet, can't figure out how, but you get a MASSIVE number of outputs for the hashcode
i feel a random letter sequence generator that only saves strings containing matrix, neo, one and other keywords may be a decent way to do it sadly im still pretty horrid at programming atm so wouldnt really be sure how to do this
@chugga_fan Go make 500 mods and put them into a pack that has a questbook and get it on MyM, since you have so much time on your hands.
Code: import java.math.BigDecimal; import java.math.BigInteger; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.security.SecureRandom; import javax.xml.bind.annotation.adapters.HexBinaryAdapter; public class cracking { public static void main(String[] args) { System.out.println(ToBeRun.bruteCrackVazkii(19,"16E1BDFD1D6AE1A954C9C5E1B2D9099780F3E1724541F1F2F77310B769CFFBAC")); } } class ToBeRun { private static char[] charset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ ".toCharArray(); private int oddsonly = 0; public void run() { theory(oddsonly); } public static String bruteCrackVazkii(int size, String hexVal) { int h=0, start=0; BigDecimal end = BigDecimal.valueOf(26); end = end.pow(size); String word="",out="",hex=""; for(int i=0;i<size;i++) word+="["; byte w[]=word.getBytes(),o[]=word.getBytes(); byte j[]=new byte[size],buffer[]=new byte[1024],digest[]=new byte[1024]; while(h<w.length) { for(int l=0;l<w.length;l++) o[l]=(byte)(w[l]+j[l]); j[w.length-1]++; h=0; for(int l=0;l<w.length;l++) h=(o[l]=='@')?h+1:h-1; for(int l=1;l<=w.length;l++) { if(j[w.length-l]==36) j[w.length-l]=-58; else if(j[w.length-l]==-26) { j[w.length-l]=0; if(l<w.length) j[w.length-l-1]+=1; } } out=""; for(int l=0;l<w.length;l++) out=out+(char)o[l]; buffer=out.getBytes(); digest=hash(new HexBinaryAdapter().marshal(buffer)).getBytes(); hex=""; for (int i = 0; i < digest.length; i++) { int b = digest[i] & 0xff; if (Integer.toHexString(b).length() == 1) hex = hex + "0"; hex = hex + Integer.toHexString(b); } if(hexVal.equals(hex)) return out; System.out.println(BigDecimal.valueOf(start).divide(end).multiply(BigDecimal.valueOf(10))); } return null; } private void theory(int gain) { char[] charArray = new char[19]; int[] i = new int[19]; for(int u = 0; u < i.length; u++) { i[u] = charset.length - 1; } for(; i[0] >= 0; i[0]--) { for(int ii = 0; ii + gain <= 19; ii+=gain) { if(i[ii] == 0) { i[ii + gain]--; i[ii] = charset.length - 1; } charArray[ii] = charset[i[ii]]; } String checking = String.valueOf(charArray); String tocheck = hash(checking); if(tocheck.equals("16E1BDFD1D6AE1A954C9C5E1B2D9099780F3E1724541F1F2F77310B769CFFBAC")) { System.out.println(checking); System.exit(0); } } } private static String hash(String str) { if(str != null) try { MessageDigest md = MessageDigest.getInstance("SHA-256"); return new HexBinaryAdapter().marshal(md.digest(salt(str).getBytes())); } catch (NoSuchAlgorithmException e) { e.printStackTrace(); } return ""; } private static String salt(String str) { str = str += "wowsuchsaltmuchsecurityverywow"; SecureRandom rand = new SecureRandom(str.getBytes()); int l = str.length(); int steps = rand.nextInt(l); char[] chrs = str.toCharArray(); for(int i = 0; i < steps; i++) { int indA = rand.nextInt(l); int indB; do { indB = rand.nextInt(l); } while(indB == indA); char c = (char) (chrs[indA] ^ chrs[indB]); chrs[indA] = c; } return String.copyValueOf(chrs); } } Is my code, so try using it for awhile, i removed multithreading because there's no real point
You really are brute forcing it. Hope no numbers in the string. I'm taking a different approach altogether and focus on compiling a valid dictionary from the scripts first, probably binary search 16 char words... then use it to do a dictionary attack. I'm going to include the animatrix script too.
I copied all the scripts to text file, replaced punctuation and \r\n, parsed each word interrogating length and not a SINGLE 19 character word! Work is slow atm so off to read her reddit posts. Somewhere she's leaked something ... or ... parse the Lexicon Botania! dur
Dumb question for you guys is it possible since the mod creator loves to add music easter eggs too it has something to do with the songs? P.S. There are 2 magic the gathering references (a card game i play): black lotus which is the most expensive card in the game, and blacker lotus which was a gag card in the game!
I was thinking something the same; dictionary of words based on things outside of Matrix and Botania like anime, mtg, songs. I know she's from Portugal so here's hoping it's an English word!
i wasnt meaning out side the real of matrix but its theme song, maybe her favorite song from it. and good luck figuring it out if its an mtg reference.... dude so many cards and lore from it......