This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(Dmitry Brant, Apr 2022) | |
Recently I came across a backup tape (an AIT-3 100GB tape) that was written with a format | |
I didn't recognize. The only thing I knew is that it came from a Mac workstation, which means | |
it was likely written using Retrospect, which was a popular backup tool at the time. | |
This is the result of my reverse-engineering effort to get the contents out of this archive. | |
------------------ | |
This backup format is composed of a sequence of blocks which use FourCC-style formatting. | |
(All data is big-endian. Dates are formatted as seconds since Jan 1 1904.) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
import pickle | |
from googleapiclient.discovery import build | |
from googleapiclient.http import MediaFileUpload | |
from google_auth_oauthlib.flow import InstalledAppFlow | |
from google.auth.transport.requests import Request | |
directoryIndexMap = {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import smtplib | |
server = smtplib.SMTP("smtp.gmail.com", 587) | |
server.ehlo() | |
server.starttls() | |
server.ehlo() | |
server.login("account@example.com", password) | |
msg = "To: destination@example.com\n" | |
msg += "From: source@example.com\n" | |
msg += "Subject: " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ligature: ff fi fl ffi ffl | |
hyphen: ‐ | |
non-breaking hyphen: ‑ | |
minus sign: − | |
figure dash: ‒ | |
en dash: – | |
em dash: — | |
horizontal bar: ― |