当前位置:网站首页>Buuctf [actf2020 freshman competition] include1
Buuctf [actf2020 freshman competition] include1
2022-04-23 09:19:00 【Partition CC】
Open the target and find that

F12 Check source code discovery :url This file may contain a vulnerability ?file=flag.php

Click on tips The page jumps to Can you find out the flag?

Judgment can save php Fake protocol
structure payload The format is as follows
?file=php://../../resource=flag.php
(php://filter" Fake protocol " To include , When combined with an include function ,php://filter Flow will be treated as php File execution . So we usually code it , Prevent it from executing , This results in arbitrary file reads .)
( If you use php://filter Pseudo protocol for File Inclusion , Need to add read=convert.base64-encode To encode the contents of the file )
This topic php The pseudo protocol code is as follows
?file=php://filter/read=convert.base64-encode/resource=flag.php
enter

Get a bunch of Base64 code

utilize Base64 Code conversion tool to convert to flag
Base64 Code conversion tool ,Base64 Encryption and decryption

Big brother, take out your little hand to get rich zan A!
版权声明
本文为[Partition CC]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230630141948.html
边栏推荐
- LeetCode_ DFS_ Medium_ 1254. Count the number of closed islands
- Mini - exercice MySQL (seulement pour les débutants, pas pour les non - débutants)
- Multi view depth estimation by fusing single view depth probability with multi view geometry
- EmuElec 编译总结
- 考研线性代数常见概念、问题总结
- Give the method of instantiating the object to the new object
- Summary of wrong questions 1
- Codeforces Round #784 (Div. 4)
- Bk3633 specification
- Taxable income
猜你喜欢

What is augmented reality technology? Where can it be used?

GoLand debug go use - white record

Go language learning notes - array | go language from scratch

To remember the composition ~ the pre order traversal of binary tree

npm报错 :operation not permitted, mkdir ‘C: \Program Files \node js \node_ cache _ cacache’

Unfortunately, I broke the leader's confidential documents and spit blood to share the code skills of backup files

调包求得每个样本的k个邻居

Experimental report on analysis of overflow vulnerability of assembly language and reverse engineering stack

npm ERR! network

653. 两数之和 IV - 输入 BST
随机推荐
LeetCode396. Rotate array
Summary of common concepts and problems of linear algebra in postgraduate entrance examination
[boutique] using dynamic agent to realize unified transaction management II
2021 Li Hongyi's adaptive learning rate of machine learning
AQS & reentrantlock implementation principle
Kettle experiment (III)
Go language learning notes - structure | go language from scratch
Brief steps to build a website / application using flash and H5
Arbre de dépendance de l'emballage des ressources
Valgrind and kcache grind use run analysis
数据清洗 ETL 工具Kettle的安装
ASUS laptop can't read USB and surf the Internet after reinstalling the system
Kettle实验
First principle mind map
Kettle experiment (III)
小程序报错 :should have url attribute when using navigateTo, redirectTo or switchTab
基于ThinkPHP5版本TRC20-资金归集解决方案
Notes on xctf questions
[original] use system Text. JSON formats the JSON string
108. 将有序数组转换为二叉搜索树