Tryhackme-RootMe

RootMe

Task1 Deploy the machine

Deploy the machine

Task2 Reconnaissance

image-20210923150109925

1.Scan the machine, how many ports are open?

2

2.What version of Apache is running?

2.4.29

3.What service is running on port 22?

ssh

4.Find directories on the web server using the GoBuster tool.

5.What is the hidden directory?

image-20210923145017396

/panel/

Task3 Getting a shell

在http://IP/panel页面上传后缀为php5的文件绕过限制,反弹shell成功

image-20210923153333840

image-20210923153611874

user.txt

THM{y0u_g0t_a_sh3ll}

Task4 Privilege escalation

1.Search for files with SUID permission, which file is weird?

/usr/bin/python

find / -user root -perm /4000

image-20210923154423295

2.Find a form to escalate your privileges.

image-20210923154804960

image-20210923154818531

3.root.txt

THM{pr1v1l3g3_3sc4l4t10n}

-1632389193904)]

3.root.txt

THM{pr1v1l3g3_3sc4l4t10n}

image-20210923154855728

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值