[LRUG] Ruby prison escape challenge

Mark Burns markthedeveloper at gmail.com
Wed Jul 11 15:06:01 PDT 2018


(Spoiler in the gist history)

https://gist.github.com/markburns/774b2fd52860c22b00371d5a08b29579

Anyone getting the docker error
You can run in irb to your heart's content with a character count output
too.

```
load "./prison_break.rb"; perform_test
```

Without reading first, I went down a lot of the same avenues as people here
to end up with something facepalm-ingly similar to (but worse than)
Bestie's.


...
.











.
.
.
u=prison.method:unlock;u.curry.yield *3.times.map{|i|if i==0;22 elsif
i==1;"secret"else self;end}

On Wed, Jul 11, 2018 at 9:37 PM Adam Cryer <ad.mat.cryer at gmail.com> wrote:

> Thanks so much for this. I want more! Bucket loads of fun.
>
> Was gutted when I saw the docker connect error. I’d been on a flight
> before I could solve it.
>
> Ta
> Adam
>
> On Wed, 11 Jul 2018 at 18:46, Marek L <nospam.keram at gmail.com> wrote:
>
>> If by any chance the good person who meanwhile took the heroku app
>> name "ruby-prison-break" is here and can delete it I will deploy new
>> version soon as I will have time to clear the database
>> and put more restrictions on the payload to prevent people to do bad
>> things again,
>>
>> Just try.. .)
>> _______________________________________________
>> 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
>>
> _______________________________________________
> 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/75c9f767/attachment-0002.html>


More information about the Chat mailing list