Rapid7

module

VIM Plugin Persistence

Disclosed
Nov 3, 1991
Created
May 8, 2026

Description

This module creates a VIM Plugin which executes a payload on VIM startup.

Author

h00die

Platform

Linux

Architectures

cmd

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 exploit/linux/persistence/vim_plugin
msf exploit(vim_plugin) > show targets
...targets...
msf exploit(vim_plugin) > set TARGET < target-id >
msf exploit(vim_plugin) > show options
...show and set options...
msf exploit(vim_plugin) > exploit

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.