Replace 'http' with 'hxxp' and '.' with '[.]' on every URL.
Threat-intel reports defang URLs so analysts can't accidentally click them.
Read N lines from stdin (each is a URL). For each, print the defanged version: replace every `.` with `[.]` and every `http` with `hxxp` (this also handles `https` → `hxxps`).
Example:
```
input: http://evil.com/x
https://example.org
output: hxxp://evil[.]com/x
hxxps://example[.]org
```Sign in to save your code and track progress across devices.