Skip to content

Instantly share code, notes, and snippets.

@wesinator
Last active April 26, 2023 22:58
Show Gist options
  • Select an option

  • Save wesinator/15c48f159bc0741ecaae36bc4c98d014 to your computer and use it in GitHub Desktop.

Select an option

Save wesinator/15c48f159bc0741ecaae36bc4c98d014 to your computer and use it in GitHub Desktop.
[Header editor](https://addons.mozilla.org/firefox/addon/header-editor/) rule to redirect old McAfee Virusprofile links to Threat Intelligence page.
{
"request": [
{
"enable": true,
"name": "McAfee Virusprofile",
"ruleType": "redirect",
"matchType": "regexp",
"pattern": "https://home.mcafee.com/virusinfo/virusprofile.aspx\\?key=.*?",
"exclude": "",
"group": "Ungrouped",
"isFunction": false,
"action": "redirect",
"to": "https://www.mcafee.com/enterprise/en-us/threat-intelligence.malwaretc.html?vid="
}
],
"sendHeader": [],
"receiveHeader": [],
"receiveBody": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment