/PowerShell-for-Hackers

This repository is a collection of powershell functions every hacker should know

Primary LanguagePowerShell

Logo

Table of Contents
  1. Description
  2. The Functions
  3. Contact
  4. Acknowledgments

PowerShell Functions For Hackers 🤓💻

A place where hackers come together to share their knowledge.

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

alt text

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 on its way ‼️

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.
Invoke-WebRequest This function is used to either download or upload files or data.
DropBox-Upload This function is used to upload "aquired" files to DropBox.
PowerShell-2-Batch This function is used to convert PowerShell scripts to a .BAT file.
B64 This function is used to either encode/decode scripts in Base64.
Abuse-CapsLock Use the caplock to stop the screen from sleeping and as an indicator for script progression.
Add-Network Use this function to add a network profile to your targets PC. Either SECURED or OPEN.
Get-DefaultBrowser Use this function to get the default browser of your targets PC.
Wifi-Info Use these functions to enumerate your targets wifi and get their wifi passwords.

Contact

📱 My Socials 📱

C#
YouTube
Python
Twitter
Golang
Instagram
Jsonnet
Discord

Acknowledgments

(back to top)

Contributors