This repository contains a Docker image and an helper script to get quickly started with the mruby exploitation workshop. To get started, simply run:
$ bin/mruby hello.rb
and you should see: Hello world!
printed back. Congratulation, you just ran
the vulnerable mruby engine!
You can also use the -v
flag to log every allocation made in the mruby heap.
The gdb
command is available to start mruby through gdb:
bin/mruby gdb hello.rb
.
Finally, the mirb
command is available to spawn an interractive REPL within
mruby.
This project is forked from isra17/mruby-workshop
Slides: https://docs.google.com/presentation/d/1wg5ny_Dd47TnsF7F8LjGEEobSPuwBjpbziQM6h_-Vzs/edit#slide=id.p script hacking with examples chrome, safari and so on.