Base64 Decoding results contain unknown characters - base64

I have base64 encoded text and I try to decode it but when I decode it, it contains some unknown characters. But the interesting part is, decoded text contains that I need data. So just I need to remove unknown characters and I need to split the data.
Do you have any suggestion to escape this unknown characters?
E.g base64 data:
Ct5bChoKCgjOzdDH7KDX+X4SCgjb1uri1IOfgUUaABABMgVlbi1VUzrYJAoFZW4tVVMaCVdpbiBDb2xvciK7C1dpbiBDb2xvciBvciBDb2xvciBXaW4gaXMgbm90IGp1c3QgYSBnYW1lLiBJdCBpcyBhIGlkZW9sb2d5IGluIHRoZSBzYW1lIHRpbWUuCldhdGNoIG91dDogU29tZSBjb2xvcnMgd2lsbCBhcHBlYXIgb24gdGhlIHNjcmVlbi4gVHJ5IHRvIGtlZXAgYWxsIG9mIHRoZW0gaW4geW91ciBtZW1vcnkuIFRoaXMgd2lsbCBtYWtlIHlvdXIgbWVtb3J5IHN0cm9uZ2VyIGFuZCB3aWxsIGltcHJvdmUgeW91ciBtZW1vcnkgY2FwYWJpbGl0aWVzLgpOb3RpY2U6IFRha2UgY29udHJvbCBvZiB0aGUgZW50aXJlIGZpZWxkLiBFdmVuIG5vdGljZSB0aGUgc2xpZ2h0ZXN0IGNoYW5nZS4gVGhpcyB3aWxsIG1ha2UgeW91IG1vcmUgY2FyZWZ1bCBhbmQgZ2l2ZSB5b3UgbmV3IHBlcmNlcHRpb24gZmVhdHVyZXMuCkZpbmQ6IE1hdGNoIGNvbG9ycy4gRmluZCBsb3N0LCBtaXNzaW5nIGNvbG9ycy4gU29tZSBjb2xvcnMgd2lsbCBiZSB2ZXJ5IGNsb3NlIHRvZ2V0aGVyLiBUaGlzIHdpbGwgZW5oYW5jZSB5b3VyIGFiaWxpdHkgdG8gcmVjb2duaXplIGRldGFpbHMuCldpbjogVGhlcmUgaXMgbm8gbG9zaW5nIGhlcmUuIFlvdSB3aW4gd2hhdGV2ZXIgeW91IGRvLiBCdXQgeW91IHN0aWxsIGZvY3VzIG9uIHdpbm5pbmcgYSBsb3QuClRpb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gY2hhbmNlcy4KCkEgZ3JlYXQgZ2FtZSBmcm9tIFNoYSBHYW1lcyBtYWtlcnMuCgotIFdhdGNoIG91dCwgbm90aWNlLCBmaW5kIHRoZSBjb2xvciBhbmQgd2luLgotIDQ1IGxldmVscyBpbiB0b3RhbC4KLSA0MCBkaWZmZXJlbnQgY29sb3Igb3B0aW9ucwotIFJpY2ggdmlzdWFsIGludGVyZmFjZS4KLSBVbmxpbWl0ZWQgZW50ZXJ0YWlubWVudC4KCjggZGlmZmVyZW50IGxhbmd1YWdlIHN1cHBvcnQ6CiAtIEVuZ2xpc2gKIC0gVHVya2lzaAogLSBSdXNzaWFuCiAtIENoaW5lc2UKIC0gU3BhbmlzaAogLSBBcmFiaWMKIC0gSmFwYW5lc2UKIC0gR2VybWFuCiAtIEZyZW5jaAogCkdhbWVwbGF5OgotIFdhdGNoIG91dCBmb3IgdGhlIGNvbG9ycyBpbiB0aGUgbWlkZGxlLgotIEFmdGVyIGEgd2hpbGUsIG5vdGljZSB0aGUgZGlzYXBwZWFyYW5jZXMgb2YgdGhlc2UgY29sb3JzIGFuZCBpZGVudGlmeSB0aGVtLgotIFNlbGVjdCB0aGUgY29sb3JzIHlvdSBzcGVjaWZ5IGZyb20gdGhlIGNvbG9yIHBhbmVsLgoKRm9sbG93IFVzOgotIGh0dHBzOi8vd3d3LmZhY2Vib29rLmNvbS9zaGFnYW1lcwotIGh0dHBzOi8vdHdpdHRlci5jb20vc2hhX2dhbWVzCi0gaHR0cHM6Ly9wbHVzLmdvb2dsZS5jb20vdS8wLzExMTMwOTUyMjcxNTM1MjE2ODY4OSpJQ29sb3IsIHdpbiwgZ2FtZSwgcmFjZSwgYmVzdCwgZGlmZmVyZW50LCBpbXByb3ZlLCBza2lsbCwgZWFzeSwgYnJhaW4sIGJ1eTIAEhcKE0V4dGVybmFsIEV4cGVyaW1lbnQQAg==

