Defangs and refangs malicious URLs
- As a script: use the `defang` command to defang or "refang"
both stdin/stdout streams as well as to/from files on disk::
$ echo http://evil.example.com/malicious.php | defang
- As a library::
>>> from defang import defang
>>> url = "http://evil.example.com/malicious.php"
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.