Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

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

License

NotificationsYou must be signed in to change notification settings

edoardottt/defango

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Coded with 💙 by edoardottt

go actiongo report card
Share on Twitter!

InstallGet StartedChangelogContributingLicense

Install 📡

go get github.com/edoardottt/defango

Get Started 🎉

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.

Changelog 📌

Detailed changes for each release are documented in therelease notes.

Contributing 🛠

Just open anissue /pull request.

Before opening a pull request, downloadgolangci-lint and run

golangci-lint run

If there aren't errors, go ahead :)

License 📝

This repository is underMIT License.
edoardottt.com to contact me.


[8]ページ先頭

©2009-2025 Movatter.jp