module

Python Exec, Command Shell, Reverse TCP SSL (via python)

Disclosed
N/A
Created
2022-03-16

Description

Execute a Python payload from a command.

Creates an interactive shell via Python, uses SSL, encodes with base64 by design. Compatible with Python 2.6-2.7 and 3.4+.

Authors

Spencer McIntyre
RageLtMan rageltman@sempervictus

Platform

Unix

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 payload/cmd/unix/python/shell_reverse_tcp_ssl
msf payload(shell_reverse_tcp_ssl) > show actions
...actions...
msf payload(shell_reverse_tcp_ssl) > set ACTION < action-name >
msf payload(shell_reverse_tcp_ssl) > show options
...show and set options...
msf payload(shell_reverse_tcp_ssl) > run

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.