Skip to content
This repository was archived by the owner on Jun 11, 2026. It is now read-only.

Commit 1874ed0

Browse files
committed
chore: updated repository
1 parent cbd4e4a commit 1874ed0

13 files changed

Lines changed: 50 additions & 41 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ jobs:
2020

2121
-
2222
name: Set up Go
23-
uses: actions/setup-go@v5
23+
uses: actions/setup-go@v6
24+
with:
25+
go-version: 1.26
2426

2527
-
2628
name: Test

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ go.work.sum
2828
.env
2929

3030
# Editor/IDE
31-
# .idea/
32-
# .vscode/
31+
.idea/
32+
.vscode/

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2025 Christian Uhsat
3+
Copyright (c) 2026 Fox Forensics
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# ffind
2-
[![Go Reference](https://pkg.go.dev/badge/github.com/cuhsat/ffind.svg)](https://pkg.go.dev/github.com/cuhsat/ffind)
3-
[![Go Report Card](https://goreportcard.com/badge/github.com/cuhsat/ffind?style=flat-square)](https://goreportcard.com/report/github.com/cuhsat/ffind)
4-
[![Release](https://img.shields.io/github/release/cuhsat/ffind.svg?style=flat-square)](https://github.com/cuhsat/ffind/releases/latest)
2+
[![Go Reference](https://pkg.go.dev/badge/github.com/f0x4n6/ffind.svg)](https://pkg.go.dev/github.com/f0x4n6/ffind)
3+
[![Go Report Card](https://goreportcard.com/badge/github.com/f0x4n6/ffind?style=flat-square)](https://goreportcard.com/report/github.com/f0x4n6/ffind)
4+
[![Release](https://img.shields.io/github/release/f0x4n6/ffind.svg?style=flat-square)](https://github.com/f0x4n6/ffind/releases/latest)
55

66
Find forensic artifacts in mount points or the live system.
77

88
```console
9-
go install github.com/cuhsat/ffind@latest
9+
go install github.com/f0x4n6/ffind@latest
1010
```
1111

1212
## Usage
@@ -27,7 +27,7 @@ Available options:
2727
- `-h` Show usage
2828
- `-v` Show version
2929

30-
## Aritfacts
30+
## Artifacts
3131
Supported artifacts for Windows 7+ systems:
3232

3333
- [System Active Directory](https://forensics.wiki/active_directory/)

go.mod

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
module github.com/cuhsat/ffind
1+
module github.com/f0x4n6/ffind
22

3-
go 1.24
3+
go 1.26
44

55
require (
6-
github.com/cuhsat/futils v0.1.4
7-
github.com/mxk/go-vss v1.2.0
6+
github.com/f0x4n6/futils v0.1.6
7+
github.com/mxk/go-vss v1.2.1
88
)
99

1010
require (
1111
github.com/go-ole/go-ole v1.3.0 // indirect
12-
golang.org/x/sys v0.15.0 // indirect
12+
golang.org/x/sys v0.42.0 // indirect
1313
)

go.sum

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,23 @@ github.com/cuhsat/futils v0.1.4 h1:WqmxrqxNj8xU+6eN9FjKoh5hyPTM4owO7PtsyrEgzX0=
22
github.com/cuhsat/futils v0.1.4/go.mod h1:gmXOAkewon3JlY3g+fkCt1NnRyPU+L5Lv3lKBNAANac=
33
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
44
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
5+
github.com/f0x4n6/futils v0.1.5/go.mod h1:KeAOMLgET+KPNWcIptvatVleF9qw336tlD/sXcgcLdQ=
6+
github.com/f0x4n6/futils v0.1.6 h1:ieShshbYYOtPZMwqiMTJPQjBfLtov0DToA0BEYZXbPU=
7+
github.com/f0x4n6/futils v0.1.6/go.mod h1:KeAOMLgET+KPNWcIptvatVleF9qw336tlD/sXcgcLdQ=
58
github.com/go-ole/go-ole v1.3.0 h1:Dt6ye7+vXGIKZ7Xtk4s6/xVdGDQynvom7xCFEdWr6uE=
69
github.com/go-ole/go-ole v1.3.0/go.mod h1:5LS6F96DhAwUc7C+1HLexzMXY1xGRSryjyPPKW6zv78=
710
github.com/mxk/go-vss v1.2.0 h1:JpdOPc/P6B3XyRoddn0iMiG/ADBi3AuEsv8RlTb+JeE=
811
github.com/mxk/go-vss v1.2.0/go.mod h1:ZQ4yFxCG54vqPnCd+p2IxAe5jwZdz56wSjbwzBXiFd8=
12+
github.com/mxk/go-vss v1.2.1 h1:shspH0qgqZ9l5sfIRsXS5BgZXz25/BY+ZQsW0HlD0fM=
13+
github.com/mxk/go-vss v1.2.1/go.mod h1:ZQ4yFxCG54vqPnCd+p2IxAe5jwZdz56wSjbwzBXiFd8=
914
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
1015
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
1116
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
1217
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
1318
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
1419
golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc=
1520
golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
21+
golang.org/x/sys v0.42.0 h1:omrd2nAlyT5ESRdCLYdm3+fMfNFE/+Rf4bDIQImRJeo=
22+
golang.org/x/sys v0.42.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw=
1623
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
1724
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

internal/ffind/ffind.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ import (
77
"runtime"
88
"sync"
99

10-
"github.com/cuhsat/futils/pkg/hash"
11-
"github.com/cuhsat/futils/pkg/sys"
12-
"github.com/cuhsat/futils/pkg/zip"
10+
"github.com/f0x4n6/futils/pkg/hash"
11+
"github.com/f0x4n6/futils/pkg/sys"
12+
"github.com/f0x4n6/futils/pkg/zip"
1313

14-
"github.com/cuhsat/ffind/internal/windows"
14+
"github.com/f0x4n6/ffind/internal/windows"
1515
)
1616

1717
const (
@@ -146,13 +146,13 @@ func (ff *ffind) comp(in <-chan string, out chan<- string) {
146146
defer close(out)
147147
defer ff.wg.Done()
148148

149-
z, err := zip.NewZip(ff.zip, fmt.Sprintf("ffind %s", Version))
149+
z, err := zip.New(ff.zip, fmt.Sprintf("ffind %s", Version))
150150

151151
if err != nil {
152152
sys.Fatal(err)
153153
}
154154

155-
defer z.Close()
155+
defer func() { _ = z.Close() }()
156156

157157
for artifact := range in {
158158
err := z.Write(artifact, ff.path(artifact))
@@ -175,7 +175,7 @@ func (ff *ffind) list(in <-chan string, out chan<- string) {
175175
sys.Fatal(err)
176176
}
177177

178-
defer f.Close()
178+
defer func() { _ = f.Close() }()
179179

180180
w := csv.NewWriter(f)
181181

internal/ffind/ffind_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"slices"
88
"testing"
99

10-
"github.com/cuhsat/futils/pkg/sys"
11-
"github.com/cuhsat/futils/pkg/zip"
10+
"github.com/f0x4n6/futils/pkg/sys"
11+
"github.com/f0x4n6/futils/pkg/zip"
1212
)
1313

1414
var (
@@ -60,7 +60,7 @@ func TestFind(t *testing.T) {
6060
})
6161

6262
if _, err := os.Stat(sysroot); !os.IsNotExist(err) {
63-
os.RemoveAll(sysroot)
63+
_ = os.RemoveAll(sysroot)
6464
}
6565
}
6666
}
@@ -82,7 +82,7 @@ func BenchmarkFind(b *testing.B) {
8282
b.StopTimer()
8383

8484
if _, err := os.Stat(sysroot); !os.IsNotExist(err) {
85-
os.RemoveAll(sysroot)
85+
_ = os.RemoveAll(sysroot)
8686
}
8787
})
8888
}

internal/ffind/list.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ import (
88
"os"
99
"path/filepath"
1010

11-
"github.com/cuhsat/futils/pkg/sys"
11+
"github.com/f0x4n6/futils/pkg/sys"
1212
)
1313

14-
func ShadowCopy(drive string) (dir string, err error) {
14+
func ShadowCopy(_ string) (dir string, err error) {
1515
return "", errors.ErrUnsupported
1616
}
1717

internal/ffind/list_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111

1212
"github.com/mxk/go-vss"
1313

14-
"github.com/cuhsat/futils/pkg/sys"
14+
"github.com/f0x4n6/futils/pkg/sys"
1515
)
1616

1717
const (

0 commit comments

Comments
 (0)