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
!!calc item
eval()
if len(ctx) == 1:
!!calc item __import__("os").system("echo Hello!")
!!calc item __import__("os").system("echo+chr(32)+Hello!")
`
The text was updated successfully, but these errors were encountered:
444dd85
Successfully merging a pull request may close this issue.
#48 中的问题并未完全解决
在命令
!!calc item
中,eval()
的执行未经过滤。但由于参数分割及if len(ctx) == 1:
的限制,使得形如!!calc item __import__("os").system("echo Hello!")
含有空格的指令无法被eval()
执行。但仍可通过字符拼接的方式成功执行:!!calc item __import__("os").system("echo+chr(32)+Hello!")
`
The text was updated successfully, but these errors were encountered: