Skip to content

Commit

Permalink
Merge pull request #375 from lunasec-io/osx-log4shell
Browse files Browse the repository at this point in the history
better osx instructions
  • Loading branch information
freeqaz committed Dec 20, 2021
2 parents d6a8fa4 + a414f0a commit 62dc0e9
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions docs/blog/2021-12-12-log4j-zero-day-mitigation-guide.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,19 @@ it and run the `log4shell` command in your terminal. The tool can scan individu



**OSX or Linux**
```shell title="Example *nix Command"
**Linux**
```shell title="Example Linux Command"
log4shell scan your-project-dir/
```

**OSX**
```shell title="Example OSX Commands"
# Replace `<PATH_ON_YOUR_MACHINE>` with your path, eg: `~/Downloads`
cp <PATH_ON_YOUR_MACHINE>/log4shell_1.4.1-log4shell_Darwin_x86_64 /usr/local/bin/log4shell
chmod +x /usr/local/bin/log4shell
log4shell scan your-project-dir
```

**Windows**
```shell title="Example Windows Command"
log4shell.exe scan your-project-dir/
Expand Down

0 comments on commit 62dc0e9

Please sign in to comment.