为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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.)