2.4.0

Automattic/harper2.4.0Sep 14, 2020by kgretzky

AI Summary

Adds campaign management features including custom HTML templates, custom hostnames, and SOCKS5/HTTP proxy support. It also introduces encrypted parameters, User-Agent filtering, and improved URL generation capabilities.

Key Highlights

  • Support for SOCKS5 and HTTP(S) proxy routing
  • Custom HTML templates for phishing lures
  • Custom hostname support for phishing lures
  • Encrypted custom parameters in phishing URLs
  • User-Agent whitelist filtering

Breaking Changes

  • Removed custom parameters from lure options; parameters are now only sent encoded in the phishing URL

New Features

  • Pre-phish HTML templates with redirection placeholders
  • Custom hostnames for phishing lures
  • IP blacklist functionality
  • Encrypted custom parameters in URLs
  • User-Agent filtering for request rejection
  • Import/export parameters and URLs
  • `with_params` option for `sub_filter`

Full Release Notes

- **Feature**: Create and set up pre-phish HTML templates for your campaigns. Create your HTML file and place `{lure_url_html}` or `{lure_url_js}` in code to manage redirection to the phishing page with any form of user interaction. Command: `lures edit <id> template <template>`
- **Feature**: Create customized hostnames for every phishing lure. Command: `lures edit <id> hostname <hostname>`.
- **Feature**: Support for routing connection via SOCKS5 and HTTP(S) proxies. Command: `proxy`.
- **Feature**: IP blacklist with automated IP address blacklisting and blocking on all or unauthorized requests. Command: `blacklist`
- **Feature**: Custom parameters can now be embedded encrypted in the phishing url. Command: `lures get-url <id> param1=value1 param2="value2 with spaces"`.
- **Feature**: Requests to phishing urls can now be rejected if User-Agent of the visitor doesn't match the whitelist regular expression filter for given lure. Command: `lures edit <id> ua_filter <regexp>`
- List of custom parameters can now be imported directly from file (text, csv, json). Command: `lures get-url <id> import <params_file>`.
- Generated phishing urls can now be exported to file (text, csv, json). Command: `lures get-url <id> import <params_file> export <export_file> <text|csv|json>`.
- Fixed: Requesting LetsEncrypt certificates multiple times without restarting. Subsequent requests would result in "No embedded JWK in JWS header" error.
- Removed setting custom parameters in lures options. Parameters will now only be sent encoded with the phishing url.
- Added `with_params` option to `sub_filter` allowing to enable the sub_filter only when specific parameter was set with the phishing url.
- Made command help screen easier to read.
- Improved autofill for `lures edit` commands and switched positions of `<id>` and the variable name.
- Increased the duration of whitelisting authorized connections for whole IP address from 15 seconds to 10 minutes.