Identifier / Programs / Linux and Unix
mosh-server
GTFOBins shell 1 documented command
How mosh-server is abused
shell
Each abuse is GTFOBins's category and the options and words it uses; the full write-up is on GTFOBins's page for mosh-server.
1 documented command
shell with sudo
This requires a valid SSH access.
mosh --server=mosh-server localhost /bin/shThis command is, with GTFOBins’ notes, from GTFOBins, at commit acd524623f9c of 2026-05-27, under the GPL-3.0, with no warranty. Changed: Markdown is shown formatted. The source is in lolbas-gtfobins-commands.json.gz, and the full entry is on GTFOBins’s page for mosh-server. The identifier reads the line that runs mosh-server.