Benign go Download

github.com/Martin2112/github-release v0.5.2

Fetched github.com repository artifactCopy data via io.Copy
SHA-256535babc6177f13f68f675e9d7ed51c2c72bf6a3fda522416db52cb9c332bbbd0
MaleculeH₂(Cm₃F)

Evidence

net/http package import lines 6–10
6 "io"
7 "io/ioutil"
8 "net/http"
9 "os"
10)
Creates a new HTTP request lines 21–23
21 req, err := http.NewRequest(method, url, body)
22 if err != nil {
23 return nil, err
Sets HTTP Authorization header lines 47–50
47 if bodyType != "" {
48 req.Header.Set("Content-Type", bodyType)
49 }
50 req.Header.Set("Authorization", fmt.Sprintf("token %s", token))
Executes an HTTP request in lines 65–67
65 resp, err := http.DefaultClient.Do(req)
66 if err != nil {
67 return nil, err
Go http.Get call lines 73–76
73func GithubGet(uri string, v interface{}) error {
74 resp, err := http.Get(ApiURL() + uri)
75 if err != nil {
76 return fmt.Errorf("could not fetch releases, %v", err)

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.