An open API service indexing awesome lists of open source software.

https://github.com/edoardottt/defango

URL / IP / Email defanging with Golang. Make IoC harmless.
https://github.com/edoardottt/defango

defang defanging defense defensive-security email-security go golang golang-module golang-package indicators-of-compromise ioc malware malware-analysis malware-protection malware-research phishing phishing-protection security web-security websecurity

Last synced: 3 months ago
JSON representation

URL / IP / Email defanging with Golang. Make IoC harmless.

Awesome Lists containing this project

README

        


defango


URL / IP / Email defanging with Golang. Make IoC harmless.

Coded with 💙 by edoardottt


go action


go report card




Share on Twitter!


Install
Get Started
Changelog
Contributing
License

Install 📡
----------

```console
go get github.com/edoardottt/defango
```

Get Started 🎉
----------

```go
package main

import (
"fmt"
"log"
"github.com/edoardottt/defango"
)

func main() {
fmt.Println(defango.IP("8.8.8.8:53"))

u, err := defango.URL("http://malicious.example.link.com:666/m4lw4r3.exe")
if err != nil {
log.Fatal(err)
}
fmt.Println(u)

fmt.Println(defango.Email("mailto:[email protected]"))
}
```

Read the full [`package documentation here`](https://pkg.go.dev/github.com/edoardottt/defango).

Changelog 📌
-------

Detailed changes for each release are documented in the [release notes](https://github.com/edoardottt/defango/releases).

Contributing 🛠
-------

Just open an [issue](https://github.com/edoardottt/defango/issues) / [pull request](https://github.com/edoardottt/defango/pulls).

Before opening a pull request, download [golangci-lint](https://golangci-lint.run/usage/install/) and run

```console
golangci-lint run
```

If there aren't errors, go ahead :)

License 📝
-------

This repository is under [MIT License](https://github.com/edoardottt/defango/blob/main/LICENSE).
[edoardottt.com](https://edoardottt.com) to contact me.