It is a base64 encoded protobuf data. you can decode it from https://protogen.marcgravell.com

Related

issue decoding base64 text: prefix "77u_" causes junk output

I'm currently trying to decode my base64 encoded string. The issue I'm facing is it gives me junk decoded result but when I remove 77u_ in front from it, the decode result will get fine. My question is that, is there any other way to decode it?
Following is my encoded string:
77u_RGF0ZSxUeXBlLENvbmZpcm1hdGlvbiBDb2RlLFN0YXJ0IERhdGUsTmlnaHRzLEd1ZXN0LExpc3RpbmcsRGV0YWlscyxSZWZlcmVuY2UsQ3VycmVuY3ksQW1vdW50LFBhaWQgT3V0LEhvc3QgRmVlLENsZWFuaW5nIEZlZSxHcm9zcyBFYXJuaW5ncyxPY2N1cGFuY3kgVGF4ZXMNCjEwLzMwLzIwMTgsUmVzZXJ2YXRpb24sSE05U1BUOUNYQywxMC8yOS8yMDE4LDMsQWFyb24gSmFibG9uc2tpLEVsZWdhbnQgUHJpdmF0ZSBSb29tIGluIGEgTW9kZXJuIEx1eHVyeSBCdW5nYWxvdywsLFVTRCwxNDUuNTAsLDQuNTAsMzAuMDAsMTUwLjAwLDIxLjANCjEwLzI2LzIwMTgsUmVzZXJ2YXRpb24sSE0zM0gyWEU0SiwxMC8yNS8yMDE4LDMsWWIgQmFiaWUsRWxlZ2FudCBQcml2YXRlIFJvb20gaW4gYSBNb2Rlcm4gTHV4dXJ5IEJ1bmdhbG93LCwsVVNELDE3NC42MCwsNS40MCwzMC4wMCwxODAuMDAsMjUuMg0KMTAvMjIvMjAxOCxSZXNlcnZhdGlvbixITVdSRk1KNU1LLDEwLzIxLzIwMTgsNCxHYWJyaWVsbGEgRGFsdG9uLEVsZWdhbnQgUHJpdmF0ZSBSb29tIGluIGEgTW9kZXJuIEx1eHVyeSBCdW5nYWxvdywsLFVTRCwxNjQuOTAsLDUuMTAsMzAuMDAsMTcwLjAwLDIzLjgNCjEwLzE4LzIwMTgsUmVzZXJ2YXRpb24sSE1NUFk4UDJRRiwxMC8xNy8yMDE4LDQsUMOpdGVyIFZhcmdhLEVsZWdhbnQgUHJpdmF0ZSBSb29tIGluIGEgTW9kZXJuIEx1eHVyeSBCdW5nYWxvdywsLFVT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GTk04RFcsMTAvMDMvMjAxOCw2LFNhbmRybyBDemVrYWksRWxlZ2FudCBQcml2YXRlIFJvb20gaW4gYSBNb2Rlcm4gTHV4dXJ5IEJ1bmdhbG93LCwsVVNELDM3OC4zMCwsMTEuNzAsMzAuMDAsMzkwLjAwLDU0LjYNCjEwLzAxLzIwMTgsUmVzZXJ2YXRpb24sSE1UUzk0Uk1FMywwOS8zMC8yMDE4LDMsQnJhbmRlbiBIaWNrcyxFbGVnYW50IFByaXZhdGUgUm9vbSBpbiBhIE1vZGVybiBMdXh1cnkgQnVuZ2Fsb3csLCxVU0QsMTE2LjQwLCwzLjYwLDMwLjAwLDEyMC4wMCwxNi44DQo
It's the _ that messes up the result. Everything else is perfectly fine base64 encoded. The base64 code table doesn't contain a _, it is a substitiution character for / in base64url encoding.
When you replace _ with / the decoding works fine.
When I tested it on https://www.base64decode.org/ and chose ASCII as the source character set, I got  in front of the text, which is the byte order mark for UTF-8. When I changed to utf-8, there was nothing visible in front of the text.
A short test in node.js also proves that '77u/' is indeed the base64 code of the BOM:
var messageB64 ='77u/'
var buf = Buffer.from(messageB64, 'base64');
console.log(buf) // output: <Buffer ef bb bf>
Conclusion:
your data is base64url decoded
you should change it back to base64 code before you decode
the extra characters are a harmless byte order marker which is invisible if you use utf-8 encoding.

