diff options
author | Matt Graeber <PowerShellMafia@users.noreply.github.com> | 2015-11-04 13:48:27 -0500 |
---|---|---|
committer | Matt Graeber <PowerShellMafia@users.noreply.github.com> | 2015-11-04 13:48:27 -0500 |
commit | 12ce71b9f4b0428d9425e001e5988f91eb2b8b87 (patch) | |
tree | 823da32d904d42d5cb8b30d580b6d91d3fbcbb80 | |
parent | 2dd1f5920d08d877628154bcbe8c2a93f2b835af (diff) | |
download | PowerSploit-12ce71b9f4b0428d9425e001e5988f91eb2b8b87.tar.gz PowerSploit-12ce71b9f4b0428d9425e001e5988f91eb2b8b87.zip |
Normalizing all files to ascii encoding
-rw-r--r-- | Exfiltration/Get-VaultCredential.ps1 | 4 | ||||
-rw-r--r-- | Exfiltration/VolumeShadowCopyTools.ps1 | 4 | ||||
-rw-r--r-- | Mayhem/Mayhem.psd1 | 2 | ||||
-rw-r--r-- | Mayhem/Mayhem.psm1 | 8 | ||||
-rw-r--r-- | Recon/Get-ComputerDetails.ps1 | 4 |
5 files changed, 11 insertions, 11 deletions
diff --git a/Exfiltration/Get-VaultCredential.ps1 b/Exfiltration/Get-VaultCredential.ps1 index c830fa2..57570e8 100644 --- a/Exfiltration/Get-VaultCredential.ps1 +++ b/Exfiltration/Get-VaultCredential.ps1 @@ -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) } } -}
\ No newline at end of file +} diff --git a/Exfiltration/VolumeShadowCopyTools.ps1 b/Exfiltration/VolumeShadowCopyTools.ps1 index 49fe22d..9d6952e 100644 --- a/Exfiltration/VolumeShadowCopyTools.ps1 +++ b/Exfiltration/VolumeShadowCopyTools.ps1 @@ -1,4 +1,4 @@ -function Get-VolumeShadowCopy +function Get-VolumeShadowCopy { <# .SYNOPSIS @@ -289,4 +289,4 @@ function Mount-VolumeShadowCopy { } -}
\ No newline at end of file +} 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 +} diff --git a/Recon/Get-ComputerDetails.ps1 b/Recon/Get-ComputerDetails.ps1 index 63ac1cb..33e8d06 100644 --- a/Recon/Get-ComputerDetails.ps1 +++ b/Recon/Get-ComputerDetails.ps1 @@ -1,4 +1,4 @@ -function Get-ComputerDetails +function Get-ComputerDetails { <# .SYNOPSIS @@ -577,4 +577,4 @@ Github repo: https://github.com/clymb3r/PowerShell } return $ReturnInfo -}
\ No newline at end of file +} |