- Notifications
You must be signed in to change notification settings - Fork1
URL / IP / Email defanging with Golang. Make IoC harmless.
License
NotificationsYou must be signed in to change notification settings
edoardottt/defango
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Install •Get Started •Changelog •Contributing •License
go get github.com/edoardottt/defango
package mainimport ("fmt""log""github.com/edoardottt/defango")funcmain() {fmt.Println(defango.IP("8.8.8.8:53"))u,err:=defango.URL("http://malicious.example.link.com:666/m4lw4r3.exe")iferr!=nil {log.Fatal(err) }fmt.Println(u)fmt.Println(defango.Email("mailto:edoardott@gmail.com"))}
Read the fullpackage documentation here
.
Detailed changes for each release are documented in therelease notes.
Just open anissue /pull request.
Before opening a pull request, downloadgolangci-lint and run
golangci-lint run
If there aren't errors, go ahead :)
This repository is underMIT License.
edoardottt.com to contact me.
About
URL / IP / Email defanging with Golang. Make IoC harmless.