-
Notifications
You must be signed in to change notification settings - Fork 991
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
[ISSUE] /upload lets you pick (and delete!) arbitrary files from the host #129
Comments
the bot should only be used in small groups, by trusted users, also, /upload requires administrator priveleges in the group, so I don't think this is an issue 😬🤔 |
If you don't understand its importance, then you should stop programming |
i understand, but the command is triggered by a "human" and not a bot. also, please read this: https://t.me/c/1378533090/16624 before judging the intentions of this repository. |
No matter who executes the command, it is too dangerous, a program should be made with safety first of all. I don't care what you are doing with your repo, I care that you are spreading software with one (or more) backdoors to unaware users. (Even if you didn't do it on purpose, it's technically a backdoor) |
Is it fine? |
You just removed an empty comment line and tabbed it to have it disabled by default 😅 Probably an idea is to add some sort of "whitelisted paths" into the configuration, if you need to fetch logs off |
/exec and /eval also does the same thing, but a little more dangerous than /upload. I am not sure how would the "fix" be.. |
…1459557988/45270, #129 should be fine, now.
* closes SpEcHiDe#122 and SpEcHiDe#124 * this should probably fix SpEcHiDe#129 🤔😑 * testing fixes * add SUDO users, to fix sensitive commands, Thank You: https://t.me/c/1459557988/45270, SpEcHiDe#129 should be fine, now. * copy from @gautamajay52 * fix requirements * fix one derp, in BUTTONs mode * Fix issues with ytdl on command input mode (SpEcHiDe#140) * fixed issue where format selector menu got removed upon selecting any video format * fixed ValueError on audio format selections * Fix leeching torrent from links (SpEcHiDe#148) * simple fix (SpEcHiDe#150) Co-authored-by: Shrimadhav U K <[email protected]> Co-authored-by: Sayanth Dinesh <[email protected]> Co-authored-by: Sayanth Dinesh <[email protected]> Co-authored-by: GautamKumar <[email protected]>
Describe the issue
As per title
what did you try ?
Steps to reproduce the behavior:
/upload /etc/passwd
Expected behavior
Bot shouldn't pick files coming from outside the setup download directory.
Beware, you can even do
/upload tobrot
to remotely break someone's instance, it'll recurse into the entire tree, upload all files and delete everythingThe text was updated successfully, but these errors were encountered: