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 |
#720 in Command line utilities
65 downloads per month
4KB
57 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