feat(forensic): base task and flag accept

This commit is contained in:
2025-04-08 23:00:54 +03:00
parent de78c5f8a0
commit 16adc1d99e
4 changed files with 49 additions and 6 deletions
+1 -1
View File
@@ -5,4 +5,4 @@ def task1_flag(flag_task1, id):
if not os.path.exists('/tmp/task1'):
os.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")
os.system(f"exiftool -Comment='{flag_task1}' /tmp/task1/{id}.jpg")