Custom Base64 ? - Printable Version +- hashcat Forum (https://hashcat.net/forum) +-- Forum: Misc (https://hashcat.net/forum/forum-15.html) +--- Forum: General Talk (https://hashcat.net/forum/forum-33.html) +--- Thread: Custom Base64 ? (/thread-4670.html) |
Custom Base64 ? - alert - 09-12-2015 Hey ! I registered cause I saw a similar topic and well you guys cracked it out ... I've been working on a pentest here, after founding couple SQLI and XSS I'm now working on the some kind of token you pass through cookies, and well you're then considered logged in if you have a correct one after a quick test with Burp Sequencer it seems quite random but i'm sure it's not it a two parter that goes like this : someB64lookingchars*somemore* both sometimes end up with one or two dots(.) both contains a-zA-Z0-9, but first one sometimes contains _ or - both have a major repetitive part I believe it to be custom alphabet Base64, cause when I decode it I get each time same structure(for the second part, and nothing for the first), but with weird chars I coded in py something trying each alphabet possibility and lookinf for a coherent one, but it's a very time consuming solution, maybe a year I don't know .... so if you have better solution for me I take it !!! Sample of first part Code: AQIC5wM2LY4SfcwSi-WAEW4nRPOBFUSCATEDsaE9zUTc-LM. Sample of second part Code: AAJTSQACMDIAAlNLABIxMjk1NjAxMjg1NDcOBFUSCATEDlMxAAIwMQ. Decoded sample second part Code: ☻SI ☻02 ☻SK ¶-HERE_GOES_PURE_INTS ☻S1 ☻01 and it's urlencoded version in case you can't see thoses beautifull smyleys Code: %00%02SI%00%0202%00%02SK%00%14-HERE_GOES_PURE_INTS%00%02S1%00%0201 HERE_GOES_PURE_INTS is if it's unclear, 19 numbers like 65923230900000144855 I Obfuscated part of each sample for the forum rules thanks PYTHON CUSTOM B64 BRUTEFORCE Code: import string,base64,sys,re,time RE: Custom Base64 ? - alert - 09-15-2015 .... well now i'm trying to decode just the first few letter "AAJTSQA" since I have 3 time a A i'm saving some precious time ... Now in the millions of result i'm looking for some known syntax but till now nothing coherent ... what if thoses special chars in with the normal alphabet are made for a special backe end like Java or something like that ? is it possible ? |