aboutsummaryrefslogtreecommitdiff
path: root/ScriptModification
diff options
context:
space:
mode:
authormattifestation <mattgraeber@gmail.com>2013-11-13 21:01:02 -0500
committermattifestation <mattgraeber@gmail.com>2013-11-13 21:01:02 -0500
commit237d362acff8ef134f0ccc9150e6b6ab8a25e768 (patch)
tree142523134c383c348e691acebcbfc512c419edf6 /ScriptModification
parent306a84fe81ef6a1d252eec4e0a9422480c6c52df (diff)
downloadPowerSploit-237d362acff8ef134f0ccc9150e6b6ab8a25e768.tar.gz
PowerSploit-237d362acff8ef134f0ccc9150e6b6ab8a25e768.zip
Normalized all scripts to ASCII encoding
Diffstat (limited to 'ScriptModification')
-rw-r--r--ScriptModification/Out-CompressedDll.ps14
-rw-r--r--ScriptModification/Out-EncodedCommand.ps14
-rw-r--r--ScriptModification/Out-EncryptedScript.ps12
-rw-r--r--ScriptModification/Remove-Comments.ps14
-rw-r--r--ScriptModification/ScriptModification.psd14
-rw-r--r--ScriptModification/ScriptModification.psm12
6 files changed, 10 insertions, 10 deletions
diff --git a/ScriptModification/Out-CompressedDll.ps1 b/ScriptModification/Out-CompressedDll.ps1
index 3aa5c2b..5e6897d 100644
--- a/ScriptModification/Out-CompressedDll.ps1
+++ b/ScriptModification/Out-CompressedDll.ps1
@@ -1,4 +1,4 @@
-function Out-CompressedDll
+function Out-CompressedDll
{
<#
.SYNOPSIS
@@ -78,4 +78,4 @@ $EncodedCompressedFile
"@
Write-Output $Output
-} \ No newline at end of file
+}
diff --git a/ScriptModification/Out-EncodedCommand.ps1 b/ScriptModification/Out-EncodedCommand.ps1
index cae4715..04e8c12 100644
--- a/ScriptModification/Out-EncodedCommand.ps1
+++ b/ScriptModification/Out-EncodedCommand.ps1
@@ -1,4 +1,4 @@
-function Out-EncodedCommand
+function Out-EncodedCommand
{
<#
.SYNOPSIS
@@ -181,4 +181,4 @@ http://www.exploit-monday.com
}
Write-Output $CommandLineOutput
-} \ No newline at end of file
+}
diff --git a/ScriptModification/Out-EncryptedScript.ps1 b/ScriptModification/Out-EncryptedScript.ps1
index 3f09020..4fc69cf 100644
--- a/ScriptModification/Out-EncryptedScript.ps1
+++ b/ScriptModification/Out-EncryptedScript.ps1
@@ -126,4 +126,4 @@ return $encoding.GetString($h,0,$h.Length);
Write-Verbose "Encrypted PS1 file saved to: $(Resolve-Path $FilePath)"
-} \ No newline at end of file
+}
diff --git a/ScriptModification/Remove-Comments.ps1 b/ScriptModification/Remove-Comments.ps1
index ec75927..45a9746 100644
--- a/ScriptModification/Remove-Comments.ps1
+++ b/ScriptModification/Remove-Comments.ps1
@@ -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()))
-} \ No newline at end of file
+}
diff --git a/ScriptModification/ScriptModification.psd1 b/ScriptModification/ScriptModification.psd1
index 7393c29..d326c12 100644
--- a/ScriptModification/ScriptModification.psd1
+++ b/ScriptModification/ScriptModification.psd1
@@ -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 = ''
-} \ No newline at end of file
+}
diff --git a/ScriptModification/ScriptModification.psm1 b/ScriptModification/ScriptModification.psm1
index 5bb81d3..81d3818 100644
--- a/ScriptModification/ScriptModification.psm1
+++ b/ScriptModification/ScriptModification.psm1
@@ -1 +1 @@
-Get-ChildItem (Join-Path $PSScriptRoot *.ps1) | % { . $_.FullName} \ No newline at end of file
+Get-ChildItem (Join-Path $PSScriptRoot *.ps1) | % { . $_.FullName}