feat: regen forensic_task1 flag

This commit is contained in:
2025-02-14 13:19:23 +03:00
committed by Sweetbread
parent d89afd383e
commit ab461ad161
6 changed files with 21 additions and 5 deletions
+7
View File
@@ -0,0 +1,7 @@
import os
def task1_flag(flag_task1, id):
os.system('exiftool -all= static/imgs/task1.jpg')
os.system('mkdir /tmp/task1')
os.system(f'cp static/imgs/task1.jpg /tmp/task1/{id}.jpg')
os.system(f"exiftool -Comment='{flag_task1}' /tmp/task1/{id}.jpg")