ronin-rb / ronin

Ronin is a Free and Open Source Ruby Toolkit for Security Research and Development. Ronin also allows for the rapid development and distribution of code, exploits, payloads, etc, via 3rd-party git repositories.
https://ronin-rb.dev
GNU General Public License v3.0
695 stars 50 forks source link

Add missing `--smtp` option to `ronin unescape` #201

Open postmodern opened 5 months ago

postmodern commented 5 months ago

The ronin unescape command is missing the --smtp option.

zzJZzz commented 4 months ago

Hey. Great work with Ronin. I'd be glad to work on this issue.

postmodern commented 4 months ago

@zzJZzz feel free to send a PR for this. While we're in the middle of beta-testing Ronin 2.1.0, I could still release a 2.0.6 bug fix release and rebase the 2.1.0 branch so the next 2.1.0.rc has the missing option included as well.

postmodern commented 3 months ago

@zzJZzz I have now added String#smtp_encode, String#smtp_decode, String#smtp_escape, and String#smtp_unescape methods that are just aliases to the String#quoted_printable_* methods (email message bodies are encoded using Quoted Printable encoding, so "SMTP encoding" = Quoted Printable). I have also created a new 2.2.0 branch which bundles in the ronin-support 1.2.0 branch.

postmodern commented 3 months ago

Moving this issue to the 2.2.0 milestone, since it requires ronin-support 1.2.0.