GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — processing-docs/generate/mailinglist-decrypt.php at master · processing/processing-docs Expand file tree/ Copy pathmailinglist-decrypt.phpMore file actions 33 lines (24 loc) · 790 Bytes / Copy pathmailinglist-decrypt.phpFile metadata and controls33 lines (24 loc) · 790 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 <?php // ubsubscribe functionality. saves to a flat file. // built by Jamie Kosoy (@jkosoy, [email protected]) require_once('../config.php'); require_once(BASEDIR . '/subscribe/AES.class.php'); // gets the aes key. $aesKeyFilePath = BASEDIR . '../mailinglist/aes-key.txt'; $fh = fopen($aesKeyFilePath, 'r'); $aesKey = fread($fh, filesize($aesKeyFilePath)); fclose($fh); // set the aes block size. $aesBlockSize = 256; // where the mailing list text file is located. $listFilePath = BASEDIR . '../mailinglist/list.txt'; $aes = new AES('', $aesKey, $aesBlockSize); $fh = fopen($listFilePath, 'r'); while (($line = fgets($fh)) !== false) { $aes->setData($line); $email = $aes->decrypt(); error_log($email); echo "$email<br />"; } fclose($fh); ?> |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |