Benign go Download

github.com/Necrom4/sbb-tui v1.15.0

Create directory tree via os.MkdirAllCreates a new HTTP request
SHA-25649c9dce24ef61c5c9a47d3fe6f162b1e17ae62729c4ddf7cd47755a3a151a5b5
MaleculeH₂(Cm₃F)

Evidence

net/http package import client.go · lines 6–10
6 "errors"
7 "fmt"
8 "net/http"
9 "net/url"
10 "strconv"
Creates a new HTTP request client.go · lines 37–41
37// getJSON fetches apiURL (asking for English texts) and decodes the body into out.
38func getJSON(apiURL string, out any) error {
39 req, err := http.NewRequest(http.MethodGet, apiURL, nil)
40 if err != nil {
41 return err
func Test prefix config_test.go · lines 9–11
9func TestDefaultTheme(t *testing.T) {
10 th := DefaultTheme()
11 if th.BadgeModelBg != "#7F7F7F" {
Create directory tree via os.MkdirAll config_test.go · lines 48–55
48 t.Helper()
49 dir := filepath.Join(home, ".config", "sbb-tui")
50 if err := os.MkdirAll(dir, 0o755); err != nil {
51 t.Fatal(err)
52 }
53 if err := os.WriteFile(filepath.Join(dir, "config.yaml"), []byte(content), 0o644); err != nil {
54 t.Fatal(err)
55 }
Sets HTTP User-Agent header version.go · lines 26–27
26 req.Header.Set("Accept", "application/vnd.github+json")
27 req.Header.Set("User-Agent", "sbb-tui")

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.