module

Unix Command Shell, Reverse TCP (/dev/tcp)

Disclosed
N/A
Created
2018-05-30

Description

Creates an interactive shell via bash's builtin /dev/tcp.

This will not work on circa 2009 and older Debian-based Linux
distributions (including Ubuntu) because they compile bash
without the /dev/tcp feature.

Author

hdm x@hdm.io

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