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 : 32-bit
- FileVer : 14.5.0.11
- CRC32 : BB754EC3
- MD5 : 21F8E71A3C61E31229A8CC8B3D99C854
- SHA-1 : E37263F0BE6ED47662B4C704FBB0FA435285C51F
- SHA256 : 5A39B741A71D7534D87B087B8564F730565026BB2175593814324B3AAD6FED5B
- Download: https://downloads.gonitro.com/professional_14.5.0.11/en/enterprise/nitro_pro14_x86.msi
- ----------------------------------------------------------------------------------------------#>
- $hashSrc = ('5A39B741A71D7534D87B087B8564F730565026BB2175593814324B3AAD6FED5B')
- $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[0x1C14EB] = 0x01
- $bytes[0x1C14F9] = 0xFF
- $bytes[0x1C14FA] = 0xC0
- $bytes[0x1C14FB] = 0xC3
- $bytes[0x1C16E0] = 0xB0
- $bytes[0x1C16E1] = 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