CiviCERT / suspicious-email-submitter

The Suspicious Email Submitter is a discontinued browser extension (Chrome, Chromium, Firefox) for the easy submission of suspicious emails to a MISP instance for further analysis
GNU General Public License v3.0
13 stars 0 forks source link

Adding support for roundcube #3

Open liliakai opened 6 years ago

liliakai commented 6 years ago

Roundcube is the hosted webmail client for riseup users. In this client, raw .eml files can be downloaded from a particular url constructed using a special token associated with the message, and this token can be found in the DOM, which means support for this client can be added in the same way that gmail and yahoo are implemented:

  1. Use regex or DOM element selection to search for the relevant token
  2. Construct and fetch the raw email download url, ex:
    https://mail.riseup.net/rc/?_task=mail&_save=1&_uid=1&_mbox=INBOX&_action=viewsource&_token=MESSAGE_ID

See also: relevant notes in CONTRIBUTING.md and examples in contentScript.js.

mfc commented 6 years ago

:+1: you're a boss! thanks for investigating it and mapping it out for future dev work.