diff --git a/1337_file.txt b/1337_file.txt index 2365953..aebcfd4 100644 --- a/1337_file.txt +++ b/1337_file.txt @@ -158,6 +158,11 @@ echo -n "$hash$xyz" | cut -d "-" -f 1 > hash.txt john --wordlist=/usr/share/wordlists/rockyou.txt crack.hash +# save root (ROOT) +sudo chattr +i /root/flag.txt +ps +sudo kill -9 PID + # Linux PwnKit (linux, policy kit, root) Source: https://github.com/ly4k/PwnKit @@ -190,7 +195,6 @@ export PATH=/tmp:$PATH find / -perm -4000 2>/dev/null bash -p - From user to root (Privilege Escalation) find / -perm +6000 2>/dev/null