#!/usr/bin/env python3 import array import sys import os from datetime import datetime sites_file = "./sites" mtime = datetime.fromtimestamp(os.path.getmtime(sites_file)).strftime("%Y-%m-%d %H:%M") sites_list = ['
As of {}, the following tilde.institute users had at least one file in their public_html folder, so you might find some sort of web site there.
' "{}" "I put this together to learn something about writing shell and CGI scripts on tilde.institue. [source]
" "" "").format(mtime, "".join(sites_list)) print(payload)