Operation Oni
Challenge
Download this disk image, find the key and log into the remote machine. Note: if you are using the webshell, download and extract the disk image into /tmp not your home directory.
Remote machine:
ssh -i key_file -p 65529 [email protected]
Solution
We can decompress the disk image with
gunzip disk.img.gzand then mount it withsudo kpartx -av disk.img.In the mounted volume, the key is in
/root/.ssh/id_ed25519. We can save this to a file calledkey_file.Finally, run the given
sshcommand. The flag is stored inflag.txtin the current directory.
Last updated
Was this helpful?