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

Commit

Permalink
*: fix typos and specify Go 1.17 requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
ericchiang committed Jan 5, 2022
1 parent 978077f commit 73b8540
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ A log4j vulnerability filesystem scanner and Go package for analyzing JAR files.

## Installing

Pre-compiled binaries are available as [releases assets][releases].
Pre-compiled binaries are available as [release assets][releases].

To install from source with an existing [Go][go] installation, either use
[go install][go-install]:
To install from source with an existing [Go][go] v1.17+ installation, either
use [go install][go-install]:

```
go install github.com/google/log4jscanner@latest
Expand Down Expand Up @@ -75,7 +75,7 @@ $ sudo log4jscanner --skip '/data/*' /
```

For heavy customization, such as reporting to external endpoints, much of the
tool's logic is exposed throught the [`jar.Walker`][jar-walker] API.
tool's logic is exposed through the [`jar.Walker`][jar-walker] API.

[jar-walker]: https://pkg.go.dev/github.com/google/log4jscanner/jar#Walker

Expand Down Expand Up @@ -113,7 +113,7 @@ func main() {

result, err := jar.Parse(&rc.Reader)
if err != nil {
log.Fatalf("parzing zip file: %v", err)
log.Fatalf("parsing zip file: %v", err)
}
if result.Vulnerable {
fmt.Println("File is vulnerable")
Expand Down
2 changes: 1 addition & 1 deletion examples/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func main() {

result, err := jar.Parse(&rc.Reader)
if err != nil {
log.Fatalf("parzing zip file: %v", err)
log.Fatalf("parsing zip file: %v", err)
}
if result.Vulnerable {
fmt.Println("File is vulnerable")
Expand Down

0 comments on commit 73b8540

Please sign in to comment.