krish – 起死回生 [Wake up from death & return to life.]

April 5, 2012

base64 decode without terminal

Filed under: H@ck1n` — krish @ 6:52 pm
Tags: , , , , , ,

So  I got a base64 text which I’m supposed to decode and I thought “Ok! Let me use `base64` binary on terminal and write a small script which I will run when I need to decode it”..  Wait, I need to drop this script in binary path so that I can use it as a command without absolute/relative path traverse when in middle of work.

So far so good.. but it struck me that my browsers are always open and get this text from a url. Why don’t I skip all this and do this on the browser… is it possible?

Let’s say my base64 code is ZmFjZWJvb2suY29tL2Rhcy5zcmlrcmlzaG5hDQp0d2l0dGVyLmNvbS9zcmlrcmlzaG5hZGFz

Open a tab and on url type

data:text/plain;base64,ZmFjZWJvb2suY29tL2Rhcy5zcmlrcmlzaG5hDQp0d2l0dGVyLmNvbS9zcmlrcmlzaG5hZGFz

Wolah! Done. :D

Think Different! ;)

Read more on MIME types here - http://en.wikipedia.org/wiki/Internet_media_type

Theme: Rubric. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: