Rapid7’s 2026 Global Cybersecurity Summit is now available on-demand.Watch sessions.
Rapid7

module

Firefox XPCOM Execute Command

Disclosed
N/A
Created
May 30, 2018

Description

This module runs a shell command on the target OS without touching the disk.
On Windows, this command will flash the command prompt momentarily.
This can be avoided by setting WSCRIPT to true, which drops a jscript
"launcher" to disk that hides the prompt.

Platform

Firefox

Architectures

firefox

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 payload/firefox/exec
msf payload(exec) > show actions
...actions...
msf payload(exec) > set ACTION < action-name >
msf payload(exec) > show options
...show and set options...
msf payload(exec) > run

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.