Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
j3ssie committed Sep 24, 2020
1 parent 6179326 commit db61190
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM golang:1.14.4-buster as builder
RUN GO111MODULE=on GOOS=linux go get -v -ldflags "-linkmode external -extldflags -static" github.com/jaeles-project/jaeles
FROM golang:1.14-buster as builder
RUN GO111MODULE=on GOOS=linux go get -ldflags "-linkmode external -extldflags -static" github.com/jaeles-project/jaeles

FROM alpine:latest
WORKDIR /
COPY --from=builder /go/bin/jaeles /bin/jaeles
RUN jaeles config init
EXPOSE 5000
ENTRYPOINT ["/bin/jaeles"]
RUN jaeles config init -y
ENTRYPOINT ["/bin/jaeles"]
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
![Architecture](https://github.com/jaeles-project/jaeles-plugins/blob/master/imgs/jaeles-architecture.png?raw=true)

## Installation

Download [precompiled version here](https://github.com/jaeles-project/jaeles/releases).

If you have a Go environment, make sure you have **Go >= 1.13** with Go Modules enable and run the following command.
Expand Down Expand Up @@ -51,6 +52,13 @@ Please visit the [Official Documention](https://jaeles-project.github.io/) for m

More usage can be found [here](https://jaeles-project.github.io/usage/)

## Run with Docker

```shell
docker pull j3ssie/jaeles
docker run j3ssie/jaeles scan -s '<selector>' -u http://example.com
```

## Showcases

| ![apache-status.png](https://github.com/jaeles-project/jaeles-plugins/blob/master/imgs/apache-status.png?raw=true) [**Apache Server Status**](https://youtu.be/nkBcIvzi3H4) | ![tableau-dom-xss.png](https://github.com/jaeles-project/jaeles-plugins/blob/master/imgs/tableau-dom-xss.png?raw=true) [**Tableau DOM XSS CVE-2019-19719**](https://youtu.be/EG7Qmt8kt58) |
Expand Down
3 changes: 2 additions & 1 deletion cmd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ func runConfig(cmd *cobra.Command, args []string) error {
}
}
}
core.UpdatePlugins(options)
core.UpdateSignature(options)
reloadSignature(options.SignFolder, options.Config.SkipMics)
break
case "update":
Expand All @@ -100,7 +102,6 @@ func runConfig(cmd *cobra.Command, args []string) error {
}
}
}

core.UpdatePlugins(options)
core.UpdateSignature(options)
reloadSignature(path.Join(options.RootFolder, "base-signatures"), options.Config.SkipMics)
Expand Down

0 comments on commit db61190

Please sign in to comment.