Skip to content

Instantly share code, notes, and snippets.

@znb
Created October 27, 2022 02:54
Show Gist options
  • Save znb/039ebc63cc16ab28b69308db45e9cc8c to your computer and use it in GitHub Desktop.
Save znb/039ebc63cc16ab28b69308db45e9cc8c to your computer and use it in GitHub Desktop.
Simple CyberChef recipe to make a defanged URL unsafe again
Find_/_Replace({'option':'Regex','string':'hxxp'},'http',true,false,true,false)
Find_/_Replace({'option':'Regex','string':'\\['},'',true,false,true,false)
Find_/_Replace({'option':'Regex','string':'\\]'},'',true,false,true,false)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment