Hack the box靶机 IrkedHack the box靶机 Irked

nmap扫描完我就觉得突破口在irc
但是没有任何信息啊
再找找

Hack the box靶机 Irked

看见了
unreal3.2.8.1
找一下漏洞

Hack the box靶机 Irked

看来需要用msf了

Hack the box靶机 Irked

漏洞利用成功

Hack the box靶机 IrkedHack the box靶机 Irked

steg:UPupDOWNdownLRlrBAbaSSss
还需要**才能登录

Hack the box靶机 Irked

搜了一下steg
是个工具
而且主页就一个图片
尝试一下
得到了一个pass.txt文件

Hack the box靶机 Irked

让输入密码的话
密码就是上面咱们得到的那个
他并不是账号

Hack the box靶机 Irked

切换用户了
猜错了
以为要ssh连接呢

Hack the box靶机 Irked

拿到user.txt
现在想办法提权

Hack the box靶机 Irked

发现/usr/bin/viewuser
等了半天
发现网断了

Hack the box靶机 Irked

刚学到
scp远程复制文件

Hack the box靶机 Irked

发现他调用了/tmp/listusers

Hack the box靶机 Irked

当/usr/bin/viewuser调用/tmp/listusers时
使用的是root权限
所以在/tmp/listusers中加入代码
就可以得到root权限了
也可以选择上传你自己的脚本
替换文件
这种东西就是看你能不能找到系统的错误在哪
然后利用就行了

相关文章:

  • 2021-12-16
  • 2021-06-16
  • 2021-07-24
  • 2021-09-17
  • 2022-01-10
  • 2021-07-14
  • 2021-07-30
  • 2021-05-17
猜你喜欢
  • 2021-11-13
  • 2021-10-04
  • 2021-07-07
  • 2022-01-13
  • 2021-09-29
  • 2021-08-13
  • 2021-04-04
相关资源
相似解决方案