Skip to content

Commit

Permalink
Normalized all scripts to ASCII encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
mattifestation committed Nov 14, 2013
1 parent 306a84f commit 237d362
Show file tree
Hide file tree
Showing 58 changed files with 91 additions and 91 deletions.
4 changes: 2 additions & 2 deletions AntivirusBypass/AntivirusBypass.psd1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@{
@{

# Script module or binary module file associated with this manifest.
ModuleToProcess = 'AntivirusBypass.psm1'
Expand Down Expand Up @@ -84,4 +84,4 @@ FileList = 'AntivirusBypass.psm1', 'AntivirusBypass.psd1', 'Find-AVSignature.ps1
# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
# DefaultCommandPrefix = ''

}
}
2 changes: 1 addition & 1 deletion AntivirusBypass/AntivirusBypass.psm1
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Get-ChildItem (Join-Path $PSScriptRoot *.ps1) | % { . $_.FullName}
Get-ChildItem (Join-Path $PSScriptRoot *.ps1) | % { . $_.FullName}
2 changes: 1 addition & 1 deletion AntivirusBypass/Find-AVSignature.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -183,4 +183,4 @@ http://heapoverflow.com/f0rums/project.php?issueid=34&filter=changes&page=2
#During testing using large binaries, memory usage was excessive so lets fix that
[System.GC]::Collect()
Write-Verbose "Completed!"
}
}
4 changes: 2 additions & 2 deletions CodeExecution/CodeExecution.psd1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@{
@{

# Script module or binary module file associated with this manifest.
ModuleToProcess = 'CodeExecution.psm1'
Expand Down Expand Up @@ -85,4 +85,4 @@ FileList = 'CodeExecution.psm1', 'CodeExecution.psd1', 'Invoke-Shellcode.ps1', '
# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
# DefaultCommandPrefix = ''

}
}
2 changes: 1 addition & 1 deletion CodeExecution/CodeExecution.psm1
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Get-ChildItem (Join-Path $PSScriptRoot *.ps1) | % { . $_.FullName}
Get-ChildItem (Join-Path $PSScriptRoot *.ps1) | % { . $_.FullName}
2 changes: 1 addition & 1 deletion CodeExecution/Invoke-DllInjection.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -325,4 +325,4 @@ http://www.exploit-monday.com
}

Write-Verbose "Injected DLL information:$($DllInfo)"
}
}
2 changes: 1 addition & 1 deletion CodeExecution/Invoke-ReflectivePEInjection.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2840,4 +2840,4 @@ Function Main
}

Main
}
}
4 changes: 2 additions & 2 deletions CodeExecution/Invoke-ShellcodeMSIL.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function Invoke-ShellcodeMSIL
function Invoke-ShellcodeMSIL
{
<#
.SYNOPSIS
Expand Down Expand Up @@ -264,4 +264,4 @@
{
Write-Verbose 'Shellcode executed successfully!'
}
}
}
6 changes: 3 additions & 3 deletions CodeExecution/Watch-BlueScreen.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function Watch-BlueScreen
function Watch-BlueScreen
{
<#
.SYNOPSIS
Expand All @@ -15,7 +15,7 @@
.NOTES
Tavis Ormandy documented this technique on 2/3/2013 and Nikita Tarakanov
tweeted this technique on 5/13/2013.
?tweeted this technique on 5/13/2013.
.LINK
Expand Down Expand Up @@ -75,4 +75,4 @@
$Gdi32::SetLayout($DC, $LAYOUT_RTL) | Out-Null
$Gdi32::ScaleWindowExtEx($DC, [Int32]::MinValue, -1, 1, 1, [IntPtr]::Zero) | Out-Null
}
}
}
4 changes: 2 additions & 2 deletions Exfiltration/Exfiltration.psd1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@{
@{

# Script module or binary module file associated with this manifest.
ModuleToProcess = 'Exfiltration.psm1'
Expand Down Expand Up @@ -86,4 +86,4 @@ FileList = 'Exfiltration.psm1', 'Exfiltration.psd1', 'Get-TimedScreenshot.ps1',
# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
# DefaultCommandPrefix = ''

}
}
2 changes: 1 addition & 1 deletion Exfiltration/Exfiltration.psm1
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Get-ChildItem (Join-Path $PSScriptRoot *.ps1) | % { . $_.FullName}
Get-ChildItem (Join-Path $PSScriptRoot *.ps1) | % { . $_.FullName}
2 changes: 1 addition & 1 deletion Exfiltration/Get-GPPPassword.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function Get-GPPPassword {
function Get-GPPPassword {
<#
.SYNOPSIS
Expand Down
4 changes: 2 additions & 2 deletions Exfiltration/Get-Keystrokes.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function Get-Keystrokes {
function Get-Keystrokes {
<#
.SYNOPSIS
Expand Down Expand Up @@ -246,4 +246,4 @@
} | Out-Null
}

}
}
2 changes: 1 addition & 1 deletion Exfiltration/Get-TimedScreenshot.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function Get-TimedScreenshot
function Get-TimedScreenshot
{
<#
.SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion Exfiltration/Invoke-Mimikatz.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2710,4 +2710,4 @@ Function Main
}

