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
import base64 | |
from Crypto.Hash import MD5 | |
from Crypto.Cipher import DES | |
try: | |
from Cryptodome.Util import Padding | |
except ImportError: | |
from Crypto.Util import Padding | |
_password = '111' #use your own pass key |
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
# jump to a location with write permissions | |
cd $env:USERPROFILE\desktop | |
# add win sdk dir to path variable | |
$env:Path="$env:Path;C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x64\" | |
# create root ca cert | |
makecert -n "CN=root ca" -a sha1 -eku 1.3.6.1.5.5.7.3.3 -r -sv root.pvk root.cer -ss Root -sr localMachine -l https://www.zerodayinitiative.com/blog/ | |
# create code signer cert |