Files
CoM-c2itall/modules/phishing/gophish/files/opsec_wrapper.py
T
2025-07-09 11:30:04 -04:00

15 lines
669 B
Python

class OPSECGoPhish:
def __init__(self):
self.use_gophish_for = ['email_sending', 'template_management']
self.use_custom_for = ['tracking', 'credential_capture', 'reporting']
def send_campaign(self, targets, template):
# Use GoPhish SMTP capabilities
campaign = self.create_minimal_campaign(targets, template)
# But replace tracking with custom implementation
campaign.tracking_url = self.custom_tracker.generate_url()
campaign.landing_page = self.custom_landing.generate()
# Store results in encrypted, distributed storage
self.secure_storage.initialize(campaign.id)