I have encoded string but i don't know what type is it

I have two encoded strings that used same encoding method but i don't know what type it is.
I have tried using base64 decode but it didn't work.
This is the first encoded string I have 3qpY0Vw86MZykGfqc7jnVg==
This is the second encoded string I have nB6dtl3iA5IE1Z+g9SpBrw==
They are using same encoding method.
I want to know what type of encoding that used in that strings. Also I want to know how to decode it.
Those base64 payload may be containing something else than a string, like a raw binary, an image, a ciphered payload, etc. that can't be displayed as text.
base64 is not exclusively used to encode text.
For example to save to a file:
$ printf %s 'iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAA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gM8ICPAZAQG+Avgv4WYH0htgNTQAAAAASUVORK5CYII=' | base64 -d > stackoverflow.png

MIME base64 encoding ambiguity in rfc2045

According to MIME base64 encoding specified in rfc2045, the base64 encoded data must be split in lines of at most 76 characters.
When decoding, all characters not belonging to the base64 alphabet must ne ignored.
How do we determine the end of MIME base64 encoded data ?
When you've found the start of a base64 encoded object, it should always be possible to find the end without decoding it. Examples:
You might have an email message whose top-level encoding is base64. In that case, the end of the base64 stuff is the end of the body. The end of the body is recognized not by any internal structure, but by the lone . at the end of the SMTP DATA.
If you're reading an email message from an mbox file instead of receiving it via SMTP, the mbox format is responsible for telling you where the end of the message is.
If you have a multipart email body with one part base64, you can scan for the multipart boundary first to find the end of the body part, then pass the whole body part to the base64 decoder.
Similarly, if you have an RFC2047-encoded header with base64, you can find the terminating =? first, then pass the encoded portion to the base64 decoder.
Because the terminators are already identified before base64 decoding begins, the decoder never sees the terminator, so the rule "characters not belonging to the base64 alphabet" is not relevant.
The 2 steps of finding the end of the base64 data and decoding can be combined into a single loop over the input, for efficiency. But conceptually they are separate.

Base64 decode gives garbled result

I copy and paste a text from the web that is base64 encoded to this site http://www.motobit.com/util/base64-decoder-encoder.asp ,
but it gives a strange result , it look like a garbled.
May i ask ....how can i decode the text correctly , thank you.
nUł"˘ÂUÓ"…F˙i+Şž›‘Ş˘éăŁqëKĄ®qâ %˘ dŞn‘ĄŐňŢ^{łcąWq\)ńÂÔ€
Here is the base64 encoded text
blWzIh+iwgYbVdODDyKFRv9pFCuqnpuRqqLp46Nx60ulrnHioCWiIARk-qm6RpdUB8t5ee7NjG7lXcVwp8cLUg==

Disociate an image and text from a base64 encoded string

