上传文件至 src
This commit is contained in:
commit
f72c9e195b
3
src/flag.sh
Normal file
3
src/flag.sh
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
sed -i "s/FLAGFLAGFLAG/$GZCTF_FLAG/" /var/www/html/flllllllllllllag.txt
|
||||||
|
export GZCTF_FLAG=""
|
1
src/flllllllllllllag.txt
Normal file
1
src/flllllllllllllag.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
FLAGFLAGFLAG
|
15
src/index.php
Normal file
15
src/index.php
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<?php
|
||||||
|
if(isset($_GET['jiangsir'])){
|
||||||
|
$code=$_GET['jiangsir'];
|
||||||
|
if (!preg_match('/sys|pas|read|file|ls|cat|tac|head|tail|more|less|php|base|echo|cp|\$|\*|\+|\^|scan|\.|local|next|all|hex2bin|im|shell/i',$code)){
|
||||||
|
echo '如果你这么做jiangsir会告诉你不可以!!';echo '<br>';
|
||||||
|
eval($jiangsir);
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
die("额你在幻想些什么??");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
echo "孩子别学了......";
|
||||||
|
show_source(__FILE__);
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user