Main
}
}
2 changes: 1 addition & 1 deletion Exfiltration/Invoke-NinjaCopy.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2845,4 +2845,4 @@ Main

[GC]::Collect()
[GC]::Collect()
}
}
2 changes: 1 addition & 1 deletion Exfiltration/Invoke-TokenManipulation.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function Invoke-TokenManipulation
function Invoke-TokenManipulation
{
<#
.SYNOPSIS
Expand Down
4 changes: 2 additions & 2 deletions Exfiltration/Out-Minidump.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function Out-Minidump
function Out-Minidump
{
<#
.SYNOPSIS
Expand Down Expand Up @@ -127,4 +127,4 @@
}

END {}
}
}
4 changes: 2 additions & 2 deletions PETools/Get-LibSymbols.format.ps1xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8" ?>
<Configuration>
<ViewDefinitions>
<View>
Expand Down Expand Up @@ -28,4 +28,4 @@
</ListControl>
</View>
</ViewDefinitions>
</Configuration>
</Configuration>
4 changes: 2 additions & 2 deletions PETools/Get-LibSymbols.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function Get-LibSymbols
function Get-LibSymbols
{
<#
.SYNOPSIS
Expand Down Expand Up @@ -279,4 +279,4 @@
}

END {}
}
}
4 changes: 2 additions & 2 deletions PETools/Get-ObjDump.format.ps1xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8" ?>
<Configuration>
<ViewDefinitions>
<View>
Expand Down Expand Up @@ -289,4 +289,4 @@
</TableControl>
</View>
</ViewDefinitions>
</Configuration>
</Configuration>
4 changes: 2 additions & 2 deletions PETools/Get-ObjDump.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function Get-ObjDump
function Get-ObjDump
{
<#
.SYNOPSIS
Expand Down Expand Up @@ -705,4 +705,4 @@
}

END {}
}
}
2 changes: 1 addition & 1 deletion PETools/Get-PEHeader.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -957,4 +957,4 @@ PROCESS {

}

}
}
2 changes: 1 addition & 1 deletion PETools/PETools.format.ps1xml
Original file line number Diff line number Diff line change
Expand Up @@ -371,4 +371,4 @@
</TableControl>
</View>
</ViewDefinitions>
</Configuration>
</Configuration>
4 changes: 2 additions & 2 deletions PETools/PETools.psd1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@{
@{

# Script module or binary module file associated with this manifest.
ModuleToProcess = 'PETools.psm1'
Expand Down Expand Up @@ -86,4 +86,4 @@ FileList = 'PETools.psm1', 'PETools.psd1', 'PETools.format.ps1xml', 'Get-DllLoad
# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
# DefaultCommandPrefix = ''

}
}
2 changes: 1 addition & 1 deletion PETools/PETools.psm1
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Get-ChildItem (Join-Path $PSScriptRoot *.ps1) | % { . $_.FullName}
Get-ChildItem (Join-Path $PSScriptRoot *.ps1) | % { . $_.FullName}
4 changes: 2 additions & 2 deletions Persistence/Add-Persistence.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function Add-Persistence
function Add-Persistence
{
<#
.SYNOPSIS
Expand Down Expand Up @@ -397,4 +397,4 @@ $UserTriggerRemoval
}

