Skip to content

Commit

Permalink
king of the hill stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
leetcore committed Aug 12, 2023
1 parent c74b537 commit 2653b87
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion 1337_file.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 2653b87

Please sign in to comment.