mirror of
https://github.com/elseif/MikroTikPatch
synced 2026-07-17 18:49:41 +00:00
modified: patch.py
This commit is contained in:
parent
e01697e0bf
commit
fbdba025ba
2
patch.py
2
patch.py
@ -201,7 +201,7 @@ def patch_pe(data: bytes,key_dict:dict):
|
|||||||
|
|
||||||
def build_efi(input_file, output_file):
|
def build_efi(input_file, output_file):
|
||||||
from package import check_install_package
|
from package import check_install_package
|
||||||
check_install_package(['pyelftools'])
|
check_install_package(['pyelftools','pefile'])
|
||||||
from elftools.elf.elffile import ELFFile
|
from elftools.elf.elffile import ELFFile
|
||||||
import pefile
|
import pefile
|
||||||
def find_xz_streams(data:bytes):
|
def find_xz_streams(data:bytes):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user