mirror of
https://github.com/PowerShellMafia/PowerSploit
synced 2026-06-08 12:13:33 +00:00
Normalized all scripts to ASCII encoding
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
function Out-CompressedDll
|
||||
function Out-CompressedDll
|
||||
{
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@@ -78,4 +78,4 @@ $EncodedCompressedFile
|
||||
"@
|
||||
|
||||
Write-Output $Output
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
function Out-EncodedCommand
|
||||
function Out-EncodedCommand
|
||||
{
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@@ -181,4 +181,4 @@ http://www.exploit-monday.com
|
||||
}
|
||||
|
||||
Write-Output $CommandLineOutput
|
||||
}
|
||||
}
|
||||
|
||||
@@ -126,4 +126,4 @@ return $encoding.GetString($h,0,$h.Length);
|
||||
|
||||
Write-Verbose "Encrypted PS1 file saved to: $(Resolve-Path $FilePath)"
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
function Remove-Comments
|
||||
function Remove-Comments
|
||||
{
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@@ -153,4 +153,4 @@ http://www.leeholmes.com/blog/2007/11/07/syntax-highlighting-in-powershell/
|
||||
}
|
||||
|
||||
Write-Output ([ScriptBlock]::Create($StringBuilder.ToString()))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@{
|
||||
@{
|
||||
|
||||
# Script module or binary module file associated with this manifest.
|
||||
ModuleToProcess = 'ScriptModification.psm1'
|
||||
@@ -85,4 +85,4 @@ FileList = 'ScriptModification.psm1', 'ScriptModification.psd1', 'Out-Compressed
|
||||
# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
|
||||
# DefaultCommandPrefix = ''
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
Get-ChildItem (Join-Path $PSScriptRoot *.ps1) | % { . $_.FullName}
|
||||
Get-ChildItem (Join-Path $PSScriptRoot *.ps1) | % { . $_.FullName}
|
||||
|
||||
Reference in New Issue
Block a user