Created
November 25, 2016 19:26
-
-
Save ducke/c8435399922f5de2d393e52ed1bb68d5 to your computer and use it in GitHub Desktop.
Desktop Bridge PoC
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DesktopAppConverter.exe -Setup -BaseImage "C:\Users\mhenke\Downloads\BaseImage-14393.wim" | |
DesktopAppConverter.exe -Installer C:\dev\7-Zip.16.0.4\7z1604-x64.msi -PackageName "MyApp" -Publisher "CN=7zip" -Version "16.0.4.0" -MakeAppx -Destination "c:\dev" -verbose | |
& "C:\Program Files (x86)\Windows Kits\10\bin\x64\makecert.exe" -r -h 0 -n "CN=7zip" -eku 1.3.6.1.5.5.7.3.3 -pe -sv myapp.pvk myapp.cer | |
& "C:\Program Files (x86)\Windows Kits\10\bin\x64\pvk2pfx.exe" -pvk .\myapp.pvk -spc .\myapp.cer -pfx .\myapp.pfx | |
& "C:\Program Files (x86)\Windows Kits\10\bin\x64\signtool.exe" sign -f .\myapp.pfx -fd SHA256 -v C:\dev\MyApp\MyApp.appx | |
#Import Cert in Store | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment