This file contains hidden or 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
' Add this to Module 1 | |
Option Explicit | |
Private Const PAGE_EXECUTE_READWRITE = &H40 | |
Private Declare Sub MoveMemory Lib "kernel32" Alias "RtlMoveMemory" _ | |
(Destination As Long, Source As Long, ByVal Length As Long) | |
Private Declare Function VirtualProtect Lib "kernel32" (lpAddress As Long, _ |
This file contains hidden or 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 hashlib | |
import os | |
import re | |
rex = re.compile(r'2017-B\.7z\.\d{3}', re.IGNORECASE) | |
# Credit to Glen Thompson for posting these | |
target_hashes = { | |
'2017-B.7z.001': '2a0a9ea08883ee372e87dc5c1a7019fd', | |
'2017-B.7z.002': '3118c66475aca07f6de42993189194cc', |
NewerOlder