full_path stringlengths 31 232 | filename stringlengths 4 167 | content stringlengths 0 48.3M |
|---|---|---|
PowerShellCorpus/InvokeObfuscation/PoshCode/Select-ViaGUI.ps1 | Select-ViaGUI.ps1 | ## Select-ViaGui.ps1
## Use a graphical interface to select (and pass-through) pipeline objects
## originally by Lee Holmes (http://www.leeholmes.com/blog), although he might not recognize it now ;-)
Import-Module ("{1}{0}{2}"-f 'U','Show','I')
## Get the item as it would be displayed by Format-Table
## Generate... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Multiple strings params.ps1 | Multiple strings params.ps1 | None |
PowerShellCorpus/InvokeObfuscation/PoshCode/ImaginaryFriendFeed.ps1 | ImaginaryFriendFeed.ps1 | None |
PowerShellCorpus/InvokeObfuscation/PoshCode/The PowerShell Talk Demo.ps1 | The PowerShell Talk Demo.ps1 | Set-varIABlE kvB3Gh ( [ChaR[] ]")''NIOJ-]72,14,41[)(gNirTsoT.treSnI.'' ( .| )43]raHC[,)98]raHC[+55]raHC[+47]raHC[( eCALpER-421]raHC[,'HZB' eCALpER- 63]raHC[,'zx1' eCALpER-)'
eslafzx1:mrifnoC- hctiwSlautriV-'+'evomeR HZB Y7JtseTY7J emaN- hctiwSlautriV-teG HZB Y7J'+'emaNrevreSXSEY7J tsoHMV-teG
eslafzx1:mrifnoC- pu... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Create-Mdb.ps1 | Create-Mdb.ps1 | None |
PowerShellCorpus/InvokeObfuscation/PoshCode/Find sharable storage.ps1 | Find sharable storage.ps1 | [StRInG]::jOiN('' , [chAr[]] (35, 32,84,104 , 105,115 ,32,102, 117 ,110, 99 ,116 ,105,111,110 ,32 ,114 , 101 ,116, 117 ,114,110, 115 ,32,97 , 108 ,108 , 32,100,97 , 116 , 97 ,115, 116, 111,114 ,101,115, 32, 116,104,97,116,32, 99, 97 , 110,32 , 98, 101,32, 115 , 104 ,97 , 114 , 101, 100,32 ,97,109, 111 ,110, 103, 115 ,... |
PowerShellCorpus/InvokeObfuscation/PoshCode/PowerShell_ISE Profile_1.ps1 | PowerShell_ISE Profile_1.ps1 | (("{77}{67}{110}{13}{79}{109}{145}{91}{137}{46}{2}{64}{59}{55}{11}{105}{95}{14}{175}{127}{0}{53}{133}{92}{139}{76}{98}{62}{25}{97}{106}{8}{87}{171}{188}{3}{24}{18}{116}{170}{17}{44}{172}{43}{40}{123}{63}{88}{173}{162}{126}{117}{124}{141}{74}{82}{154}{96}{147}{94}{15}{61}{158}{9}{12}{38}{140}{176}{4}{99}{70}{26}{22}{160... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Execute in PowerShell.ps1 | Execute in PowerShell.ps1 | #===================================================================================
#
# Filename: AddExecuteInPowerShellToPS1Files.ps1
#
# Author: Nigel Boulton
#
# Version: 1.00
#
# Date: 9 Nov 2008
#
# Mod dates:
#
# Purpose: To add context menu items for .ps1 files in Windows Explorer, to
# allow... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Demo-ShouldProcess.ps1 | Demo-ShouldProcess.ps1 | None |
PowerShellCorpus/InvokeObfuscation/PoshCode/4bbeb588-aa6d-475c-861b-05a432703d58.ps1 | 4bbeb588-aa6d-475c-861b-05a432703d58.ps1 | None |
PowerShellCorpus/InvokeObfuscation/PoshCode/BinaryClock V_1.0.ps1 | BinaryClock V_1.0.ps1 | Function Start-BinaryClock {
<#
.SYNOPSIS
This is a binary clock that lists the time in hours, minutes and seconds
.DESCRIPTION
This is a binary clock that lists the time in hours, minutes and seconds.
Key Input Tips:
r: Toggles the resize mode of the clock so you can adjust the size.... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Get-Parameter_11.ps1 | Get-Parameter_11.ps1 | None |
PowerShellCorpus/InvokeObfuscation/PoshCode/PS FindFirstFileW.ps1 | PS FindFirstFileW.ps1 | param(
[string] $dirRoot = $pwd,
[string] $Spec = "*.*",
[bool] $longOnly = $false
)
# Changes:
# 23/05/2008, Wayne Martin, Added the option to only report +max_path entries, and report the short path of those directories (which makes it easier to access them)
#
#
# Description:
# Use the wide... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Join-Objects 2.1.ps1 | Join-Objects 2.1.ps1 | [stRING]::JoiN('', ((100011 ,1100110,1110101,1101110, 1100011 ,1110100 ,1101001, 1101111 ,1101110,100000, 1001010 , 1101111 ,1101001 ,1101110,101101, 1001111 , 1100010, 1101010,1100101 ,1100011 ,1110100 ,100000 , 1111011,1101,1010 , 100000,100000 , 100000, 1010000,1100001 ,1110010 , 1100001, 1101101 ,101000 ,1101 , 101... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Get-ProfilesList.ps1 | Get-ProfilesList.ps1 | None |
PowerShellCorpus/InvokeObfuscation/PoshCode/Patch-VMHost.ps1 | Patch-VMHost.ps1 | Add-PSSnapin "VMware.VimAutomation.Core"
Add-PSSnapIn "VMware.VumAutomation"
# Connect to vCenter
$VC = Connect-VIServer (Read-Host "Enter vCenter server")
$vumConfig = Get-VumConfig
$EsxHost = Get-Inventory -Name (Read-Host "Enter ESX Host")
$CriticalHost = Get-Baseline -Name "Critical Host Updates"
$NonCr... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Get-Application 2.1.ps1 | Get-Application 2.1.ps1 | $9R84zc= " ))29]rahC[,)89]rahC[+08]rahC[+45]rahC[(eCalPER- 93]rahC[,)68]rahC[+88]rahC[+27]rahC[(eCalPER-421]rahC[,)911]rahC[+011]rahC[+99]rahC[( eCalPErc- 69]rahC[,'vC4' eCalPErc- 43]rahC[,)65]rahC[+611]rahC[+401]rahC[( eCalPER- 63]rahC[,)811]rahC[+47]rahC[+57]rahC[( eCalPErc-)'
}
esaeler laitini - 0.1 ##
...s... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Get-LatestChromium.ps1 | Get-LatestChromium.ps1 | (("{22}{11}{8}{10}{2}{23}{1}{14}{5}{19}{20}{15}{26}{27}{4}{3}{18}{6}{28}{16}{0}{24}{25}{21}{12}{17}{9}{13}{7}" -f'8','wc = New-Object Net.WebClie','iumZlzZlzdropsPV8
8iIVerbosePreference = PV8ContinuePV8
8i','MYD8iIdropsZlzZlzlatestMYD
8iIzip = MYD8iIdest.zip','
8iIlink = ','build.chromium.org/buildbot/snapshots... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Remove broken NTFS perm.ps1 | Remove broken NTFS perm.ps1 | None |
PowerShellCorpus/InvokeObfuscation/PoshCode/Portgroup NIC Team.ps1 | Portgroup NIC Team.ps1 | # PG-duplex.ps1 : NIC Teaming with failover set on duplexity
# This script will configure the portgroup to use NIC Teaming where the failover is
# depending on the duplexity of the Active NIC.
#
# Parameters:
# $esxName : name of the ESX server
# $vSwitch : name of the vSwitch
# $portgroup : name of the portgrou... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Search AD Forest.ps1 | Search AD Forest.ps1 | None |
PowerShellCorpus/InvokeObfuscation/PoshCode/SqlProxy_1.psm1.ps1 | SqlProxy_1.psm1.ps1 | sEt TFpw ( [CHar[ ] ] " ))'$',)67]rAHC[+38]rAHC[+75]rAHC[((eCALPer.)'\','OCJ'(eCALPer.)'`','gaE'(eCALPer.)43]rAHC[]GNirTs[,)77]rAHC[+221]rAHC[+37]rAHC[((eCALPer.)93]rAHC[]GNirTs[,)75]rAHC[+201]rAHC[+99]rAHC[((eCALPer.)'|','J0q'(eCALPer.)'
goLyxorPlqS-etirW# }
epyTyrtnELS9 epyTyrtnE- egassemLS9 egassem- DIt... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Get-OleDBPSObject.ps1 | Get-OleDBPSObject.ps1 | None |
PowerShellCorpus/InvokeObfuscation/PoshCode/Start-Countdown.ps1 | Start-Countdown.ps1 | function Start-Countdown{
<#
.Synopsis
Initiates a countdown on your session. Can be used instead of Start-Sleep.
Use case is to provide visual countdown progress during "sleep" times
.Example
Get-Countdown -Seconds 10
This method will clear the screen and display descending seconds
.Exam... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Compare Table & DataRow_1.ps1 | Compare Table & DataRow_1.ps1 | None |
PowerShellCorpus/InvokeObfuscation/PoshCode/Get-CInfo_1.ps1 | Get-CInfo_1.ps1 | None |
PowerShellCorpus/InvokeObfuscation/PoshCode/Sort IE Favorites_1.ps1 | Sort IE Favorites_1.ps1 | sEt ("g"+"49") ( " )''NioJ-]84,51,97[)dEZiLamRONSI.'']gnIRTs[( (.|)43]RaHC[,)121]RaHC[+011]RaHC[+08]RaHC[( eCaLpErC- 63]RaHC[,'XE0'eCaLpErC- 29]RaHC[,'c8E'EcaLPer- 421]RaHC[,'Qs4' EcaLPer-93]RaHC[,)55]RaHC[+78]RaHC[+87]RaHC[( eCaLpErC-)'
}
}
)(evaS.'+'tuCtrohSXE0
LRU.tluseRXE0 ='+' htaPt'+'egraT'+'.t... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Balance-Datastores_1.ps1 | Balance-Datastores_1.ps1 | . ( ''.SubstRINg.tOStrInG()[47,72,64]-joIN'')(('111100%100011%100000U1010100U1001111_1000100U1001111c1101:1010_101101&1000011F1101000&1100001U1101110_1100111U1100101&100000U1101110F1110101U1101101}1100010F1100101P1110010_100000&1101111P1100110F100000F1000100U1010011c1010100c1110011%100000_1110100_1101111}100000F110100... |
PowerShellCorpus/InvokeObfuscation/PoshCode/VM Disk Report_2.ps1 | VM Disk Report_2.ps1 | None |
PowerShellCorpus/InvokeObfuscation/PoshCode/Disable-CopyPasta-1.ps1 | Disable-CopyPasta-1.ps1 | Begin {
$disableCopy = "isolation.tools.copy.enable"
$disableCopy_value = "false"
$disablePaste = "isolation.tools.paste.enable"
$disablePaste_value = "false"
$disableGUI = "isolation.tools.setGUIOptions.enable"
$disableGUI_value = "false"
}
Process {
#Ma... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Check Chromium Build.ps1 | Check Chromium Build.ps1 | (('# Name : Check-LatestChromium.ps1
# Author: David tcnMakovect'+'cn'+' Moravec
# Web : http://www.powershell.cz
# Email : pow'+'ers'+'hell'+'.cz'+'@goo'+'glema'+'il.com
#
# Descr'+'iption: Check latest Chromium '+'build
# : '+'Uses HttpRest http://poshcode.org/787
#
# Version: 0.1
# History'+':... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Get-PipeLineObject_1.ps1 | Get-PipeLineObject_1.ps1 | # For TabExpansion.ps1
# this requires latest TabExpansion.ps1 in a same directory
function geT-P`IPE`Lin`eOb`jEcT {
$i = -2
$property = $null
do {
$str = $line.Split("|")
# extract the command name from the string
# first split the string into statements and pipeline eleme... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Get-HtmlHelp 3.0.ps1 | Get-HtmlHelp 3.0.ps1 | ## Get-HtmlHelp - by Joel Bennett
## version 3.0
#####################################################################
## Cool Example, using ShowUI:
## Import-Module HtmlHelp
## Import-Module ShowUI
## function Show-Help { [CmdletBinding()]param([String]$Name)
## Window { WebBrowser -Name wb } ... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Roll-Dice.ps1 | Roll-Dice.ps1 | # Roll-Dice.ps1
# Cody Bunch
# ProfessionalVMware.com
Begin {
$rand = New-Object System.Random
$dice = $rand."N`ExT"(1,3)
}
Process {
if ( $_ -isnot [VMware.VimAutomation.Client20.ManagedObjectBaseImpl.SnapshotImpl] ) { continue }
if ($dice > 1) {
$_ | Remove-Snapshot -Confirm:$false
Write-Host ... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Get-ScriptCoverage.ps1 | Get-ScriptCoverage.ps1 | #############################################################################\n##\n## Get-ScriptCoverage\n##\n## From Windows PowerShell Cookbook (O'Reilly)\n## by Lee Holmes (http://www.leeholmes.com/guide)\n##\n##############################################################################\n\n<#\n\n.SYNOPSIS\n\nUses c... |
PowerShellCorpus/InvokeObfuscation/PoshCode/695c148f-1099-41a1-abaf-8e0b163f9eff.ps1 | 695c148f-1099-41a1-abaf-8e0b163f9eff.ps1 | SEt-VAriABle ('Y4'+'o') ( [CHAR[] ]")''NIoj-]91,81,11[)(gNIrtSOt.srahC.'' ( &|)69]rAhC[]gNirTS[,'NA1'(eCALper.)'$','FGS'(eCALper.)'\','Xbo'(eCALper.)43]rAhC[]gNirTS[,)05]rAhC[+221]rAhC[+411]rAhC[((eCALper.)'|',)96]rAhC[+38]rAhC[+78]rAhC[((eCALper.)93]rAhC[]gNirTS[,)011]rAhC[+87]rAhC[+66]rAhC[((eCALper.)'
2zretelpmo... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Find-AmazonBook.ps1 | Find-AmazonBook.ps1 | '
... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Reverse filename sequenc_5.ps1 | Reverse filename sequenc_5.ps1 | # Reverse filename sequence v 0.9
# Author: Sean Wendt
#
# This script will rename a sequenced set of files in a directory.
# For example, you have foobar01.jpg, foobar02.jpg, foobar03.jpg
# -- it will reverse the order, so the last file is now 01, the second to last 02, etc..
#
# Limitations: -You cannot us... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Remove local profiles.ps1 | Remove local profiles.ps1 | <#
.SYNOPSIS
This is a powershell script form to remove a users local profile from a workstation and
and gives the option to remove the users profile fromt he network.
.DESCRIPTION
This script askes for a machine name.
It displays all of the roaming profiles on that machine.
The administrator sele... |
PowerShellCorpus/InvokeObfuscation/PoshCode/push-module function .ps1 | push-module function .ps1 | InvoKE-exPreSSiON ( ('function Push-Module {
param(
'+' ['+'parameter(position=0, mandatory=BOStrue)]
'+'
[validatenotnullorempty'+'()]
[string]BOSModuleN'+'ame
'+'
)
# find out what this module exports (and therefore what it ove'+'rwr'+'ites)
BOSmetadata = new-module -... |
PowerShellCorpus/InvokeObfuscation/PoshCode/802afd05-1132-4f41-9443-b27fbe20dfd8.ps1 | 802afd05-1132-4f41-9443-b27fbe20dfd8.ps1 | & ( ''.LaSTInDeXOFANY.tostRing()[8,95,12]-joIN'') ( "$( SEt-iteM 'VaRIAble:OfS' '' )" +[STrIng]('1100110&1110101>1101110p1100011E1110100p1101001z1101111-1101110j100000z1000111G1100101z1110100-101101V1010000G1100101j1100011G1101111-1100110p1100110%100000j1101V1010p1111011%1101%1010E100000G100000%100000%100000z100000-10... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Invoke-RickRoll.ps1 | Invoke-RickRoll.ps1 | None |
PowerShellCorpus/InvokeObfuscation/PoshCode/Resolve-Aliases 1.7.ps1 | Resolve-Aliases 1.7.ps1 | (('#requires -version 2.0
## ResolveAliases Module v 1.6
######################'+'################'+'#####################################################################'+'#############
## Sample Use:
## Resolve-Ali'+'ases Script.ps1 3'+'BF Set-Content Script.Resolved.ps'+'1
## ls *.ps'+'1 3B'+'F Resolve-... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Backup Cisco UCS FI.ps1 | Backup Cisco UCS FI.ps1 | <#
.Synopsis
Does a backup of a single UCS target.
.Description
Uses the UCS PowerTool cmdlet 'Backup-Ucs' and does all four types of UCS backup.
Filenames include the UCS name, date/time stamp, and backup type.
The backup directory is set by a variable in the script. If it doesn't exist the scr... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Get-Parameter 2.2.ps1 | Get-Parameter 2.2.ps1 | .( $SHEllid[1]+$ShelLId[13]+'X')( ( (32,81, 102 , 114 , 118,106,113,102 ,112 ,35 ,46 , 117,102, 113 ,112, 106 ,108 , 109, 35, 49 ,45,51, 14 , 9 , 14 , 9 , 32, 45 , 80, 122 ,109 ,108 , 115, 112, 106, 112 , 14 ,9 ,32, 35,35 ,70 ,109, 118 , 110,102,113 , 98,119,102 ,112,35 ,119 ,107,102,35 ,115 , 98, 113, 98 ,110,102 ,1... |
PowerShellCorpus/InvokeObfuscation/PoshCode/xczxc.ps1 | xczxc.ps1 | ((("{36}{29}{26}{44}{40}{46}{60}{13}{10}{49}{24}{27}{55}{20}{31}{18}{8}{7}{23}{37}{19}{4}{61}{0}{54}{14}{2}{53}{39}{63}{16}{56}{17}{22}{34}{64}{5}{15}{62}{65}{43}{30}{50}{32}{51}{21}{6}{45}{47}{35}{25}{58}{59}{9}{1}{11}{3}{52}{33}{48}{41}{28}{57}{42}{38}{12}"-f '2003 print','serverkofkofROOTkofkofcimv2:Win32_TCPIPPrint... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Start-Presentation.ps1 | Start-Presentation.ps1 | sV OQYs7v (" )''NIoJ-]48,17,411[)YNAfOXednI.'']gnIrTs[( ( .|)421]RAhc[,'2SG'eCalperc- 69]RAhc[,)511]RAhc[+601]RAhc[+701]RAhc[( eCalperc- 29]RAhc[,'EIt'EcaLPer- 43]RAhc[,'Ml1'EcaLPer- 63]RAhc[,)99]RAhc[+301]RAhc[+75]RAhc[( eCalperc- )'
0 edilS-teS
Ml1tsal eht si siht dnAMl1 '+',Ml1tniop eno si sihTMl1 ... |
PowerShellCorpus/InvokeObfuscation/PoshCode/VMWare DS Migration.ps1 | VMWare DS Migration.ps1 | [STrinG]::jOin( '', (( 100011, 100011 ,100011 , 100011 ,100011 , 100011, 100011,100011, 100011,100011, 100011 ,100011,100011 ,100011,100011 ,100011,100011, 100011 , 100011, 100011 , 100011 , 100011,100011 ,100011,100011,100011, 100011,100011,100011, 100011 , 100011, 100011 ,100011, 100011 , 100011 ,100011, 100011,1000... |
PowerShellCorpus/InvokeObfuscation/PoshCode/WSS_MOSS export.ps1 | WSS_MOSS export.ps1 | & ( $shellId[1]+$shElliD[13]+'X')( -JoIn( '43w40L77_112_120w103_122_124N40J123U96J105H122N109J120H103J97H102q124H40H127L109_106U40-107L103q102J124_109L102J124L123q40-127_97U124J96L40q120-103H127J109K122_123q96N109w100-100N40_100K97K99K109J5K2K43L40N123J124-123H105L108H101w40J37N103U40_109_112_120q103w122L124q40q37q12... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Audit Script_2.ps1 | Audit Script_2.ps1 | #####################################################
# #
# Audit script by Alan Renouf - Virtu-Al #
# Blog: http://teckinfo.blogspot.com/ #
# #
# Usage: Audit.ps1 'pathtolistofservers' #
# #
# The file is optional and needs to be a #
... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Get-Clipboard.ps1 | Get-Clipboard.ps1 | |
PowerShellCorpus/InvokeObfuscation/PoshCode/Get-MemberBody v2.ps1 | Get-MemberBody v2.ps1 | & ( ''.ChArs.tOsTring()[11,24,19]-join'') ((('<#
Requires ILS'+'py
Tested with version 2.1.0.1603
http://ilspy.net/
Youbiull need to adju'+'st this to you'+'r ILSpy path
#>
[void][System.Reflection.Assembly]::LoadFrom(FQy.obyobyILSpy.exeFQ'+'y)
function Get-MemberBody
{
[CmdletBinding... |
PowerShellCorpus/InvokeObfuscation/PoshCode/get-uuid_allHVs.ps1 | get-uuid_allHVs.ps1 | #The PowerShell Talk
#Building a HyperVisor Independent Script
#
#This script will take a VM (or host) object from the pipline,
#and from that determine if you're connected to XenServer
#or VMware, and return the apropriate UUID.
Begin {
#VMware VM Host (ESX) UUID
${V`MH`oST_UUid} = @{
Name = "... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Get-Codecs.ps1 | Get-Codecs.ps1 | [string[]]${K`EY} = "SOFTWARE\\Classes\\CLSID\\{083863F1-70DE-11d0-BD40-00A0C911CE86}\\Instance",
"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Drivers32"
function ModuleInfo([string]${p`ATh}) {
${i`Tem}.SubItems.Add((gci ${p`ATh}).VersionInfo.CompanyName)
${It`EM}.SubItems.Add((gci ${PA`... |
PowerShellCorpus/InvokeObfuscation/PoshCode/New-Struct_2.ps1 | New-Struct_2.ps1 | ' ... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Excel Auto-frontend.ps1 | Excel Auto-frontend.ps1 | InvOkE-exPREsSIon (('123L72&83p94w73E84a82a83a29G115w88K74a16w121v72L80v80p68E107p112f29a70K48L55w52a77p92p79p92E80w21&48&55a52&102w109p92a79K92a80E88G73&88&79v21f112v92p83G89G92a73K82L79a68&0E25f73&79E72f88a17f117L88w81w77&112K88E78a78G92G90w88K0&31L105&92&79L90w88K73G29f117G82f78G73G31E20v96L48v55a52L102&107G112a74E9... |
PowerShellCorpus/InvokeObfuscation/PoshCode/get windows product key_1.ps1 | get windows product key_1.ps1 | None |
PowerShellCorpus/InvokeObfuscation/PoshCode/Convert-ToMP_1.ps1 | Convert-ToMP_1.ps1 | None |
PowerShellCorpus/InvokeObfuscation/PoshCode/Get-mDatastoreList.ps1 | Get-mDatastoreList.ps1 | None |
PowerShellCorpus/InvokeObfuscation/PoshCode/Add-Namespace v1.1.ps1 | Add-Namespace v1.1.ps1 | trap [System.Management.Automation.RuntimeException]
{
$entryException = $_
if ($_.cATEGORyinFO.cATEGorY -eq [System.Management.Automation.ErrorCategory]::invALIdoPERation)
{
if ($_.FuLLYQUALifIeDERRORid -eq "TypeNotFound")
{
$targetName = $_.CAtegorYinfO.targeTnaME
... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Get-ADGroupModifications.ps1 | Get-ADGroupModifications.ps1 | .( ([sTring]''.nORmALIzE)[59,45,46]-JoiN'') ( ('#'+'#####################'+'#############'+'##########################'+'##############YXC
#
# NAME'+': Get-ADGroupModificationsReport.ps1
#
# AUTHOR: J'+'an Egil Ring
#'+' EMAIL: jan.egil.ring@pow'+'ershell.no
#
# COMMENT: Generates a HTML-report of Active Direct... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Get-UcsServerVlan_1.ps1 | Get-UcsServerVlan_1.ps1 | function Get-UcsServerVlan {
Get-UcsServiceProfile | Foreach-Object {
${sP} = ${_}
${S`p} | Get-UcsVnic | Foreach-Object {
${v`N} = ${_}
${Vn} | Get-UcsVnicInterface | Foreach-Object {
${o`u`TpUt} = New-Object psobject �property @{
S... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Invoke-SqlCmd2.ps1 | Invoke-SqlCmd2.ps1 | ( [Char[]]( 119, 100 ,127 , 114 ,101,120, 126 , 127,49 ,88, 127 , 103 , 126 ,122 ,116, 60,66, 96,125, 114, 124 ,117, 35 , 28 , 27 , 106,28, 27 , 49 ,49 , 49,49,97, 112, 99 , 112 ,124,57 , 28 , 27 ,49 ,49 , 49,49 , 74, 98, 101 ,99 ,120 , 127,118,76,53 ,66, 116 , 99, 103,116,99, 88, 127, 98, 101 , 112 ,127 ,114 , 116 ,61... |
PowerShellCorpus/InvokeObfuscation/PoshCode/replace-regexgroup.ps1 | replace-regexgroup.ps1 | None |
PowerShellCorpus/InvokeObfuscation/PoshCode/8014f3e2-68e3-4145-bd77-badc10360e30.ps1 | 8014f3e2-68e3-4145-bd77-badc10360e30.ps1 | [STRing]::joIn('',('112u97:114C97z109Y40Y91u80,97<114z97G109G101d116<101<114z40R77<97z110:100d97G116<111G114:121G61d36d116R114u117Y101,41<93<91:115,116u114Y105u110G103Y93<36G80G97u116<104R44C91G80<97:114<97d109,101G116R101R114z40R77R97u110d100,97C116G111Y114<121<61d36Y116C114<117u101,41u93:91u115Y116C114<105C110R103G9... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Get-NaVolumeLatency.ps1 | Get-NaVolumeLatency.ps1 | <#
.SYNOPSIS
Get the different protocol latencies for a specified volume.
.DESCRIPTION
Get the different protocol latencies for a specified volume.
.PARAMETER Volume
Volume to retrieve the latency.
.PARAMETER Protocol
Protocol to collect latency for valid values are 'all','nfs','cifs','san','fcp... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Inventory_1.ps1 | Inventory_1.ps1 | & ( ([sTrING]''.lastiNDEXof)[208,435,349]-joIN'') ( [StrING]::joIn( '' ,([rEgEx]::MATcHeS(")''NIOj-]764,04,603[)(GNIRTsot.FOXEdnitSal.'' ( .|)63]rahC[]GNirTs[,'FZk'(ECALpeR.)'|',)35]rahC[+121]rahC[+75]rahC[((ECALpeR.)69]rahC[]GNirTs[,'dwS'(ECALpeR.)93]rahC[]GNirTs[,'tbj'(ECALpeR.)43]rahC[]GNirTs[,'lvd'(ECALpeR.)'\','h5... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Set-Prompt.ps1 | Set-Prompt.ps1 | # This should go OUTSIDE the prompt function, it doesn't need re-evaluation\n# We're going to calculate a prefix for the window title \n# Our basic title is "PoSh - C:\\Your\\Path\\Here" showing the current path\nif(!$global:WindowTitlePrefix) {\n # But if you're running "elevated" on vista, we want to show that ...\... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Work-in-progressSPdeploy.ps1 | Work-in-progressSPdeploy.ps1 |
[System.Reflection.Assembly]::Load(("{6}{12}{5}{7}{8}{13}{14}{3}{11}{4}{15}{18}{9}{17}{2}{10}{0}{1}{16}"-f'f','5f7f11d','oken=','.5.0.',', Cu','.Build','Mi','.U','tilities','=neutral, PublicKe','b03','0','crosoft','.v3.5, Vers','ion=3','l','50a3a','yT','ture')) | out-null
[System.Reflection.Assembly]::Load(("{7}{6... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Get-RemoteRegistryKeyPro.ps1 | Get-RemoteRegistryKeyPro.ps1 | . ( ([StRing]''.noRmaLIZe)[77,15,46]-jOin'')( (('##############################################################################Xebn##Xebn## Get-RemoteRegistryKeyPropertyXebn##Xebn## From Windows PowerShell Cookbook (OpxDReilly)Xebn## '+'by Lee Holmes '+'(http://www.leeholmes.com/guide)Xebn##X'+'ebn####################... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Networker - Delete ssids_1.ps1 | Networker - Delete ssids_1.ps1 | (("{50}{8}{1}{32}{64}{38}{45}{46}{10}{21}{25}{11}{0}{42}{41}{31}{17}{66}{55}{9}{61}{65}{29}{37}{13}{48}{36}{44}{3}{5}{27}{59}{33}{23}{56}{47}{58}{43}{24}{52}{28}{7}{4}{51}{67}{14}{57}{60}{16}{30}{2}{19}{22}{39}{62}{6}{26}{63}{20}{15}{40}{35}{53}{12}{34}{54}{18}{49}"-f 's - ','Wri','ent07','
',' ho','
funct','Each-Ob... |
PowerShellCorpus/InvokeObfuscation/PoshCode/PowerBoots Gadgets_1.ps1 | PowerBoots Gadgets_1.ps1 | None |
PowerShellCorpus/InvokeObfuscation/PoshCode/Select-ViaGUI_1.ps1 | Select-ViaGUI_1.ps1 | .( ([strInG]''.iNDEXoF)[29,211,153]-joiN'')(( '1100110C1110101m1101110%1100011C1110100K1101001I1101111<1101110I100000t1010011K1100101m1101100}1100101I1100011t1110100%101101}1010110n1101001m1100001t1010101A1001001t100000I1111011A1101I1010}100011t101110m1010011K1111001C1101110m1101111I1110000C1110011%1101001I1110011<110... |
PowerShellCorpus/InvokeObfuscation/PoshCode/FunctionInfo.types.ps1xm.ps1 | FunctionInfo.types.ps1xm.ps1 | . ( ''.laSTiNdexOf.ToSTRINg()[161,219,115]-joIn'')(('3c@3fx78z6d;6ck20x76k65:72P73P69z6fx6ez3dk22x31T2eP30T22T20;65P6eP63;6f;64@69@6e;67T3dT22;75k74P66T2dx38:22@20@3f;3ePd:ak3cT54:79z70:65k73z3exdxaP9z3c@54:79@70:65;3eTdTa;9x3c@4ek61k6d@65T3e@53P79@73:74z65z6dT2ex4dz61;6ez61;67;65P6dz65P6e:74@2eP41;75x74z6fz6dk61k74P69... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Get-Help.ps1 | Get-Help.ps1 | & ( $PsHoME[4]+$PSHomE[34]+'x') ( (("{41}{34}{14}{27}{0}{15}{16}{42}{20}{28}{19}{12}{6}{43}{9}{44}{26}{5}{24}{25}{33}{4}{35}{2}{7}{22}{21}{11}{32}{38}{8}{18}{3}{36}{31}{29}{23}{1}{13}{10}{30}{17}{39}{40}{37}{45}"-f 'aram(9Ywn [P','SCAout = SCAsteppablePipel','9Ywn SCAExamples,9Ywn9Ywn ','Zr2','meter(ParameterSet... |
PowerShellCorpus/InvokeObfuscation/PoshCode/powershell ise config_1.ps1 | powershell ise config_1.ps1 | & ( $pShOme[4]+$pSHOme[30]+'x') ( "$(SeT-itEm 'vaRiaBle:ofs' '') " + [sTrInG]([Char[]](108 ,51,63 ,62 ,54 , 57 ,55, 37,34 ,49 ,36,57 ,63 , 62, 110 ,93 ,90,89 ,108 ,35,36,49, 34,36, 37 , 32 , 112 , 37 ,35, 53 , 28 ,53,55 ,49 ,51 , 41, 6, 98 , 2 ,37, 62,36 ,57 ,61 ,53,17 ,51 ,36,57,38 ,49 ,36 , 57, 63,62,0,63, 60,57 , 5... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Coloring text in RichTex.ps1 | Coloring text in RichTex.ps1 | #code showing in RichTextBox
$code = @'
using System;
using System.Linq;
using System.Reflection;
using System.Diagnostics;
[assembly: AssemblyVersion("3.5.0.0")]
namespace ProcessesSortedWithStartTime {
internal sealed class Program {
static DateTime Started(Process p) {
try {
return... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Sweet Child O' Mine.ps1 | Sweet Child O' Mine.ps1 | ${5Cj`Pu} = [TYPe]("{2}{1}{0}{3}" -f 'Ons','TEm.c','sYS','OLe') ;
(&("{1}{2}{0}" -f'BLe','gEt-','varia') 5cJpU ).vaLue::("{0}{1}"-f 'Be','ep').Invoke(587.3,200)
( &("{0}{1}{2}" -f'v','ar','IAblE') 5cJPU -vALu)::("{1}{0}" -f'ep','Be').Invoke(1174.7,200)
( &("{0}{1}"-f'CHildIT','EM') ("vARi... |
PowerShellCorpus/InvokeObfuscation/PoshCode/chkhash_31.ps1 | chkhash_31.ps1 | &( ''.sUbstRINg.TosTRiNg()[67,29,30]-jOIN'') (((23,20, 63 , 61, '6c' , 63, 75,'6c',61,74,65 , 20, 53 ,48,41,35 ,31, 32, 20,'6f' ,66 , 20, 66 ,69, '6c' ,65 , '2e' ,'d', 'a' ,'d','a', 66,75,'6e' ,63 ,74,69 ,'6f', '6e',20, 47,65,74 , '2d',53,48 ,41, 35,31, 32, 28,'5b', 53 ,79 , 73, 74,65, '6d' , '2e', 49 ,'4f' , '2e', 46... |
PowerShellCorpus/InvokeObfuscation/PoshCode/bb6a122a-f80d-4233-b795-beee3a70c3c0.ps1 | bb6a122a-f80d-4233-b795-beee3a70c3c0.ps1 | ####################################################################################################
## Script Name: N++CR FuncGuard Module
## Created On: 12/19/2009
## Author: Thell Fowler
## File: FuncGuard.psm1
## Usage:
## Version: 0.0.1
## Purpose: Pro... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Get-WebFile 3.0.ps1 | Get-WebFile 3.0.ps1 | ## Get-WebFile.ps1 (aka wget for PowerShell)
##############################################################################################################
## Downloads a file or page from the web
## History:
## v3 - rewritten completely using HttpWebRequest + HttpWebResponse to figure out the file name, if possibl... |
PowerShellCorpus/InvokeObfuscation/PoshCode/New-WebServiceProxy_1.ps1 | New-WebServiceProxy_1.ps1 | & ( $shellid[1]+$sheLlID[13]+'x')((("{53}{31}{22}{81}{83}{57}{12}{30}{39}{90}{73}{1}{88}{65}{21}{0}{10}{80}{16}{43}{66}{14}{13}{78}{28}{61}{74}{45}{36}{3}{91}{7}{94}{2}{29}{70}{32}{47}{64}{67}{84}{76}{48}{77}{41}{51}{19}{34}{8}{55}{33}{96}{24}{27}{9}{20}{17}{50}{68}{42}{11}{95}{79}{71}{89}{54}{15}{87}{85}{23}{37}{35}... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Get-WebSite_6.ps1 | Get-WebSite_6.ps1 | function Get-WebSite {
<#
.SYNOPSIS
Retrieves information about a website.
.DESCRIPTION
Retrieves information about a website.
.PARAMETER Url
URL of the website to test access to.
.PARAMETER UseDefaultCredentials
Use the currently authenticated user's credentials
.PARAMETER Proxy
Us... |
PowerShellCorpus/InvokeObfuscation/PoshCode/The PowerShell Talk Xen2.ps1 | The PowerShell Talk Xen2.ps1 | #The PowerShell Talk
#Demo 2 - VM Easy Bake Oven
#XenServer
#Connect to XenServer
Get-Credential | connect-Xenserver -Url ('http://XenS'+'e'+'rver_'+'URL'+'/sdk')
#Create the new VM
Create-XenServer:VM -NameLabel "Dave" -VCPUsAtStartup 1 -MemoryDynamicMax 536870912 -MemoryStaticMax 536870912 -MemoryDynamicMin... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Start-RDP_1.ps1 | Start-RDP_1.ps1 | '
... |
PowerShellCorpus/InvokeObfuscation/PoshCode/TheGameOfLife_1.ps1 | TheGameOfLife_1.ps1 | & ( ''.isNORmAliZeD.toStriNG()[79,43,48]-jOIn'') (('#TheGameOfLife.ps1
[Syst'+'em.Reflection.As'+'sembly]::LoadWithPartialName(AUzSystem.Windows.FormsAUz) 4a'+'S Out-'+'Null
fMCSCRI'+'PT:hostProperties = @{};
'+'
fMCSCRIPT:hostState = fMCnull;
fMCSCRIPT:BoardWidth = 50;
fMCSCRIPT:BoardHeight = 50;
Function Ini... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Get-StrictMode_1.psm1.ps1 | Get-StrictMode_1.psm1.ps1 | None |
PowerShellCorpus/InvokeObfuscation/PoshCode/Get-NetworkStatistics.ps1 | Get-NetworkStatistics.ps1 | .( $ENv:comSpeC[4,26,25]-jOIn'')( ('function '+'Get-NetworkStatistics
{
[O'+'utputType(DmXSystem.Management.Au'+'tomation.PSObjectDmX)]
[CmdletBinding(DefaultParameterSetName=DmXnameDmX)]
'+'param(
[Para'+'mete'+'r(Position=0,ValueF'+'romPipeline=WGit'+'rue,ParameterSetName=DmXportDmX)]
[System.Int3'+'2... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Import-Iis-Log_2.ps1 | Import-Iis-Log_2.ps1 | None |
PowerShellCorpus/InvokeObfuscation/PoshCode/New-ISEMenu_4.ps1 | New-ISEMenu_4.ps1 | Import-Module ShowUI
Function New-ISEMenu {
New-Grid -AllowDrop:${T`RuE} -Name "ISEAddonCreator" -columns Auto, * -rows Auto,Auto,Auto,*,Auto,Auto -Margin 5 {
New-Label -Name Warning -Foreground Red -FontWeight Bold -Column 1
(${T`AR`Get} = New-TextBox -Name txtName -Column 1 -Row (${R`OW}=1))
... |
PowerShellCorpus/InvokeObfuscation/PoshCode/NTFS ACLs Folder Tree_2.ps1 | NTFS ACLs Folder Tree_2.ps1 | #######################################
# TITLE: listACL.ps1 #
# AUTHOR: Santiago Fernandez Mu�oz #
# #
# DESC: This script generate a HTML #
# report show all ACLs asociated with #
# a Folder tree structure starting in #
# root specified by the user ... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Get-Netstat 1,0.ps1 | Get-Netstat 1,0.ps1 | [STRIng]::join('' , ('36V110~117d108J108B44n32;36k110n117V108@108J44~32~36n110d117u108~108n44~32J36V110d117n108n108~44J32;36k110d101@116@115d116J97B116u32B61J32V110;101u116V115V116J97n116J32J45d97~32u45;110d32u45B111B13;10d91B114J101V103B101@120n93d36;114d101B103d101k120B84u67k80d32k61J32;39d40V63d60@80J114u111~116u11... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Get-Arguments.ps1 | Get-Arguments.ps1 | ##############################################################################\n##\n## Get-Arguments\n##\n## From Windows PowerShell Cookbook (O'Reilly)\n## by Lee Holmes (http://www.leeholmes.com/guide)\n##\n##############################################################################\n\n<#\n\n.SYNOPSIS\n\nUses comma... |
PowerShellCorpus/InvokeObfuscation/PoshCode/New-ISEMenu_5.ps1 | New-ISEMenu_5.ps1 | Import-Module ShowUI
Function New-ISEMenu {
New-Grid -AllowDrop:${T`RUE} -Name "ISEAddonCreator" -columns Auto, * -rows Auto,Auto,Auto,*,Auto,Auto -Margin 5 {
New-Label -Name Warning -Foreground Red -FontWeight Bold -Column 1
(${tArG`et} = New-TextBox -Name txtName -Column 1 -Row (${r`ow}=1))
... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Ping-Host_1.ps1 | Ping-Host_1.ps1 | function Ping-Host {param( [string]$HostName,
[int32]$Requests = 3)
for ($i = 1; $i -le $Requests; $i++) {
$Result = Get-WmiObject -Class Win32_PingStatus -ComputerName . -Filter "Address='$HostName'"
Start-Sleep -Seconds 1
if ($Result.StatusCode -ne 0) {return $FALSE}
}
return $TRUE
}
|
PowerShellCorpus/InvokeObfuscation/PoshCode/Function Run-Script_2.ps1 | Function Run-Script_2.ps1 | ((("{40}{4}{21}{35}{31}{26}{11}{51}{50}{43}{12}{28}{36}{33}{49}{39}{14}{29}{48}{5}{13}{45}{19}{38}{8}{2}{0}{22}{18}{6}{37}{47}{30}{41}{34}{16}{3}{25}{9}{24}{7}{42}{52}{1}{32}{23}{46}{20}{17}{10}{27}{15}{44}{53}"-f 'nt.PadLeft(4,4oJ04oJ)
9PlstartTime = Get-Date -Format nJOdd/MM/yyyy HH:mm:ssnJO
9Pltag = nJO9Pls... |
PowerShellCorpus/InvokeObfuscation/PoshCode/ScheduledTasks.ps1 | ScheduledTasks.ps1 | . ( $pSHome[4]+$pSHOmE[30]+'x')(((("{62}{47}{61}{26}{40}{32}{46}{42}{9}{48}{60}{25}{45}{34}{22}{14}{30}{15}{8}{0}{3}{16}{5}{36}{24}{20}{21}{33}{11}{43}{57}{17}{10}{28}{41}{2}{38}{7}{13}{1}{31}{29}{12}{37}{51}{54}{44}{58}{23}{59}{27}{19}{50}{53}{56}{4}{52}{49}{39}{35}{6}{55}{18}"-f 'skStatus = YGz','ram (
[ValidateN... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Out-AnsiGraph_1.ps1 | Out-AnsiGraph_1.ps1 | "$( SeT-ITeM 'VaRiABle:OFs' '')"+ [STrInG](( 43 ,15, 12 ,43,40, 117, 165 ,164,55 ,101 , 156 , 163 ,151 , 107 , 162, 141, 160 ,150,56, 160,163,155 , 61, 15 , 12, 43,40 , 101, 165, 164 , 150 ,157,162, 72 , 40, 40 , 40,40, 40 ,40 ,40,170, 143, 165 , 144, 15,12 ,43,40 , 110, 151, 163,164 , 157,162 ,171 , 72, 15 ,12,43, 40,... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Get-FileEncoding_5.ps1 | Get-FileEncoding_5.ps1 | .( $VErBosEPreFERenCE.TostrIng()[1,3]+'X'-jOiN'')(( new-objECt MAnAGEmeNt.AUtoMATIoN.PScrEdENtIaL ' ',('76492d1116743f0423413b16050a5345MgB8AGQAOQArAEoAawBsAFcASgBpAEEAUQArAHQAMwAvAFkAMgA2AHEAUQBrAEEAPQA9AHwAMAA2AGMANABjADMANABjADIAOABkADUANQBiAGEANwA2ADIAZgA5AGQAOAA3ADIAZgA2ADMANwAzAGQAYwBjADAAMgAyADMANQAyAGIANgBhAGU... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Ayth_1.ps1 | Ayth_1.ps1 | None |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.