Skip to content

Commit

Permalink
add docker-compose and update readme with some commands
Browse files Browse the repository at this point in the history
  • Loading branch information
breadchris committed Dec 15, 2021
1 parent 4856a51 commit 579472e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
14 changes: 14 additions & 0 deletions tools/log4shell/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,20 @@ A CLI tool for identifying and patching the Log4Shell vulnerability.

## Usage

Scan a directory for known vulnerable Log4j dependencies.

```shell
log4shell scan <dir>
```

Run a Live Patch server.

```shell
log4shell livepatch
```

## Building

```
docker build . -t log4shell
docker run --network=host log4shell
Expand Down
6 changes: 3 additions & 3 deletions tools/log4shell/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
version: '3'
services:
hotpatch:
image: lunasec/log4shell:1.1.0
image: lunasec/log4shell:1.2.0
restart: always
command: --verbose hotpatch --ip hotpatch.log4shell.com
command: --verbose livepatch --payload-url http://patch.log4shell.com:80/
ports:
- 1389:1389
- 8000:8000
- 80:80

0 comments on commit 579472e

Please sign in to comment.