eepyeunomia / PyPrompt

A DEAD terminal made in Python 3 and a waste of storage space on github's servers :sob:
GNU General Public License v3.0
2 stars 3 forks source link

Function `system32nuker` in `main.py - 1091:0` #15

Open therealandreww opened 1 year ago

therealandreww commented 1 year ago

If this was for a joke, I can accept it. Below are the issues the function defined in main.py line 1091 character 0 is non-required and is non-safe. Please note that these are predicted errors from a thorough examination of the code.

  1. In my expectations, the following code will and should not work, as trying to delete all files recursively will cause a crash of the command execution process, as it will overhaul in terms of memory.
  2. Trying to delete System32, a protected folder, recursively, will decline in access to bulk deletion. Deleting a protected operating-system folder through only administrator permissions, will fail. Although going around this problem and creating an elevated NT AUTHORITY\SYSTEM process using a third-party Python toolkit will allow some files to delete, is just unsecure.
  3. This function is not-needed. It is not certain how much damage this function/command may perform with only admin perms.
  4. The same is for the function bsod. I can guarantee that the bsod function//command will and should work as expected, however it is simply not-required. Who will ever run a BSOD? What did you expect? A more "traditional way" to reboot? No.
eepyeunomia commented 1 year ago

what did you honestly expect i (still am) an idiot developer 🙃🙃