Popularity
1.0
Declining
Activity
0.0
Declining
8
1
1
Programming language: Go
License: BSD 3-clause "New" or "Revised" License
Tags:
Third-party APIs
Latest version: v1.0.0
gomalshare alternatives and similar packages
Based on the "Third-party APIs" category.
Alternatively, view gomalshare alternatives based on common mentions on social networks and blogs.
-
geo-golang
Go Library to access Google Maps, MapQuest, Nominatim, OpenCage, HERE, Bing, and Mapbox geocoding / reverse geocoding APIs. -
gostorm
GoStorm is a Go library that implements the communications protocol required to write Storm spouts and Bolts in Go that communicate with the Storm shells. -
go-tgbot
Pure Golang Telegram Bot API wrapper, generated from swagger file, session-based router and middleware. -
mixpanel
Mixpanel is a library for tracking events and sending Mixpanel profile updates to Mixpanel from your go applications. -
amazon-product-advertising-api
Go Client Library for Amazon Product Advertising API
Get performance insights in less than 4 minutes
Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
Sponsored
scoutapm.com
Do you think we are missing an alternative of gomalshare or a related project?
README
MalShare client library
MalShare is a free Malware repository providing researchers access to samples, malicous feeds, and Yara results. Link to Malshare:
Usage example
go get -u github.com/MonaxGT/gomalshare
go test -api APIKEY -url URL
Simple example using library in cmd/gomalshare/main.go
package main
import (
"flag"
"fmt"
"github.com/MonaxGT/gomalshare"
)
func main() {
apiKeyPtr := flag.String("api", "", "API key MalShare")
urlPtr := flag.String("url", "", "URL MalShare")
flag.Parse()
var err error
var conf *gomalshare.Client
// init function
conf, err = gomalshare.New(*apiKeyPtr, *urlPtr) // Initiate new connection to API
if err != nil {
panic(err)
}
// example with return list of hashes last 24 hours
var list24 *[]gomalshare.HashList
list24, _ = conf.GetListOfHash24()
fmt.Println(list24)
// example with return list of types of downloading files last 24 hours
typeCount, _ := conf.GetListOfTypesFile24()
fmt.Println(typeCount)
// example with return current api key limit
var limitKey *gomalshare.LimitKey
limitKey, _ = conf.GetLimitKey()
fmt.Println(limitKey)
// example with return information of files by using sample
var search *[]gomalshare.SearchDetails
search, err = conf.GetSearchResult("emotet")
if err != nil {
fmt.Println(err)
}
for _, v := range *search {
fmt.Println(v.Md5)
}
// example upload file
filename := "test.test"
err = conf.UploadFile(filename)
if err != nil {
fmt.Println(err)
}
// example for download file by hash request
file, err := conf.DownloadFileFromHash("95bc3d64f49b03749427fcd6601fa8a7")
if err != nil {
fmt.Println(err)
}
fmt.Println(string(file))
}