SHD-CacheAttackLab/Part2-FlushReload/gen_file.py

12 lines
207 B
Python
Raw Permalink Normal View History

2024-02-07 14:23:56 +00:00
from pathlib import Path
def main():
out_path = Path("shared_file")
with out_path.open(mode="wb"):
out_path.write_bytes(bytearray([0] * 1024 * 128))
if __name__ == '__main__':
main()