搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

View message source after base64 decoding?

more options

Wanted to inspect the source of a suspicious email, but the body is just displaying as a block of base64 text in View Source. (When viewing the message in the main window, it's all text but for a couple of hyperlinks.) Is there a way to view the base64-decoded but not HTML-rendered source?

Wanted to inspect the source of a suspicious email, but the body is just displaying as a block of base64 text in View Source. (When viewing the message in the main window, it's all text but for a couple of hyperlinks.) Is there a way to view the base64-decoded but not HTML-rendered source?

被選擇的解決方法

I use Notepad++. Under plugins, it has a mime encoding/decoding option and can decode the base64 content. It usually turns into html. If it is really mischievous, it may have java script doohickeys that are intended to convert or generate text on the fly.

Take care to copy and paste (or select) accurately . The decoder knows that the number of characters in base64 content will always be divisible by four and will refuse to run if you select or paste in too many or too few characters.

從原來的回覆中察看解決方案 👍 0

所有回覆 (2)

more options

選擇的解決方法

I use Notepad++. Under plugins, it has a mime encoding/decoding option and can decode the base64 content. It usually turns into html. If it is really mischievous, it may have java script doohickeys that are intended to convert or generate text on the fly.

Take care to copy and paste (or select) accurately . The decoder knows that the number of characters in base64 content will always be divisible by four and will refuse to run if you select or paste in too many or too few characters.

more options

So, again, the answer appears to be "no".  :-( (I say "again" because of another posted question of mine about functionality.)

I do appreciate the response. Thanks for taking the time.

For future readers, I found a site that decodes base64 blocks: https://www.base64decode.org/. Just copy, then paste into the field on the page and hit DECODE.

In your scenario, Zenos, will Notepad++ interpret (run) the javascript? Just curious. But if so, yikes! (I'm only interested in seeing the textual representation.)