Vulnerability & Exploit Database

Back to search

Linux Manage Download and Execute

This module downloads and runs a file with bash. It first tries to uses curl as its HTTP client and then wget if it's not found. Bash found in the PATH is used to execute the file.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name



  • Joshua D. Abraham <jabra [at]>


  • linux



Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use post/linux/manage/download_exec msf post(download_exec) > sessions ...sessions... msf post(download_exec) > set SESSION <session-id> msf post(download_exec) > show options and set options... msf post(download_exec) > run