aleff-github / my-flipper-shits

Free and libre source BadUSB payloads for Flipper Zero. [Windows, GNU/Linux, iOS]
https://aleff-github.github.io/my-flipper-shits/
GNU General Public License v3.0
1.19k stars 83 forks source link

Shutdown Files #16

Closed NexusWannaBe closed 1 month ago

NexusWannaBe commented 1 month ago

Added some payloads that will shut down PC

aleff-github commented 1 month ago

@NexusWannaBe, I would like to thank you for deciding to support the project by sharing two payloads. Regarding the payloads, I thought of making some changes to spark a discussion and see if they might improve your work (and keep them) or not (and remove them).

Before reading, I invite you to create a README for your payloads. It could be really nice to have a presentation of the payload, even if it's small and brief.

The first change I made was adding a comment in the script referring to you so that everyone knows that you are the one who created the script, not me.

I added the /f parameter, which forces the closure of all open applications without asking for confirmation. (Warning: You might lose unsaved data.)

I replaced a series of DELAYs and the ALT F4 combo with the concatenation of the exit command to reduce delay times.

I removed a delay between typing the command and executing it since the execution (i.e., sending the ENTER command) only happens after the command has been fully typed.

I renamed the files containing the payload to payload.txt to align them with the style of the others.

I renamed the folder Shutdown_1m to Shutdown_After_1_Minute-By_NexusWannaBe to make the payload name clearer (someone might ask what the letter m stands for in the name). Additionally, I added your name at the end so users know that you are the creator, and if they want to give credit, they can give it to you instead of me, who simply revised what you designed and created.

I added the payload to the list of payloads by modifying the two README files.

NexusWannaBe commented 1 month ago

Thanks, the payloads are much more faster now and accurate. I also added README files to the forked version of the payloads list

aleff-github commented 1 month ago

I also added README files to the forked version of the payloads list

@NexusWannaBe Great, I suggest you upload the READMEs inside this pull request otherwise they would not be uploaded.

To do this you simply move inside the pull 16, if you use gh you can simply enter “gh pr checkout 16” in your terminal

NexusWannaBe commented 1 month ago

README (1).MD README.MD here ya go

aleff-github commented 1 month ago

README (1).MD README.MD here ya go

I created for you two README files that explain well the type of script created, have a look at them ;)

I accept the pull request and put it in the main branch

aleff-github commented 1 month ago

Merged just now, you can now find your payloads in these links:

Thank you for voluntarily contributing to the project ^_^

aleff-github commented 1 month ago

Consider to see this new update into the repo home page -> https://github.com/aleff-github/my-flipper-shits?tab=readme-ov-file#top-payload-contributors