[LRUG] Ruby prison escape challenge

Paolo Fabbri jabawack81 at gmail.com
Wed Jul 11 06:06:23 PDT 2018


Real funny and now that I see other people response I'm not feel so 
smart on my it look's too simple.
I woul love at some point to be able to see all the other responses.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
prison.send :unlock,11,"secret",self
On 11/07/18 13:52, Stephen Best wrote:
> That was really fun, thanks for sharing! Unfortunately I'm getting an 
> application error when I submit.
>
> Copying the runtime code you provided I can say this solution "works 
> on my machine" :D
>
> I managed 51 chars. Will you be sharing the solutions soon?
>
> I've copied Rob's very considerate spoiler mitigation tactic
>
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> u=prison.method :unlock;u.curry[11]["secret"][self]
>
> On Wed, 11 Jul 2018 at 14:08, Rob Miller <rob at bigfish.co.uk 
> <mailto:rob at bigfish.co.uk>> wrote:
>
>     Nice challenge! Best I can do is 87, thought I suspect there’s a
>     much cleverer approach that I haven’t thought of…
>
>     My solution (after a few linebreaks so people can ignore spoilers
>     if they want to):
>
>     .
>     .
>     .
>     .
>     .
>     .
>     .
>     .
>     .
>     .
>     .
>     .
>     .
>     .
>     .
>     .
>     .
>
>     |payload = Class.new{def
>     to_str;caller[0]=~/m/?"":"prison.send(:unlock,22,'secret',self)"end;}.new
>     |
>
>     On 11 Jul 2018, at 11:23, Marek L wrote:
>
>         Hello, lrug-ers.
>         Hope you are enjoying summer and Ruby.
>         I have created a small fun challenge that I thought you may
>         enjoy as well.
>
>         https://ruby-prison-break.herokuapp.com/escapes/new
>
>         So far, Matz broke it with incredible 49 characters!
>         Happy hacking and feel free to share.
>         Marek
>         _______________________________________________
>         Chat mailing list
>         Chat at lists.lrug.org <mailto:Chat at lists.lrug.org>
>         Archives: http://lists.lrug.org/pipermail/chat-lrug.org
>         Manage your subscription:
>         http://lists.lrug.org/options.cgi/chat-lrug.org
>         List info: http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>
>     _______________________________________________
>     Chat mailing list
>     Chat at lists.lrug.org <mailto:Chat at lists.lrug.org>
>     Archives: http://lists.lrug.org/pipermail/chat-lrug.org
>     Manage your subscription:
>     http://lists.lrug.org/options.cgi/chat-lrug.org
>     List info: http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>
>
>
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> Archives: http://lists.lrug.org/pipermail/chat-lrug.org
> Manage your subscription: http://lists.lrug.org/options.cgi/chat-lrug.org
> List info: http://lists.lrug.org/listinfo.cgi/chat-lrug.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20180711/6b323d78/attachment-0002.html>


More information about the Chat mailing list