5 releases

new 0.1.4 Jan 30, 2023
0.1.3 Jan 30, 2023
0.1.2 Jan 27, 2023
0.1.1 Jan 25, 2023
0.1.0 Jan 25, 2023

#601 in Command line utilities

Download history 69/week @ 2023-01-21

69 downloads per month

MIT license

6KB
81 lines

dfang

Defang IOCs (ips, emails, urls, etc)

Install

cargo install dfang
cargo install rfang

Usage

dfang something@somewhere.com
rfang something[@]somewhere[.]com

...or pipe in from another application

// Extract defanged URLs from a file
grep hxxp iocs.txt | rfang

// Take your clipboard, defang it, and copy it again
pbpaste | dfang | pbcopy

Dependencies

~1–1.3MB
~38K SLoC