Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python3
import ctypes
import time
import threading
def test():
def access(path):
f = open(path, 'rb')
__ =
#!/usr/bin/env python3
# (c) Maxim Suhanov
# 2020
import sys
if len(sys.argv) != 4:
print('Usage: <bitmap file> <flat image> <cluster size (in bytes)')
#!/usr/bin/env python3
import os
from time import sleep
FILE_PATH = 'ts.txt'
def get_atime_1():
result = os.stat(FILE_PATH, follow_symlinks = False)
return result.st_atime
#!/usr/bin/env python3
from yarp import *
import sys
if len(sys.argv) != 2:
sys.exit('No file specified!')
with open(sys.argv[1], 'rb') as hive_file:
hive = Registry.RegistryHive(hive_file)