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

module

Powershell Base64 Command Encoder

Disclosed
N/A
Created
May 30, 2018

Description

This encodes the command as a base64 encoded command for powershell.

Author

Ben Campbell [email protected]

Platform

Windows

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 encoder/cmd/powershell_base64
msf encoder(powershell_base64) > show actions
...actions...
msf encoder(powershell_base64) > set ACTION < action-name >
msf encoder(powershell_base64) > show options
...show and set options...
msf encoder(powershell_base64) > 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.