Book of BugBounty Tips
Search...
Ctrl
K
Linux
Previous
Windows
Next
Burp suite
Last updated
4 years ago
what are the substitutes 4 whoami cmd in #linux #bash 1) cat /proc/$$/status | grep -i uid (second number is euid) 2) echo $EUID 3) echo $USER 4) id 5) ([[ -r /root ]] && echo "root") || echo "not root" (check read access to home dir of a user, in this case root)