Welcome! Log In Create A New Profile

Advanced

Re: nginx uid decoding using Base64.decode64

dhaval d.
September 09, 2011 04:36PM
Hello Maxim,
Thanks a lot for your reply. Because of which I was able to
figure out the way to decode it. Here is the snippet for those who wants
to know.

cookie = "CqCx7E5qMNUxrmAUAwMJAg=="

Base64.decode64(cookie).unpack("L*").collect{|num|
num.to_s(16)}.join("").upcase

--
Posted via http://www.ruby-forum.com/.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx uid decoding using Base64.decode64

dhaval d. September 09, 2011 01:36PM

Re: nginx uid decoding using Base64.decode64

Maxim Dounin September 09, 2011 02:12PM

Re: nginx uid decoding using Base64.decode64

dhaval d. September 09, 2011 04:36PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 160
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready