dfang

Crates.iodfang
lib.rsdfang
version0.1.5
sourcesrc
created_at2023-01-25 02:57:18.054682
updated_at2023-11-16 12:29:56.239598
descriptionA tool to defang IOCs.
homepagehttps://github.com/patricktulskie/dfang
repositoryhttps://github.com/patricktulskie/dfang
max_upload_size
id767093
size7,689
Patrick Tulskie (PatrickTulskie)

documentation

README

dfang

Intro

For when you need to quickly make IOCs (email, urls, ip addresses) unclickable and safe to send, just send them through dfang. If you receive something that's been defanged and you need to give it some teeth again, just run it back through rfang.

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
Commit count: 22

cargo fmt