A simple Go-based CLI utility to sanitize and defang URLs for safe sharing in SOC environments.
This cleans up and IOC-ifies any URL and adds it to your clipboard
-
Prerequisites:
- Go installed and configured, if you want/need to build it yourself, otherwise, binaries for Linux and Windows are included.
-
Clone the repository:
git clone <repository_url> cd durl
-
Build the project: (Optional)
Built executables are included for Windows and Linux, but if you want or need to build the project yourself:
go build -o durl main.go
-
** Install **
To make the app globally available as a CLI utility, run the install scripts provided for Windows or Linux respectively.
Restart your terminal and you should be able to access the utility with durl
Single URL Defangs a single URL
./durl <url>
Multi-Mode Defangs multiple URLs (space-separated)
./durl <url1> <url2> <url3>