SSH


Testing and validating the credential of the wesley user

┌──(kali㉿kali)-[~/archive/htb/labs/download]
└─$ ssh wesley@download.htb                     
The authenticity of host 'download.htb (10.10.11.226)' can't be established.
ed25519 key fingerprint is sha256:I0UEhPwwqSoDLGgboDmJ5hAHx5IJs4Fj4g8KDbJtjEo.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
warning: Permanently added 'download.htb' (ED25519) to the list of known hosts.
wesley@download.htb's password: 
Welcome to Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-155-generic x86_64)
 
 * documentation:  https://help.ubuntu.com
 * management:     https://landscape.canonical.com
 * support:        https://ubuntu.com/advantage
 
  system information as of wed 09 aug 2023 01:47:20 PM UTC
 
  system load:           0.06
  usage of /:            57.5% of 5.81GB
  memory usage:          17%
  swap usage:            0%
  processes:             303
  users logged in:       0
  ipv4 address for eth0: 10.10.11.226
  ipv6 address for eth0: dead:beef::250:56ff:feb9:ac48
 
 
Expanded Security Maintenance for Applications is not enabled.
 
0 updates can be applied immediately.
 
Enable ESM Apps to receive additional future security updates.
see https://ubuntu.com/esm or run: sudo pro status
 
 
The list of available updates is more than a week old.
to check for new updates run: sudo apt update
failed to connect to https://changelogs.ubuntu.com/meta-release-lts. Check your Internet connection or proxy settings
 
 
last login: Wed Aug  9 12:07:06 2023 from 10.10.14.20
wesley@download:~$ whoami
wesley
wesley@download:~$ hostname
download
wesley@download:~$ ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.10.11.226  netmask 255.255.254.0  broadcast 10.10.11.255
        inet6 dead:beef::250:56ff:feb9:ac48  prefixlen 64  scopeid 0x0<global>
        inet6 fe80::250:56ff:feb9:ac48  prefixlen 64  scopeid 0x20<link>
        ether 00:50:56:b9:ac:48  txqueuelen 1000  (Ethernet)
        RX packets 2527  bytes 243490 (243.4 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 3579  bytes 339389 (339.3 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
 
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 17040  bytes 2507684 (2.5 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 17040  bytes 2507684 (2.5 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Password reuse confirmed for the wesley user Initial foothold established to the target system as the wesley user via SSH