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.
- Host: GitHub
- URL: https://github.com/edoardottt/defango
- Owner: edoardottt
- License: mit
- Created: 2023-11-05T09:07:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-26T10:13:57.000Z (7 months ago)
- Last Synced: 2025-03-18T19:29:24.715Z (3 months ago)
- Topics: 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
- Language: Go
- Homepage: https://edoardoottavianelli.it
- Size: 33.2 KB
- Stars: 14
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
defango
URL / IP / Email defanging with Golang. Make IoC harmless.
Coded with 💙 by edoardottt
Install •
Get Started •
Changelog •
Contributing •
LicenseInstall 📡
----------```console
go get github.com/edoardottt/defango
```Get Started 🎉
----------```go
package mainimport (
"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.