[http://byte-off.com/golang/picoctf-enter-the-matrix-writeup/](http://byte-off.com/golang/picoctf-enter-the-matrix-writeup/)
Here are a few Hints
1. Try playing with different non-symmetrical matrices.2. You can ssh into the machine that is running the challenge.3. gdb will give you incorrect libc offsets for outside of gdb.4. On that machine you can use “readelf -s /lib32/libc.so.6” to get function offsets for anything you need.5. Free is passed a pointer to data you control.
For the whole writeup, and a working answer and explination, read here:[http://byte-off.com/golang/picoctf-enter-the-matrix-writeup/](http://byte-off.com/golang/picoctf-enter-the-matrix-writeup/)