This pull request makes adjustments to the Send HTML with Embedded Javascript with Gmail emulation.
Add a description
Add references
Add Emulation class docstrings
Adds --js-file argument to allow custom JS code to be loaded from file and embedded in HTML doc
Adjusts create_html to load from file or use default
Default JS includes basic obfuscation
Added additional lure to default email generated
Adds some basic error handling
Emulation Testing
Note that in order to test this emulation, 2 separate google workspace accounts were necessary where one needs to be external to the organization being monitored. OAuth creds and valid sessions then needed to be established within the credential store as well.
Overview
This pull request makes adjustments to the
Send HTML with Embedded Javascript with Gmail
emulation.Emulation
class docstrings--js-file
argument to allow custom JS code to be loaded from file and embedded in HTML doccreate_html
to load from file or use defaultEmulation Testing
Note that in order to test this emulation, 2 separate google workspace accounts were necessary where one needs to be external to the organization being monitored. OAuth creds and valid sessions then needed to be established within the credential store as well.