mirror of
https://github.com/monoxgas/sRDI
synced 2026-06-06 16:14:36 +00:00
Add python version check
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
import sys, pefile
|
||||
import sys
|
||||
|
||||
if sys.version_info < (3,0):
|
||||
print("[!] Sorry, requires Python 3.x")
|
||||
sys.exit(1)
|
||||
|
||||
import pefile
|
||||
from struct import pack
|
||||
|
||||
#define IMAGE_NT_OPTIONAL_HDR32_MAGIC 0x10b
|
||||
|
||||
Reference in New Issue
Block a user