working on phishing
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user