module

Linux Set Hostname

Disclosed
N/A
Created
Jul 6, 2025

Description

Sets the hostname of the machine.

Author

Muzaffer Umut ŞAHİN [email protected]

Platform

Linux

Architectures

x64

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