Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/I-Am-Jakoby/PowerShell-for-Hackers

This repository is a collection of powershell functions every hacker should know
https://github.com/I-Am-Jakoby/PowerShell-for-Hackers

badusb badusb-payloads flipperzero hak5 infosec penetration-testing pentesting powershell powershell-script

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

2022 Hak5 hacker of the Year

![hak 5](https://github.com/I-Am-Jakoby/I-Am-Jakoby/raw/main/img/hak5-banner.png)

Table of Contents


  1. Description

  2. The Functions

  3. Contact

  4. Acknowledgments

# 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](https://github.com/I-Am-Jakoby/PowerShell-for-Hackers/blob/main/Assets/template.md)

File must be saved as a .md file and then submit a pull request for review.

***

[PowerShell to DuckyScript Converter](https://github.com/I-Am-Jakoby/Powershell-to-Ducky-Converter)<--- Use to format your PS scripts into ready to use DuckyScript Payload

![alt text](https://github.com/I-Am-Jakoby/PowerShell-for-Hackers/blob/main/Assets/Ducky-Ex.jpg)

## 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](https://github.com/I-Am-Jakoby/PowerShell-for-Hackers/blob/main/Functions/Detect-Mouse-Movement.md) | Used to find out if target stepped away or came back to their PC. |
| [Set-Volume](https://github.com/I-Am-Jakoby/PowerShell-for-Hackers/blob/main/Functions/Set-Volume.md) | Used to set the volume of the targets PC. |
| [PlaySound](https://github.com/I-Am-Jakoby/PowerShell-for-Hackers/blob/main/Functions/PlaySound.md) | Used to play a sound file from the console window. |
| [Minimize-Apps](https://github.com/I-Am-Jakoby/PowerShell-for-Hackers/blob/main/Functions/Minimize-Apps.md) | Used to minimize all the apps on your targets screen. |
| [Set-WallPaper](https://github.com/I-Am-Jakoby/PowerShell-for-Hackers/blob/main/Functions/Set-WallPaper.md) | Used to change the targets desktop wallpaper. |
| [Hide-Msg](https://github.com/I-Am-Jakoby/PowerShell-for-Hackers/blob/main/Functions/Hide-Msg.md) | Use steganography to hide a secret message in an image.
| [MsgBox](https://github.com/I-Am-Jakoby/PowerShell-for-Hackers/blob/main/Functions/MsgBox.md) | Use this function to make a generic pop up message box.
| [Speak](https://github.com/I-Am-Jakoby/PowerShell-for-Hackers/blob/main/Functions/Speak.md) | Used to turn text to speech and talk through your targets speakers.
| [Clean-Exfil](https://github.com/I-Am-Jakoby/PowerShell-for-Hackers/blob/main/Functions/Clean-Exfil.md) | This function is to erase any trace of you after wreaking havok on your target. |
| [If-Admin](https://github.com/I-Am-Jakoby/PowerShell-for-Hackers/blob/main/Functions/If-Admin.md) | This function is to test if your target is an Admin, If $True run a secondary function.
| [Invoke-WebRequest](https://github.com/I-Am-Jakoby/PowerShell-for-Hackers/blob/main/Functions/Invoke-WebRequest.md) | This function is used to either download or upload files or data.
| [NS-Lookup](https://github.com/I-Am-Jakoby/PowerShell-for-Hackers/blob/main/Functions/ns-lookup.md) | This function is used to download and execute payloads from DNS TXT Records
| [DropBox-Upload](https://github.com/I-Am-Jakoby/PowerShell-for-Hackers/blob/main/Functions/DropBox-Upload.md) | This function is used to upload "aquired" files to Dropbox.
| [Discord-Upload](https://github.com/I-Am-Jakoby/PowerShell-for-Hackers/blob/main/Functions/Discord-Upload.md) | This function is used to upload "aquired" files to Discord.
| [PowerShell-2-Batch](https://github.com/I-Am-Jakoby/PowerShell-for-Hackers/blob/main/Functions/PowerShell-2-Batch.md) | This function is used to convert PowerShell scripts to a .BAT file.
| [B64-text](https://github.com/I-Am-Jakoby/PowerShell-for-Hackers/blob/main/Functions/B64.md) | These functions are used to either encode/decode scripts in Base64.
| [B64-img](https://github.com/I-Am-Jakoby/PowerShell-for-Hackers/blob/main/Functions/B64-img.md) | These functions are used to either encode/decode images in Base64.
| [TXT-img](https://github.com/I-Am-Jakoby/PowerShell-for-Hackers/blob/main/Functions/txt-img.md) | This function is used to convert a word document to an image.
| [Abuse-CapsLock](https://github.com/I-Am-Jakoby/PowerShell-for-Hackers/blob/main/Functions/Abuse-CapsLock.md) | Use the capslock to act as an indicator for script progression.
| [Add-Network](https://github.com/I-Am-Jakoby/PowerShell-for-Hackers/blob/main/Functions/Add-Network.md) | Use this function to add a network profile to your targets PC. Either SECURED or OPEN.
| [Wifi-Pass](https://github.com/I-Am-Jakoby/PowerShell-for-Hackers/blob/main/Functions/Wifi-Info.md) | Use these functions to enumerate your targets wifi and get their wifi passwords.
| [Get-GeoLocation](https://github.com/I-Am-Jakoby/PowerShell-for-Hackers/blob/main/Functions/Get-GeoLocation.md) | Use this function to get the Geo-Location of your target.
| [Get-BrowserData](https://github.com/I-Am-Jakoby/PowerShell-for-Hackers/blob/main/Functions/Get-BrowserData.md) | Use this function to get the browser history and bookmarks from browsers

## Bonus Function
| Function | Description
| :------------------------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [UAC-Bypass](https://github.com/I-Am-Jakoby/PowerShell-for-Hackers/blob/main/Functions/UAC-Bypass.md) | Used to run any command with Admin level privledges completely bypassing the UAC

## Contact

📱 My Socials 📱





C#


YouTube



Python


Twitter



Golang


Instagram



Jsonnet


Discord



Jsonnet


TikTok

## Acknowledgments

* [Hak5](https://hak5.org/)
* [Darren](https://github.com/hak5darren)
* [UberGuidoZ](https://github.com/UberGuidoZ)

(back to top)

## Contributors