xdavidhu / lanGhost

👻 A LAN dropbox chatbot controllable via Telegram
MIT License
353 stars 60 forks source link

A remote wipe command #12

Open moosehadley opened 6 years ago

moosehadley commented 6 years ago

How difficult would it be to add a command that would wipe the SD card?

For example, you send the command /wipe it responds "Are you sure?" you respond "yes" it preforms "sudo dd if=/dev/urandom of=/dev/mmcblk0" or something similar

xdavidhu commented 6 years ago

Thanks, that's a great idea!

I will try to add it when I'll have time as maybe a hidden command, so people clicking every command in the help will not execute it accidentally. Also PRs are welcome ;)