0
点赞
收藏
分享

微信扫一扫

【CTF刷题9】2024.10.19

北冥有一鲲 2024-11-05 阅读 20
[MoeCTF 2021]babyRCE
 <?php

$rce = $_GET['rce'];
if (isset($rce)) {
if (!preg_match("/cat|more|less|head|tac|tail|nl|od|vi|vim|sort|flag| |\;|[0-9]|\*|\`|\%|\>|\<|\'|\"/i", $rce)) {
system($rce);
}else {
echo "hhhhhhacker!!!"."\n";
}
} else {
highlight_file(__FILE__);
}

image-20241019170841483

image-20241019170919138

command_execution

image-20241019182142415

image-20241019182650673

image-20241019182844520

image-20241019183259450

image-20241019183409397

image-20241019183459124

image-20241019173221179

cyberpeace{ac541782e73fa1da4a98ec4bc3449fb1}
举报

相关推荐

0 条评论