On Wed, Oct 25, 2017 at 20:59 Steven Pollock <jacksonp2...@gmail.com> wrote:

> Running into a snag with this, could use some help.
>
> http://11.26.56.131:8080/guacamole/#/client/MwBjAG15c3Fs/?username=
> secretuser&password=secretpassword
>
> --this works in the URL
> echo 'MwBjAG15c3Fs' | base64 -d
>
> *3cmysql*
>
> However, reversing, that is trying to create the base64 encoding does not.
>
> echo '3cmysql' | base64
>
> *M2NteXNxbAo=*
>
> Anyone know how to properly encode?
>

The encoding is a combination of three things:
- ConnectIon ID (3)
- Type (c)
- Datasource name (MySQL)

They are separated by a null terminator (\0), which is what you're missing
when you try the echo command above.

-Nick

Reply via email to