mirror of
https://github.com/Karmaz95/Snake_Apple.git
synced 2026-03-30 14:00:16 +02:00
This commit is contained in:
BIN
VII. Antivirus/mac/Bundles of Joy.pdf
Normal file
BIN
VII. Antivirus/mac/Bundles of Joy.pdf
Normal file
Binary file not shown.
@@ -2513,7 +2513,7 @@ class SnakeVII(SnakeVI):
|
||||
|
||||
def addQuarantine(self):
|
||||
''' Add com.apple.quarantine extended attribute to the file. '''
|
||||
value = f'0082;{int(time.time())};CrimsonUroboros;'
|
||||
value = f'0004;{int(time.time())};CrimsonUroboros;'
|
||||
value_as_bytes = value.encode()
|
||||
xattr.setxattr(self.file_path, 'com.apple.quarantine', value_as_bytes)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user