add tokens for netre

This commit is contained in:
Neale Pickett 2013-01-31 13:51:56 -07:00
parent f581323c37
commit 02299001b6
3 changed files with 124 additions and 9 deletions

View File

@ -1,6 +1,11 @@
From: The Tracer FIRE Registration Fairy <neale@lanl.gov>
To: RCPT
Subject: Tracer FIRE: Your Course Assignment
Subject: Tracer FIRE: Your Course Assignment (repeat email)
This is a repeat email of your course assignment. Some people didn't
recieve their assignment on Monday. This should not contain any new
information if you've already seen your course assignment.
Your course assignment is:

View File

@ -0,0 +1,97 @@
rguttierrez@ercot.com 653bbab6
aamccann@bpa.gov 9511e9de
aaron.bay@navy.mil 1816685f
adamsonrm@ornl.gov 8fc4ec30
aps@llnl.gov eb4c1b46
bret.howell@srs.gov a11f3422
briancjewell@gmail.com 0f597f66
burnettetc@ornl.gov aa497717
cfinn@lanl.gov 07054d92
chance.younkin@pnnl.gov 512c0533
charles02.long@srs.gov bef6f272
Christopher.M.Pettit@associates.ice.dhs.gov 0c116fb1
Colburnja@gmail.com 67f3a8b8
cphoffma@lanl.gov 1e2889fb
craig.rollings.1@nellis.af.mil b77d49c2
craig.strait@pnnl.gov 0960bcdd
dave.klingler@inl.gov 618699d1
david_d_kaas@rl.gov deb20728
David.Rasson@associates.ice.dhs.gov 5fb4eb8a
djvollan@lanl.gov aaba3c75
doug@pnnl.gov 684c39f7
dpullman@jlab.org d8ad7134
frostellrr@ornl.gov 3d2131af
garrett.bemis@pnnl.gov d46fd15a
george.muller@pnnl.gov b1ac1f27
George.Velasquez@associates.ice.dhs.gov 56036b6a
gerberjj@ornl.gov 89a46363
Gerry.barsczewski@ssa.gov f14d6b7c
gershmaner@ornl.gov ed3acf91
glenn.e.hinkle.civ@mail.mil 8feb3f0e
grafton@wapa.gov 2acba49e
greg@pnnl.gov 3fcfe355
hasan.syed@srs.gov 26cc64b4
hpatters@pantex.com 0871ad7e
hulsebus@ameslab.gov 79759cce
hunt27@llnl.gov 6a4b7a2f
iulian.langa.civ@mail.mil 87a99443
jason.miller@ci.oxnard.ca.us b640fdbf
Jasper.Solt@navy.mil ee20b2dc
javery@pantex.com 2628ffd5
jbotello@pantex.com 67121663
jeremy.brotherton@sf.frb.org 7fbd250f
jkovach@fdic.gov 62ca879b
jldishm@sandia.gov ab6cdce7
johnathan.truss.ctr@navy.mil f136bf35
john.mancuso@ny.frb.org a6a57818
Joshua.VanBuren@srs.gov 8033fd61
jpn8@cdc.gov a0abd882
jrhammer@lanl.gov 62af58fb
jwelcher@lbl.gov ed558b82
jwhiteley@ercot.com 9c436278
kabonnema@bpa.gov 63a360db
kamal.mostofa@hq.doe.gov 1acd2a2b
ken.scates@iarc.nv.gov ca7d34fa
kschulz@wapa.gov a9ff10e8
liddeke1@llnl.gov 5ee4c4ba
lro@pnnl.gov aac9c6c9
malesjl@ornl.gov c27580e6
marcmac@ameslab.gov 169cbb6f
mark.bradford@srs.gov 3b00e1dd
mark.stacey@pnl.gov 5dedeac7
mason.richardson@srs.gov 50a775d4
matthew.berge@ny.frb.org 09f30e89
mcculloughmd@ornl.gov a5326812
Michael.J.Prevost.Civ@mail.mil 40a13de6
molzenpl@nv.doe.gov 3971c823
morin@unm.edu aedd8d2c
mstreb@baltimorecountymd.gov 63a73226
murrayr@mail.maricopa.gov b6e0093d
niccole.vanmeter.contractor@usap.gov bb6cc898
nihdfir@mail.nih.gov 494826b6
pdbarnes@llnl.gov 447021d2
pmsmith@moxproject.com ba8caf79
quinn.carman@nellis.af.mil ab93a026
rebel.powell@nellis.af.mil 68a08a0d
rjmurra@sandia.gov 7f77935e
ryan.hafen@pnnl.gov ba668613
scheibel1@llnl.gov 70c66cfa
sears@ameslab.gov 2877dcd2
shawn.bohn@pnnl.gov 5ff3183c
shelby_c_spencer@rl.gov 7e279b11
sontheimer1@llnl.gov d8f8b6f9
spbarry@bpa.gov 7067154d
sstelfox+csr.lanl.gov@bedroomprogrammers.net dc639fcd
stephegm@nv.doe.gov 2bf4cd2e
steven.chansky@hq.doe.gov f1e128f1
steve.stellmacher@associates.ice.dhs.gov 4efe2e4a
timothy.whisnant@srs.gov 8dca668d
vincent.lally@ny.frb.org ad8c84ee
vsb4@cdc.gov 63dba01c
vstoffer@lbl.gov 51de82e6
Warren.V.Camp@associates.ice.dhs.gov 772a1945
wellington.selden@associates.ice.dhs.gov dab65ad5
william.borkmann@doe.gov 5d07f70a
wlx4@cdc.gov 45293ce9
woredwo@sandia.gov 6e826d89
zacharybs@ornl.gov 7452d110

View File

@ -1,14 +1,27 @@
#! /usr/bin/python3
import smtplib
import sys
courses = {
"net": "Network Archaeology",
"mal": "Malware Reverse-Engineering",
"hst": "Host Forensics",
"icc": "Incident Coordination",
"nil": "None",
}
smtpd = smtplib.SMTP("mail.lanl.gov")
template = open("hubs-mail.txt").read()
for line in open("assignments.txt"):
template = sys.stdin.read()
if 'RCPT' not in template:
print("Pass the template on stdin.")
else:
for line in open("assignments.txt"):
course, email = line.strip().split()
coursename = courses[course]
print(email)
msg = template.replace("RCPT", email)
msg = template.replace("RCPT", email).replace("COURSE", coursename)
smtpd.sendmail("neale@lanl.gov", [email], msg)
#print(msg)