Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <#----------------------------------------------------------------------------------------------
- Company : Nitro Software, Inc.
- Product : Nitro PDF Pro
- Edition : Enterprise
- Language: English
- Version : 14.5.0.11
- File : NitroPDF.exe
- Arch : 64-bit
- FileVer : 14.5.0.11
- CRC32 : D794BF01
- MD5 : 301C6AE24FE292DF2FE353F038E0E0D3
- SHA-1 : D4C9FCE242487E540222819F54E9C0B8E4A417D9
- SHA256 : 93A0AF25E6422E3C4BE2CBE9F613E52991DED7E4FC53BA97BBF3C880F70E2733
- Download: https://downloads.gonitro.com/professional_14.5.0.11/en/enterprise/nitro_pro14_x64.msi
- ----------------------------------------------------------------------------------------------#>
- $hashSrc = ('93A0AF25E6422E3C4BE2CBE9F613E52991DED7E4FC53BA97BBF3C880F70E2733')
- $hashCmp = Get-FileHash 'NitroPDF.exe' -Algorithm SHA256
- If ($hashSrc -ne $hashCmp.Hash)
- {
- CLS
- Write-Output 'Checksum of NitroPDF.exe is wrong';
- Read-Host 'Press Enter to exit script...'; break
- } else {
- Copy-Item -Path 'NitroPDF.exe' -Destination 'NitroPDF.exe.bak';
- $bytes = [System.IO.File]::ReadAllBytes((get-location).path+'\NitroPDF.exe')
- $bytes[0x207D15] = 0x01
- $bytes[0x207D2B] = 0xFF
- $bytes[0x207D2C] = 0xC0
- $bytes[0x207D2D] = 0xC3
- $bytes[0x207F52] = 0xB0
- $bytes[0x207F53] = 0x01
- $bytes = [System.IO.File]::WriteAllBytes((get-location).path+'\NitroPDF.exe',$bytes)
- CLS
- Write-Output 'NitroPDF.exe is successfully patched';
- Read-Host 'Press Enter to exit script...'; break
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement