
PowerShell Functions For Hackers 🤓💻
I am currently the #1 ranked payload contributor to Hak5. I decided to make this repository to share all of the functions I have come up with to develop my payloads.
With the goal of building this repository with other like minded hackers. 😈
To submit your own function use this TEMPLATE
File must be saved as a .md file and then submit a pull request for review.
PowerShell to DuckyScript Converter<--- Use to format your PS scripts into ready to use DuckyScript Payload

Description
This is a collection of powershell functions that should be added to your arsenal.
If you are looking to write your own payloads
please feel free to reference this collection of functions we have gathered here
- 📝 There will be a description of the payloads intended purpose
- ♻️ The functions themselves will be provided in easy copy and paste format
- 🔠 Examples of payloads that have used these functions will also be available
- 📽️ A video tutorial for each function is provided as well!
The Functions
🧬
| Functions | Description |
|---|
| Detect Mouse Movement | Used to find out if target stepped away or came back to their PC. |
| Set-Volume | Used to set the volume of the targets PC. |
| PlaySound | Used to play a sound file from the console window. |
| Minimize-Apps | Used to minimize all the apps on your targets screen. |
| Set-WallPaper | Used to change the targets desktop wallpaper. |
| Hide-Msg | Use steganography to hide a secret message in an image. |
| MsgBox | Use this function to make a generic pop up message box. |
| Speak | Used to turn text to speech and talk through your targets speakers. |
| Clean-Exfil | This function is to erase any trace of you after wreaking havok on your target. |
| If-Admin | This function is to test if your target is an Admin, If $True run a secondary function. |
Bonus Function
| Function | Description |
|---|
| UAC-Bypass | Used to run any command with Admin level privledges completely bypassing the UAC |
Contact
Acknowledgments
Contributors