I'm coding an API in ASP.NET that receives base64 encoded string to parse them into a DB. My problem is the following : these strings contain both an image and some text following it and I cannot find a way to separate them to then process he text part. Of course I have no possibility of changing the format.. So I was wondering if someone had an idea or a tool to detect the begining and end of the image and the text parts?
Here is a sample :
HShIBgAwMEFCQ0QAAAAAAAAAAAAAAAAAAAAAAAAAAA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D____8AAP_4AAB_-AAAAAAAAAAAAf______g______wAA_____4AAB_____gAD__AAAf_gAAAAAAAAAAAH______4P_____-AAf_____gAA_____8AA__wAAH_4AAAAAAAAAAAB______-D______wAP_____4AAf_____wAP_-AAB_-AAAAAAAAAAAAf______g______-AD______AAP_____8AD__gAAf_gAAAAAAAAAAAH______4P______wB______4AH______gA__8AAH_4AAAAAAAAAAAB______-D______-A__4AP_-AD__8D__8AP__gAB_-AAAAAAAAAAAAf_gAAAAA__AAf__wP_4AA__wA__4AH__gD__4AAf_gAAAAAAAAAAAH_4AAAAAP_wAAf_8D_8AAH_8Af_4AAf_4A___AAH_4AAAAAAAAAAAB_-AAAAAD_8AAB__g_-AAA__AP_8AAD__AP__wAB_-AAAAAAAAAAAAf_gAAAAA__AAAP_4f_gAAP_wD_-AAAf_wD__-AAf_gAAAAAAAAAAAH_4AAAAAP_wAAB_-H_4AAB_-A__AAAD_-A___wAH_4AAAAAAAAAAAB_-AAAAAD_8AAAf_h_-AAAf_gf_wAAAf_gP__8AB_-AAAAAAAAAAAAf_gAAAAA__AAAD_4f_gAAH_4H_4AAAH_4D___gAf_gAAAAAAAAAAAH_4AAAAAP_wAAA__H_8AAAAAD_-AAAA__A___4AH_4AAAAAAAAAAAB_-AAAAAD_8AAAP_w__AAAAAA__AAAAP_wP___AB_-AAAAAAAAAAAAf_gAAAAA__AAAD_8P_8AAAAAP_wAAAD_8D_7_4Af_gAAAAAAAAAAAH_4AAAAAP_wAAA__D__wAAAAD_8AAAAf_A_-_-AH_4AAAAAAAAAAAB_-AAAAAD_8AAAP_w___wAAAA_-AAAAH_4P_v_wB_-AAAAAAAAAAAAf_____4A__AAAD_8H___gAAAf_gAAAB_-D_5_8Af_gAAAAAAAAAAAH______gP_wAAA_-B____gAAH_4AAAAf_g_-f_gH_4AAAAAAAAAAAB______4D_8AAAf_gP____gAB_-AAAAH_4P_j_8B_-AAAAAAAAAAAAf_____-A__AAAP_4B_____AAf_gAAAA_-D_4__Af_gAAAAAAAAAAAH______gP_wAAH_-AP____8AH_4AAAAP_g_-H_4H_4AAAAAAAAAAAB______4D_8AAD__AB_____wB_-AAAAD_4P_h_-B_-AAAAAAAAAAAAf_____-A__AAD__wAH____-Af_AAAAA_-D_4P_wf_gAAAAAAAAAAAH______gP_4Af__4AAf____wH_wAAAAP_h_-D_8H_4AAAAAAAAAAAB______4D______-AAA____-B_-AAAAD_4f_gf_h_-AAAAAAAAAAAAf_____-A_______AAAB____wf_gAAAA_-D_4H_4f_AAAAAAAAAAAAH_4AAAAAP______gAAAB___-H_4AAAAP_h_-A__H_wAAAAAAAAAAAB_-AAAAAD______wAAAAB___h_-AAAAH_4P_gH_x_8AAAAAAAAAAAAf_gAAAAA______4AAAAAD__8f_gAAAB_-H_4B_-f_AAAAAAAAAAAAH_4AAAAAP_____8AAAAAAP__H_4AAAAf_h_-AP_n_wAAAAAAAAAAAB_-AAAAAD_____8AAAAAAA__w_-AAAAH_4f_gD_9_8AAAAAAAAAAAAf_gAAAAA_____8AAAAAAAH_8P_wAAAD_8D_4Af_f_AAAAAAAAAAAAH_4AAAAAP____4AAf_gAAA__D_8AAAA__B_-AD_7_wAAAAAAAAAAAB_-AAAAAD_8AAAAAH_4AAAH_w__AAAAP_wf_gA_-_8AAAAAAAAAAAAf_gAAAAA_-AAAAAB_-AAAB_8H_4AAAH_8H_4AH___AAAAAAAAAAAAH_4AAAAAP_gAAAAAP_gAAAf_B_-AAAB_-A_-AB___wAAAAAAAAAAAB_-AAAAAD_4AAAAAD_8AAAH_wf_wAAA__gf_gAP__8AAAAAAAAAAAAf_gAAAAA_-AAAAAA__AAAB_8D_-AAAP_wH_4AB___AAAAAAAAAAAAH_4AAAAAP_gAAAAAP_4AAA__A__wAAH_8B_-AAf__wAAAAAAAAAAAB_-AAAAAD_4AAAAAB__AAAf_wH_-AAD_-Af_gAD__8AAAAAAAAAAAAf______g_-AAAAAAf_8AAP_4B__wAD__gH_4AA___AAAAAAAAAAAAH______4P_gAAAAAH__wAf_-AP__AD__wB_-AAH__wAAAAAAAAAAAB______-D_4AAAAAA_______AB______8Af_gAA__8AAAAAAAAAAAAf______g_-AAAAAAH______wAf_____-AH_4AAP__AAAAAAAAAAAAH______4P_gAAAAAA______4AD______AB_-AAB__wAAAAAAAAAAAB______-D_4AAAAAAH_____8AAf_____gAf_gAAf_8AAAAAAAAAAAAf______g_-AAAAAAA_____-AAD_____wAH_4AAD__AAAAAAAAAAAAH______4P_gAAAAAAH_____AAAP____4AB_-AAA__wAAAAAAAAAAAB______-D_4AAAAAAAf____AAAB____4AAP_gAAH_8AAAAAAAAAAAAf______g_-AAAAAAAB____AAAAH___4AAD_4AAA__AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD__-AAAAAf__4AAA_-AAAP_wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH_0AAAAAA__gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAf_HAQD4AgEIEgIAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH_x4OD_gf_D_8P_AB4Dh_gOA4f-ABwHHA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAdKEwCADAyG3QACht0AEVQU09OIEVVUk9QRSBTSE9QG3QACht0AE90dG8tSGFobiA0G3QACht0AE1lZXJidXNjaBt0AAobdAA0OSA1NTUgNTg0IDExOTUbdAAKCht0AFRoYW5rIHlvdSBmb3Igc2hvcHBpbmcbdAAKG3QAUGxlYXNlIHZpc2l0IHVzIGFnYWluIHNvb24bdAAKCht0ADIwMTUvMTAvMzAgMTg6MTkbdAAKG3QACht0AEVQU09OIFdvcmtGb3JjZSBXUC00G3QAICAxG3QAIBt0ACAgICAgICAgIBt0EIAyNjIbdBAKCh0hEBt0EE5FVB0hABt0ECAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIIAyNTAbdBAKHSEQG3QQVEFYHSEAG3QQICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIIAxMht0EAodIRAbdBBUT1RBTBt0ECAgICAgICAgICAggDI2Mh0hABt0EAoKG3QQQ0FTSBt0ECAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICCAMzAwG3QQCh0hEBt0EENIQU5HRRt0ECAgICAgICAgICAggDM4HSEAG3QQCgobYQEbZAMdVkIA
I cannot comment, so I post this as an answer:
You could decode the base64 encoded string to binary and try to detect the magic number of the image (assuming it has one). if it is an JPEG image it has a start and end signature. a BMP has the size of the image encoded into the header.

Resources