Photon Lockdown (Hardware)
Squashfs is a compressed read-only file system for Linux. Squashfs compresses files, inodes and directories, and supports block sizes from 4 KiB up to 1 MiB for greater compression. Several compression algorithms are supported. Squashfs is also the name of free software, licensed under the GPL, for accessing Squashfs filesystems.
# mount squashfs filesystems
$ sudo mount --type="squashfs" --options="loop" --source="/home/kali/HTB/challenge/ONT/rootfs" --target="/tmp/rootfs"
$ ls -la /tmp/rootfs
┌──(kali㉿kali)-[/tmp/rootfs]
└─$ find . -type f -exec cat {} \; | grep -arin -o -E '(\w+\W+){0,5}password(\W+\w+){0,5}' .
./etc/config_default.xml:244:PASSWORD" Value="HTB{N0w_Y0u_C4n_L0g1n
┌──(kali㉿kali)-[/tmp/rootfs]
└─$ cat ./etc/config_default.xml | grep -i password
HTB{N0w_Y0u_C4n_L0g1n}
# unmount squashfs file
$ sudo umount --type="squashfs" /tmp/rootfs