module

Python Exec, Python Meterpreter, Python Reverse TCP Stager

Disclosed
N/A
Created
2022-03-16

Description

Execute a Python payload from a command.

Run a meterpreter server in Python (compatible with 2.5-2.7 & 3.1+).

Connect back to the attacker

Author

Spencer McIntyre

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