#endregion
}
}
4 changes: 2 additions & 2 deletions Persistence/New-ElevatedPersistenceOptions.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function New-ElevatedPersistenceOptions
function New-ElevatedPersistenceOptions
{
<#
.SYNOPSIS
Expand Down Expand Up @@ -167,4 +167,4 @@
$PersistenceOptions.PSObject.TypeNames[0] = 'PowerSploit.Persistence.ElevatedPersistenceOptions'

Write-Output $PersistenceOptions
}
}
4 changes: 2 additions & 2 deletions Persistence/New-UserPersistenceOptions.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function New-UserPersistenceOptions
function New-UserPersistenceOptions
{
<#
.SYNOPSIS
Expand Down Expand Up @@ -125,4 +125,4 @@
$PersistenceOptions.PSObject.TypeNames[0] = 'PowerSploit.Persistence.UserPersistenceOptions'

Write-Output $PersistenceOptions
}
}
4 changes: 2 additions & 2 deletions Persistence/Persistence.psd1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@{
@{

# Script module or binary module file associated with this manifest.
ModuleToProcess = 'Persistence.psm1'
Expand Down Expand Up @@ -34,4 +34,4 @@ ModuleList = @(@{ModuleName = 'Persistence'; ModuleVersion = '1.0.0.0'; GUID = '
FileList = 'Persistence.psm1', 'Persistence.psd1', 'Add-Persistence.ps1', 'New-ElevatedPersistenceOptions.ps1',
'New-UserPersistenceOptions.ps1', 'Usage.md'

}
}
4 changes: 2 additions & 2 deletions Persistence/Persistence.psm1
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
. (Join-Path $PSScriptRoot New-ElevatedPersistenceOptions.ps1)
. (Join-Path $PSScriptRoot New-ElevatedPersistenceOptions.ps1)
. (Join-Path $PSScriptRoot New-UserPersistenceOptions.ps1)
. (Join-Path $PSScriptRoot Add-Persistence.ps1)
. (Join-Path $PSScriptRoot Add-Persistence.ps1)
4 changes: 2 additions & 2 deletions PowerSploit.psd1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@{
@{

# Script module or binary module file associated with this manifest.
ModuleToProcess = 'PowerSploit.psm1'
Expand Down Expand Up @@ -93,4 +93,4 @@ FileList = 'PowerSploit.psd1', 'PowerSploit.psm1'
# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
# DefaultCommandPrefix = ''

}
}
2 changes: 1 addition & 1 deletion PowerSploit.psm1
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Get-ChildItem $PSScriptRoot | ? { $_.PSIsContainer } | % { Import-Module $_.FullName }
Get-ChildItem $PSScriptRoot | ? { $_.PSIsContainer } | % { Import-Module $_.FullName }
2 changes: 1 addition & 1 deletion Recon/Get-HttpStatus.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,4 @@ http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
Write-Output $ScanObject

}
}
}
2 changes: 1 addition & 1 deletion Recon/Invoke-Portscan.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function Invoke-Portscan
function Invoke-Portscan
{
<#
.SYNOPSIS
Expand Down
8 changes: 4 additions & 4 deletions Recon/Recon.psd1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@{
@{

# Script module or binary module file associated with this manifest.
ModuleToProcess = 'Recon.psm1'
Expand Down Expand Up @@ -72,9 +72,9 @@ AliasesToExport = ''
# List of all modules packaged with this module.
ModuleList = @(@{ModuleName = 'Recon'; ModuleVersion = '1.0.0.0'; GUID = '7e775ad6-cd3d-4a93-b788-da067274c877'})

# List of all files packaged with this module
# List of all files packaged with this module
FileList = 'Recon.psm1', 'Recon.psd1', 'Get-HttpStatus.ps1', 'Invoke-ReverseDnsLookup.ps1',
'Invoke-Portscan.ps1', 'Usage.md'
'Invoke-Portscan.ps1', 'Usage.md'

# Private data to pass to the module specified in RootModule/ModuleToProcess
# PrivateData = ''
Expand All @@ -85,4 +85,4 @@ FileList = 'Recon.psm1', 'Recon.psd1', 'Get-HttpStatus.ps1', 'Invoke-ReverseDnsL
# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
# DefaultCommandPrefix = ''

}
}
2 changes: 1 addition & 1 deletion Recon/Recon.psm1
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Get-ChildItem (Join-Path $PSScriptRoot *.ps1) | % { . $_.FullName}
Get-ChildItem (Join-Path $PSScriptRoot *.ps1) | % { . $_.FullName}
4 changes: 2 additions & 2 deletions ReverseEngineering/ConvertTo-String.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
filter ConvertTo-String
filter ConvertTo-String
{
<#
.SYNOPSIS
Expand Down Expand Up @@ -67,4 +67,4 @@ http://www.exploit-monday.com
$FileStream.Close()

Write-Output $BinaryText
}
}
4 changes: 2 additions & 2 deletions ReverseEngineering/Get-ILDisassembly.format.ps1xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8" ?>
<Configuration>
<ViewDefinitions>
<View>
Expand Down Expand Up @@ -43,4 +43,4 @@
</TableControl>
</View>
</ViewDefinitions>
</Configuration>
</Configuration>
2 changes: 1 addition & 1 deletion ReverseEngineering/Get-ILDisassembly.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -212,4 +212,4 @@ http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-335.pdf
# Adjust the position in the opcode array accordingly
$Position += $OperandLength
}
}
}
Loading

0 comments on commit 237d362

Please sign in to comment.